🧪

Test Data Generator

Generate realistic fake records for testing and QA. Define a field schema, pick data types — UUID, email, name, phone, date, and more — set a row count, and export as JSON or CSV. 100% client-side and free.

Data ToolsDevelopment
Loading tool...

How to Use Test Data Generator

How to Use the Test Data Generator

Step 1: Load a Preset or Define Your Schema

Start from a preset schema (User Accounts, Orders, Support Tickets, Employees) or build your own from scratch. Presets provide a ready-to-use field structure — click any preset button to load it into the schema builder immediately.

Step 2: Define Your Fields

Each row in the schema builder represents one field in your output records. Enter a field name (e.g., user_id, email, created_at) and pick a data type from the dropdown. You can add as many fields as needed using the Add Field button, or remove fields with the trash icon.

Step 3: Choose a Data Type for Each Field

Supported types include:

  • UUID — generates a unique UUID v4 string
  • Integer — sequential integers starting from 1 (ideal for auto-increment IDs)
  • Float — random decimal numbers between 1.00 and 999.99
  • Boolean — random true or false
  • First Name / Last Name / Full Name — realistic names from a built-in pool
  • Username — lowercase first_last + number (e.g., alice_smith42)
  • Email — realistic email addresses (e.g., alice.smith@example.com)
  • Phone — US-format phone numbers: (NNN) NNN-NNNN
  • Company — company names from a built-in pool
  • URL — realistic HTTPS URLs with paths
  • IP Address — random IPv4 addresses
  • Date — random dates between 2020 and 2025 in ISO format (YYYY-MM-DD)
  • Word — a single lowercase word from a built-in wordlist
  • Paragraph — a Lorem Ipsum sentence of 10–20 words

Step 4: Set the Number of Rows

Enter a row count between 1 and 500. For quick manual testing, 5–10 rows is typically enough. For seeding a database or stress-testing an import pipeline, use 100–500 rows.

Step 5: Generate

Click Generate Data. The tool immediately builds all records in your browser and displays the output. Both JSON and CSV formats are generated simultaneously — no need to regenerate to switch formats.

Step 6: Switch Between JSON and CSV

Use the JSON / CSV toggle in the output panel to switch views. JSON output is a formatted array of objects. CSV output includes a header row followed by one row per record, with values properly quoted if they contain commas.

Step 7: Copy or Download

Click Copy to copy the current format to your clipboard, or Download to save the file as test-data.json or test-data.csv. Downloaded files are ready to import into databases, REST clients, spreadsheets, or test fixtures.

Step 8: Reset

Click Reset to restore the default 3-field schema (id, full_name, email) and clear all generated output.

Common Use Cases:

  • Database seeding: Populate dev/staging databases with realistic records
  • API testing: Generate request payloads or mock response bodies
  • UI development: Create sample data to fill tables, lists, and cards in the browser
  • Import testing: Verify CSV import pipelines with edge cases and varied values
  • Load testing: Generate large datasets for performance benchmarks
  • QA fixtures: Create test fixture files for unit and integration tests
  • Prototyping: Quickly populate a new schema with realistic-looking data
  • Demo environments: Seed a demo database with safe, non-real records

Tips and Best Practices:

  • Use UUID for primary keys to ensure uniqueness across generated rows
  • Integer type generates sequential values (1, 2, 3…) — good for auto-increment IDs
  • Field names are used as JSON keys and CSV headers — use snake_case for database compatibility
  • Load a preset first, then add or remove fields to customize it
  • Paragraph fields work well for description, bio, or notes columns
  • Boolean fields are randomly true or false — useful for testing conditional UI states
  • Generate 5–10 rows first to verify the schema looks right, then increase to the full count
  • CSV output quotes values containing commas automatically
  • All data is synthetic — safe to use in demos, screenshots, and documentation

Frequently Asked Questions

Most Viewed Tools

📺

Screen Size Converter

1,620 views

Calculate screen width and height from diagonal size and aspect ratio. Convert between inches and centimeters for displays, TVs, and monitors with instant dimension calculations.

Use Tool →
🔀

Reorder PDF Pages

600 views

Drag and drop to rearrange PDF pages in any order. Upload your PDF, preview all pages as thumbnails, drag pages to reorder them, and download the rearranged PDF. Fast, visual, and privacy-focused.

Use Tool →
🖨️

DPI Calculator

569 views

Calculate DPI (dots per inch), image dimensions, and print sizes. Convert between pixels and physical dimensions for printing and displays.

Use Tool →
📄

Paper Size Converter

512 views

Convert between international paper sizes (A4, Letter, Legal) with dimensions in mm, cm, and inches. Compare ISO A/B series and North American paper standards.

Use Tool →

Fuel Consumption Converter

406 views

Convert between MPG (miles per gallon), L/100km (liters per 100 kilometers), and other fuel efficiency units. Compare car fuel economy across different measurement systems.

Use Tool →
✂️

CSV Splitter

362 views

Split large CSV files into smaller files by number of rows. Process large datasets in manageable chunks instantly.

Use Tool →
🛍️

Product Schema Generator

331 views

Generate JSON-LD Product schema markup for SEO. Add product details like name, price, brand, rating, and availability to create structured data for rich search results.

Use Tool →
📄

Large Text File Viewer

309 views

View and search large text files up to 200MB in your browser. Features virtual scrolling, line numbers, search functionality, and file statistics. Perfect for log files, CSV, JSON, and code files.

Use Tool →

Related Development Tools

📱

QR Code Generator

Featured

Create custom QR codes for URLs, text, and contact info

Use Tool →
🔄

YAML to JSON Converter

Convert YAML data to JSON format instantly. Supports nested objects, arrays, and multi-level structures. Output as pretty-printed or minified JSON. 100% client-side and free.

Use Tool →
🗂️

Parquet to CSV Converter

Convert Apache Parquet files to CSV format instantly in your browser. No uploads, no server — all processing is 100% client-side.

Use Tool →
🎨

CSS to SCSS Converter

Convert plain CSS to SCSS/Sass instantly. Automatically nests child selectors under their parents, extracts repeated hex colors as $variables, and preserves @media blocks — no server required.

Use Tool →
🟣

Kotlin Formatter

Format Kotlin code instantly in your browser. Fix indentation, enforce opening-brace-on-same-line style, and add trailing commas to function parameters and class bodies — no server required.

Use Tool →
💎

Ruby Formatter

Format and clean up Ruby code instantly in your browser. Fix indentation, align end blocks, and normalize string quotes — no server required.

Use Tool →
🪙

XML to TOON Converter

Convert XML to TOON (Token Oriented Object Notation) and reduce LLM token usage. XML is the most verbose format — savings can exceed 50%. Free, browser-based.

Use Tool →
🦀

Rust Formatter

Format Rust code instantly in your browser. Fix indentation, enforce opening-brace-on-same-line style, and add trailing commas to structs and enums — no server required.

Use Tool →

Share Your Feedback

Help us improve this tool by sharing your experience

We will only use this to follow up on your feedback