Test data travels. It goes into screenshots on bug reports, client demos, staging databases shared with contractors, and spreadsheets emailed around the team. Every time it moves, someone may treat it as real: a support agent phones a test customer, a marketer mails a test segment, or a real customer's details get mistaken for dummy data and handled carelessly.
A label stuck on the outside does not survive that journey. Export the rows or take the screenshot, and the label is gone. The reliable approach is data that labels itself, where every record is recognisable as fictional from its own contents. This guide shows how to produce that kind of data with the free Fake Data Generator on Ovatly, and how to keep it separate from the real thing.
Contents
- Quick answer
- Why a label on the file is not enough
- The three marks that travel with the data
- How to generate labelled test data, step by step
- Worked example: reading one generated record
- Keep the dataset separate after you generate it
- Limitations and honest tradeoffs
- Common mistakes
- FAQs
- Conclusion
- References
Quick answer
Generate your test records instead of copying real ones. Open the Fake Data Generator, choose the record count (up to 200), tick the fields you want, and download the result as CSV or JSON. Every email address sits on example.com, example.org or example.net, domains that can never be registered. Every phone number falls in the fictional 555-01XX range. Save the download as its own file with test in the name, and never mix the rows into a real export.
Why a label on the file is not enough
Most teams label test data at the container level: a database called staging, a spreadsheet called customers-test.xlsx, a folder marked dummy. That works only while the data stays inside the container. Once rows are copied into a ticket, slide deck or chat message, the container is stripped away and the rows stand alone.
Rows that stand alone have to speak for themselves. A row reading "Sarah Mitchell, [email protected], +1 212 674 0147" says nothing about whether Sarah exists. A row reading "Nina Notreal, [email protected], +1 555-0112, 48 Placeholder Boulevard, Anytown" announces itself in every field. That is the standard to aim for.
The three marks that travel with the data
The generator builds three safeguards into every record it produces.
Reserved email domains. Email addresses use only example.com, example.org and example.net. These domains are reserved and can never be registered, so test mail can never land in a real inbox and a test address can never collide with a real account. The domain matters more than the name in front of it: an invented name on a real domain can still be somebody's mailbox.
Fictional phone numbers. Numbers come from the 555-01XX range, the block set aside for fictional use in North America. Such a number belongs to no real subscriber, so a misdialled test call reaches nobody, and anyone who works with North American numbers recognises the pattern on sight.
Visibly invented names and places. Records are fabricated from small built-in word lists chosen to read as placeholders, like Placeholder Boulevard and Anytown. The point is not realism: anyone glancing at the record immediately sees it is made up.
How to generate labelled test data, step by step
- Open the Fake Data Generator and set the record count, up to 200 in one run.
- Tick the fields your test needs: names, emails, phone numbers, addresses, usernames, companies. Leave out the rest.
- Click Generate test records and scan a few rows: emails on example domains, numbers in the 555 range.
- Download the set as CSV or JSON, or copy the rows if you only need a handful. Name the file for what it is, such as test-customers-200.csv.
- Load the file into your test environment as it stands. If you need the identical records again, reuse the same file rather than generating a new set.
Worked example: reading one generated record
Here is one record from the generator, read field by field:
Name: Nina Notreal
Email: [email protected]
Phone: +1 555-0112
Address: 48 Placeholder Boulevard, Anytown
Username: nina_notreal69
Company: Demo Works LLC
Every field carries a mark. The surname Notreal is plainly invented. The email domain, example.net, can never be registered, so the address can never reach a real inbox. The phone number, 555-0112, sits inside the fictional 555-01XX range. The street is Placeholder Boulevard in Anytown, and the company is Demo Works LLC. Put this record in a screenshot or database dump, and nobody needs a caption to know it is test data.
Keep the dataset separate after you generate it
Self-labelling records are the first layer; file discipline is the second.
Keep the downloaded CSV or JSON as its own file, with test in the name, in a fixtures folder. Do not paste generated rows into a live customer export, because the file is then a mixture and nobody can say which rows are safe to mail, call or delete. When a test needs more records, generate a second file instead of editing the first.
Guard the file: the generator stores nothing and has no seed or save feature, so a set cannot be reproduced by rerunning the tool. The download is the dataset; lose it, and the replacement set will contain different people.
Limitations and honest tradeoffs
The phone numbers are North American only, because the 555-01XX fictional range is a North American convention. If your product serves other countries, the numbers will look foreign to your testers, and the generator offers no fictional range for other regions.
The records are fabricated from small built-in word lists, so across a large batch the same names recur, and combinations can look odd: a company name paired with an implausible street, the same surname three times in fifty rows. For forms, imports and layouts that is fine. It does mean the data is useless for impersonation or simulating a realistic customer base, which is by design.
The generator deliberately produces no credit card numbers and no ID numbers. If a checkout test needs a card, that has to come from your payment provider's own test facilities, not from a data generator. Any resemblance to a real person is coincidence: records are assembled from word lists, not drawn from a real database, though a common name can coincide with someone real. The example domain and 555 number keep such a record harmless.
Common mistakes
- Anonymising real records by hand. Swapping names in a real export still leaves real data in your system, and one missed field, a phone number or address line, exposes a real person. Generate fictional records instead.
- Inventing addresses on real domains. A made-up name at gmail.com or your own company domain may be a real mailbox. Only the reserved example domains are guaranteed undeliverable.
- Mixing generated rows into real data. Once test rows sit inside a live export, nobody can tell them apart at a glance, and the self-labelling is lost.
- Regenerating instead of reusing the file. Each run produces fresh records. If a test depends on specific rows, work from the download, not a new run.
- Trusting looks over marks. Judge by the marks: example domain, 555-01XX number, invented place names. A record without those marks is not cleared as test data.
FAQs
Why not just rename a spreadsheet of real customers and use that for testing? Because the real data is still underneath. Miss one field, such as a phone number or address line, and a real person's details end up in screenshots, demos and test databases. Generated records start fictional, so there is nothing real to leak.
What makes an email address safe to use in test data? The domain. example.com, example.org and example.net are reserved and can never be registered, so mail to them can never reach a real person. An invented name on a real domain, such as gmail.com, is not safe: that mailbox might belong to someone.
Are the phone numbers in generated records real? No. They use the 555-01XX range, which is set aside for fictional use in North America, so the numbers do not belong to real subscribers.
How do I keep a generated dataset for later? The generator does not store records and has no seed or save feature, so each run produces a fresh set. Download the CSV or JSON, name the file as test data, and reuse that file whenever you need the same records.
Can generated test data include payment details? No. The generator deliberately produces no credit card numbers and no ID numbers. The fields are names, emails, phone numbers, addresses, usernames and companies only.
Conclusion
Labelling test data works when the label is a property of the records themselves: reserved example domains that can never receive mail, 555-01XX numbers that belong to nobody, and names and places that read as invented. Generate the records with the Fake Data Generator, keep the download as its own named file, and the data stays safe to screenshot, share and store. The companion piece in this series, MD5 explained: what it is still used for and what it is not, covers another tool whose limits are widely misunderstood. For more, see the Security and Privacy Tools guides.
References
- RFC 2606, on the reserved example.com, example.org and example.net domains: https://www.rfc-editor.org/rfc/rfc2606
- Wikipedia, on the fictional 555 telephone number range: https://en.wikipedia.org/wiki/555_(telephone_number)