Developer / Free browser tool
Test Data Generator for Tables and APIs
Pick the columns, choose a seed and a format, and get a table of fictional people to paste into a fixture. The seed is the whole state: same seed, same output.
No account or install. Tool input is processed on your device.
1 to 500. Default is 25.
SQL targets a table called test_data.
Same seed plus the same settings gives byte-identical output.
Generating the first table.
Fictional data, generated in this tab. Names and companies are invented, emails use the reserved example.com, example.net and example.org domains, and phone numbers use the 555-0100 block. Never use the output as real personal data.
About this tool
Generate fictional rows for database fixtures, table layouts and API tests. Names come from fixed lists, the CSV writer quotes fields containing commas, quotes or line breaks, the SQL writer escapes apostrophes, and UUIDs include the version 4 and variant bits.
The seed makes the output reproducible. Seed text initializes a mulberry32 generator, and every value is drawn in a fixed order. The same seed, columns, row count and format produce the same output on a later run, which makes fixtures easier to compare in a diff.
Dates use a fixed anchor rather than the current date, so output does not change at midnight. The anchor and date window are documented on this page.
What is deterministic, and what is not
Rows, names, prices, dates and ids all come from the seeded stream. The id column is the row number, starting at 1. Every row draws all thirteen fields in a fixed order, so unticking a column removes it without changing the values in the remaining columns. Changing the seed or the row count does change the stream, which is why the seed is printed next to the output.
There is no timestamp, hostname or random suffix in the result, so two runs can be compared with diff. It also means the data is not unique across sessions: two people using the seed bench get the same table, which is what a fixture needs and never what a password needs.
CSV and SQL escaping
The CSV output has a header row, quotes fields that contain commas, double quotes or line breaks, and doubles embedded quotes. Rows end with CRLF, which is the RFC 4180 convention that spreadsheet importers expect. The SQL output is one INSERT per row against a table called test_data, with strings in single quotes, embedded apostrophes doubled, and booleans as TRUE or FALSE.
Neither format infers types from the text. Price is a number with at most two decimal places, the date is an ISO 8601 date, and the boolean column is a real boolean in JSON rather than the string "true".
Every value is fictional and built from word lists in this page. Names and companies are invented, emails use reserved example domains, and phone numbers sit in the 555-0100 block reserved for fiction. Do not treat the output as real personal data.
How it works
Choose columns and rows
Thirteen fields are available and the row count runs from 1 to 500. Twenty-five rows of JSON is about 6 KB.
Set the seed
Any text works, including spaces and punctuation. The seed is case-sensitive and is repeated in the status line so a fixture can be regenerated later.
Copy or download
JSON downloads as test-data.json, CSV as test-data.csv, SQL as test-data.sql. The line count sits above the code block.
Common questions
Can I use this data in a real database?
In a development or staging database, yes. Do not put it in production: the email domains are reserved by RFC 2606 and can never receive mail, and the names are invented.
How do I reproduce a specific row set?
Keep the seed, the row count, the field selection and the format. The seed is printed in the status line so it can be copied into a fixture comment.
Are the email addresses deliverable?
No. Every address is on a reserved example domain. The local part is built from the generated first and last names, and duplicates inside one run get a numeric suffix.
Why is the id column sequential?
Because a fixture usually needs a stable primary key. A random id would make the output harder to read and diff. The id is the row number, so it always runs from 1 to the row count.
Is Math.random used anywhere?
No. Every value comes from mulberry32 seeded by the seed text. Math.random would make the output irreproducible, which defeats the purpose of a fixture.
Related tools
JSON formatter
Paste JSON to indent it, compress it, sort its keys or find out why it will not parse. The output is built with JSON.parse and JSON.stringify, so it matches what a JavaScript runtime sees.
Base64 converter
Two directions, converted as you type. Invalid characters, impossible lengths and bytes that are not valid UTF-8 are reported rather than turned into plausible-looking rubbish.
Timestamp converter
Paste an epoch value and read it six ways, or turn a date into seconds and milliseconds. The unit is detected, but never guessed silently.