Every test system eventually needs people who do not exist. Forms need names and emails, checkout flows need addresses, demos need a table that looks alive. The quickest source is the production database. It is also how real people's details end up in the least protected system a company owns, one screenshot or test email away from escaping.
The alternative is fabricated data: records invented on the spot, clearly fictional, safe to share and lose. This guide compares the two honestly, using the free Fake Data Generator on Ovatly as the working example.
Contents
- Quick answer
- What the two kinds of test data actually are
- Where fabricated data wins: safety and speed
- Where fabricated data loses: edge cases and realism
- Shape, not biography: what most tests really need
- The exceptions that want production-like data
- How to generate fake test data, step by step
- Worked example: one record, read closely
- Limitations and honest tradeoffs
- Common mistakes
- FAQs
- Conclusion
- References
Quick answer
For form testing, flow testing, demos and screenshots, use fabricated data: it is instant, shareable and cannot harm a real person, because its emails sit on reserved domains and its phone numbers in a fictional range. Use production-like data only when the test is specifically about real-world variety, such as surviving the longest real names, and even then build it by hand rather than copying real records. The Fake Data Generator makes clearly fictional people records in your browser, up to 200 at a time, downloadable as CSV or JSON.
What the two kinds of test data actually are
Realistic test data starts from reality: copied from production or modelled closely on it, with the mess real data has, long names, unusual addresses, gaps, duplicates and history. That mess is what makes it useful, and what makes it dangerous to move around.
Random fabricated data starts from word lists. A generator combines invented names, streets and companies into records with the right fields in the right formats, but no connection to any real person. Nothing about them was ever true, which is the entire point.
Where fabricated data wins: safety and speed
Safety first. The generator's email addresses use only example.com, example.org and example.net. Those domains are reserved and can never be registered, so a test email sent to a generated address reaches nobody. Phone numbers sit in the fictional 555-01XX range, a block set aside for numbers that belong to no subscriber. A leaked screenshot of fabricated data embarrasses nobody.
Speed second. Fabricated records take seconds: pick a count, tick the fields, generate, with no approval to request and no anonymisation pass to run. When a test needs fifty users right now, fabricated data is the only option that arrives right now.
Where fabricated data loses: edge cases and realism
The honest weakness is depth. The records are fabricated from small built-in word lists, so names repeat across large batches and combinations can look odd. A test that depends on subtle realism will not find it here. Address deliverability checks, country-specific formatting, names with characters outside plain English letters: fabricated data exercises none of that. The phone numbers are North American only and the records are deliberately simple.
Fabricated data also has no history. Real records arrive with duplicates and half-finished signups, and a migration test fed only on clean invented records will pass beautifully and still fail on the real thing.
Shape, not biography: what most tests really need
Most testing never touches the content of a record at all. A signup form needs an email-shaped string in the email field, a name-shaped string in the name field, and a phone number the field will accept. A table layout needs rows that fill the columns. In each case the test is about shape: field formats, lengths, counts and combinations. The biography behind the record, who this person supposedly is, contributes nothing.
That is why fabricated data covers most everyday testing. The test does not care whether the user is real; it cares whether the record is well formed, and invented records are well formed by construction.
The exceptions that want production-like data
A few tests genuinely are about real-world variety: checking that a layout survives the longest real names, that an import handles the strange encodings already in your database, that a report reads sensibly with real product names. Fabricated data serves those tests badly.
But notice what the exception actually needs: variety, not identity. A handful of hand-built records with long names and awkward characters gives the test its variety without a single real person. The exception justifies crafting data carefully, never copying the customer table.
How to generate fake test data, step by step
- Open the Fake Data Generator and choose how many records you need, up to 200 in one run.
- Tick the fields your test actually uses, and leave unticked anything it does not touch.
- Click Generate test records and check the shape: right columns, plausible lengths, no real-looking contact details.
- Download the records as CSV or JSON, or copy the rows into your test system. Download rather than regenerate if the test needs the identical dataset again, because nothing is stored.
Worked example: one record, read closely
Here is a record the generator produces: Nina Notreal, [email protected], +1 555-0112, 48 Placeholder Boulevard, Anytown, username nina_notreal69, company Demo Works LLC.
Read it the way a tester should. The email ends in example.net, a reserved domain, so no message can ever reach a real inbox. The phone number sits in the 555-01XX fictional range. Every field has the correct shape for a form or an import, and every field is openly invented. If this record appears in a screenshot or a bug report, nobody has been exposed. That combination, correct shape and zero real content, is what fabricated data is for.
Limitations and honest tradeoffs
The generator deliberately produces no credit cards and no ID numbers, so it cannot help with payment or identity flows; those belong in the provider's sandbox. Phone numbers are North American only. Names repeat across large batches, and any resemblance to a real person is coincidence: records are assembled from word lists with cryptographic randomness and never stored. Records are generated fresh with no seed, so an exact dataset cannot be reproduced unless you downloaded it.
Common mistakes
- Copying production data because it is realistic. The realism is not worth the exposure; hand-build the few edge-case records a test genuinely needs.
- Treating fabricated data as proof a flow handles real data. Clean invented records cannot reveal problems that only messy real data causes.
- Generating card or ID numbers from random tools. Use the payment provider's sandbox and its published test numbers instead.
- Regenerating instead of downloading. With no seed or save feature, a regenerated batch is a different dataset.
- Leaving test records unlabelled. Even fictional data should be marked as test data, so nobody mistakes it for real customers.
FAQs
What is the difference between realistic and random test data? Realistic test data is copied or modelled on real records, so it carries real variety and real risk. Random fabricated data is invented on the spot from word lists: safe and fast, but shallower, with repeated names and odd combinations. The first risks real people; the second risks missing an edge case.
Is it safe to copy real customer records into a test system? No. A test system is usually less protected than production, shared with more people and kept longer. Copying real names, emails and phone numbers into it exposes real people to a system never built to guard them, and a test message sent to a real address reaches a real person.
Why do the generated names and addresses repeat? The records are fabricated from small built-in word lists, so across a large batch the same names and streets come round again, and combinations can look odd. That is fine for testing and useless for impersonation, which is the point: the data is designed to be obviously fictional.
Can generated test data include credit card or ID numbers? No, and deliberately so. The generator never produces credit cards or ID numbers. Payment testing belongs in the payment provider's sandbox, using the test numbers the provider publishes for that purpose.
Can I keep a generated dataset and reuse it later? Yes, by downloading it. The generator has no seed or save feature and stores nothing, so each visit starts fresh. Download the records as CSV or JSON and keep the file if a test needs the same dataset twice.
Conclusion
Fabricated data wins wherever the test needs shape: forms, flows, demos and screenshots, which is most testing. Realistic data wins only in the narrow band of tests about real-world variety, and even those are better served by hand-built edge cases than by real records. For the everyday majority, generate the records with the Fake Data Generator, download the batch your test used. When the job grows to thousands of submissions, our companion guide on making fake data for load testing a form covers the honest way to build volume. More guides in this series live in our Security and Privacy Utilities guides.
References
- RFC 2606, on the reserved example.com, example.org and example.net domains that can never be registered: https://www.rfc-editor.org/rfc/rfc2606
- North American Numbering Plan, on the fictional 555-0100 to 555-0199 range reserved for entertainment and testing use: https://www.nationalnanpa.com/