UK Test Data Generator

Realistic UK people, addresses and contact details for filling test databases, demos and forms, made only from values that are reserved for examples, so they can never reach a real person.

All of this data is made up. Emails use example.com, .org and .net, which can't receive mail. Phone numbers come from Ofcom's ranges kept for TV and drama. Card numbers are payment providers' published test cards, which only work in test mode. Use it for testing only, never to pretend to be someone.

Fields

Preview

Export

Why these values are safe

  • Emails only use example.com, example.org and example.net, which are reserved for documentation (RFC 2606) and don't accept mail.
  • Phone numbers come from the ranges Ofcom keeps for TV and radio drama, such as 07700 900xxx and 020 7946 0xxx, and won't be given to real customers. Landlines match the town: Leeds numbers for Leeds, 01632 960xxx for places without their own range.
  • Addresses use made-up street names with real towns and a postcode in the town's real postcode area. The postcodes have a valid format, but most won't exist, so don't use them to test postcode lookups.
  • National Insurance numbers start with QQ, a prefix that's never issued, and IP addresses come from the ranges kept for documentation (192.0.2.0/24, 198.51.100.0/24, 203.0.113.0/24 and 2001:db8::/32).
  • Card numbers are Stripe's published test cards. They pass the Luhn check but only work in a payment provider's test mode.

Tips

  • Add a seed to get exactly the same records again later, for repeatable tests. Without one, every batch is new. Dates of birth and card expiry dates are worked out from today's date, so they shift slightly over time.
  • Names deliberately include apostrophes and a wide mix of backgrounds, such as O'Brien, so you can check your forms, sorting and SQL escaping cope.
  • Opening the CSV in Excel? Excel removes the leading 0 from phone numbers and may treat +44 numbers as formulas. Use Data, From Text/CSV, and set those columns to Text.
  • Everything is generated in your browser. Nothing is sent to or stored on our server.
Can I use this data for real accounts or sign-ups?

No. It's for testing your own software. Emails and phone numbers are deliberately unreachable, and the test card numbers will be declined by real payment systems.

Is the data GDPR-friendly?

Yes. Because none of it relates to a real person, it isn't personal data, which makes it a safer choice than copying real customer records into test systems.