Skip to content
hateitall

Mock Data Generator

Fill a database, a demo or a test suite with believable records that never belong to a real person.

Processed locallyIn: Field listOut: JSON, JSON lines, CSV, SQL, TypeScript

Loading tool…

How to use mock data generator

  1. Pick a starting point: users, orders, products, employees or addresses.

  2. Rename, add or remove fields and choose a type for each, with ranges, lists and an empty percentage.

  3. Set the number of rows and a seed. The same seed always gives the same data.

  4. Choose JSON, JSON lines, CSV, SQL or TypeScript, then copy or download.

What this tool does

  • 36 field types, from UUIDs and names to prices, dates, coordinates, colours and your own list of choices.
  • Names, emails and cities agree within a row, so a record reads like one person.
  • Up to 10,000 rows, generated on your device with a seeded generator so results are repeatable.
  • SQL output includes a CREATE TABLE with sensible column types for PostgreSQL, MySQL, SQLite or SQL Server.

How the result is verified

Every output is read back before you download it: JSON and JSON lines are parsed, CSV is re-read cell by cell, SQL literals are decoded and the TypeScript data block is parsed, then each is compared with the generated rows.

Frequently asked questions

Could a generated email or phone number reach a real person?

No. Emails use example.com, example.net and example.org, which are reserved for documentation. Phone numbers use the 555-0100 to 555-0199 range set aside for fiction, and IP addresses come from the documentation ranges.

How do I get the same data again tomorrow?

Keep the seed and the field list the same. The generator is deterministic, so the same seed and fields always produce identical rows on any device.

Is my data uploaded to a server?

No. Everything you drop, paste or type is processed by code running in this browser tab. You can check it yourself: open your browser's developer tools, watch the Network panel, and use the tool. No request carries your data.

Fake JSON records from your own field list, seeded and repeatable

Field list→ JSONLight on device

Fake CSV datasets from your own columns, with any delimiter

Field list→ CSVLight on device

Batched INSERT statements from pasted CSV or JSON

CSV · JSON→ SQLLight on device

TypeScript interfaces from a JSON sample, with optional keys

JSON→ TypeScriptLight on device

Beautify or minify JSON with your choice of indentation

JSON→ JSONLight on device