Test Data Generator

Schema Builder

What This Tool Does

Test Data Generator is built for deterministic developer and agent workflows.

Generate realistic test data in JSON, CSV, and SQL — names, emails, addresses, and 25+ types with custom schemas.

Use How to Use for execution steps and FAQ for constraints, policies, and edge cases.

Last updated:

This tool is provided as-is for convenience. Output should be verified before use in any production or critical context.

Agent Invocation

Best Path For Builders

Browser workflow

Runs instantly in the browser with private local processing and copy/export-ready output.

Browser Workflow

This tool is optimized for instant in-browser execution with local data handling. Run it here and copy/export the output directly.

/test-data-generator/

For automation planning, fetch the canonical contract at /api/tool/test-data-generator.json.

How to Use Test Data Generator

  1. 1

    Define data schema

    Specify the structure: field names, types (string, number, email, UUID, date, boolean), and constraints (min/max length, format patterns like phone numbers or addresses).

  2. 2

    Choose output format

    Generate test data as JSON (single objects or arrays), CSV (spreadsheet-friendly), or SQL INSERT statements (directly loadable into databases). Pick the format your test setup needs.

  3. 3

    Generate realistic data

    The tool uses faker libraries to create realistic values: actual-looking names, emails, phone numbers, addresses, dates, and numbers within ranges. Not random garbage.

  4. 4

    Download and load into tests

    Export the generated data and load it into your test database or mock API. Use it for load testing, UI testing, or integration tests where you need realistic sample data at scale.

Frequently Asked Questions

What data types can I generate?
20+ types including first/last/full names, emails, phones, addresses, cities, countries, UUIDs, dates, numbers, booleans, paragraphs, sentences, URLs, IP addresses, companies, and job titles.
Can I generate nested JSON?
Yes, add fields of type Object to create nested structures with sub-fields. Arrays of objects are also supported for generating realistic relational data.
What output formats are supported?
JSON (array of objects), CSV (with proper escaping), and SQL INSERT statements for PostgreSQL and MySQL with correct quoting and date formatting.
How many records can I generate?
Up to 1,000 records in the browser. For each record, all fields are independently randomized using cryptographic random values for quality randomness.
Is the data realistic?
Yes, names and locations are drawn from curated dictionaries. Emails are derived from generated names for consistency. Phone numbers and addresses follow realistic formats.