test data · generator
Fake address generator
Generate addresses with structurally-valid postcodes for the target country. Useful for shipping flow testing, geocoding QA, and form validation. Use clearly-fictional street names to avoid hitting real addresses.
intermediate
seedable
Sample output
fakeit address --country=US 42 Imaginary Lane Apt 7 Somewhere, CA 90210 fakeit address --country=GB 12 Pretend Street Madeup-on-Sea Greater London EC1A 1BB fakeit address --country=DE Fiktivstraße 88 10115 Berlin
Safe vs unsafe examples
| Input | Result |
|---|---|
| 90210 (US — Beverly Hills format) | ✓safe to use |
| SW1A 1AA (UK — Buckingham Palace format) | ✓safe to use |
| 10115 (DE — Berlin Mitte) | ✓safe to use |
| **WARNING**: Generating real-looking street names + real cities may match a real residential address. Use clearly fictional names. | ✗avoid |
| 00000 (US — invalid, no zone uses all zeros) | ✗avoid |
| ABCD EFGH (UK — invalid format) | ✗avoid |
Edge cases & caveats
Per-country regex: US `\d{5}(-\d{4})?`. UK: `[A-Z]{1,2}\d[A-Z\d]? ?\d[A-Z]{2}`. CA: `[A-Z]\d[A-Z] ?\d[A-Z]\d`. JP: `\d{3}-\d{4}`. DE/FR: `\d{5}`.
Note: see the warning above. Treat this page as a starting point, not a security control.
Common use cases
- Shipping integration testing
- Geocoding service QA
- Address validation form QA
- International customer testing
Generate fake data at scale
fakeit generates realistic fake test data — names, emails, IBANs, ISBNs, phones, addresses. Seedable, schemable, MIT-licensed, no telemetry.
Open fakeit
Related
iban numbers by country · iban numbers by country · iban numbers by country · iban numbers by country · ↗ validate US ZIP format