Mock Data Generator — JSON, CSV, SQL & More
Generate realistic fake test data in 14 formats from 100+ field types, with reproducible seeds.
To generate mock data, pick a ready-made schema such as users, orders or products — or define your own columns from over 100 field types — then choose how many rows and which format. Output is available as JSON, CSV, SQL, XML, YAML, TypeScript and more, generated entirely in your browser.
Runs in your browser- Field types
- 97 across identity, contact, location, commerce, finance, dates, text and tech
- Output formats
- 14 — JSON, NDJSON, CSV, TSV, XML, YAML, SQL, Markdown, HTML, TypeScript, JavaScript and Python
- Maximum rows
- 5,000 per run
- Reproducible
- Seeded — the same seed always returns the same dataset
- Privacy
- Runs entirely in your browser — nothing is uploaded
- Cost
- Free, unlimited, no sign-up
Frequently asked questions
Is the generated data reproducible?
Are the rows internally consistent?
Can I use this data in production?
How many rows can I generate?
How to use the mock data generator
- 1Choose the data shape.
- 2Add each custom fields as a key and value pair.
- 3Set the number of rows.
- 4Choose the output format.
- 5Choose the locale.
- 6Enter or paste your table / root name.
- 7Enter or paste your seed.
- 8Set the empty / null values.
- 9Set the first sequential id.
- 10Enter or paste your wrap array in a key.
- 11The result appears immediately — copy or download it.
Embed this tool
Put the working mock data generator on your own site. It runs in your visitors' browsers exactly as it does here — free, no account, nothing uploaded.
Share this tool
Related tools
Data Format ConverterConvert between JSON, YAML, XML, CSV, TSV and TOML in any direction, locally in your browser.Sample Dataset GeneratorDownload ready-made sample datasets — users, orders, products, transactions — as CSV, JSON, SQL or Excel-ready TSV.Wrap Lines in Quotes or BracketsAdd a prefix and suffix to every line and join them — build SQL IN lists, arrays and CSV rows.Sample File GeneratorCreate valid test files of an exact size in 22 formats — text, data, code, images, audio, PDF and ZIP.CSV Column ExtractorPull selected columns out of a CSV by name or position, and reorder them.Sample JSON GeneratorTurn a JSON Schema into realistic sample documents, respecting types, enums, formats and constraints.
Last updated
More samples & mock data