Address Generator
Generate fictional addresses in the right postal format for 21 countries, and check postal codes. Test data only.
For Development & Testing Purposes Only - Synthetic Mock Data
Settings
US · 1 addressEach address comes from a real city with its own region and postal code range, so the three agree. Streets and numbers are made up. Addresses are fictional and not deliverable.
Testing Only: Test data only: randomly generated, may coincidentally match a real number. Never use in real applications, payments, KYC or official forms.
Press ⌘/Ctrl+Enter for a fresh batch. Values use the browser's secure random source.
Generated addresses
No addresses yet
Pick a country and press Generate.
Generated values are valid in shape but randomized (Test Data).
Examples
Validate a UK postcode with the spaced format
country: GB
postcode: SW1A 1AAValid formatThe UK format allows 1–2 letters, a digit, an optional letter/digit, then a digit and two letters, with an optional space before the inward code.
Reject a too-short US postcode
country: US
postcode: 1234Invalid — Does not match the expected postal format for this countryUS ZIP codes are exactly 5 digits, optionally followed by -#### for ZIP+4.
Accept a Brazilian CEP
country: BR
postcode: 01310-100Valid formatBR accepts only the dashed 5+3 form; the undashed 8-digit string would be rejected.
Use cases
Seeding a test database
Generate a batch of plausible US or UK addresses in JSON to import as fixture rows during development.
Filling mock checkout forms
Populate single-line addresses when prototyping shipping or address-book flows without exposing real customer data.
Validating user-supplied postcodes at the point of entry
Paste a postcode the user typed and confirm it matches the selected country's expected shape before letting it through.
Sanity-checking localised address layouts
Compare multi-line output across countries to see where the postal code, region, and country name appear in the conventional order.
Common mistakes
Mistake:Assuming the validator confirms the postcode is real or currently in use.
Fix:The validator only checks the format (length, allowed characters, structure) — not whether the postcode has been assigned or whether a street exists.
Mistake:Treating generated addresses as real and forwarding them to customers or third parties.
Fix:The generator emits valid-shaped but fictional data. The page includes a Testing Only notice; only use the output for software development.
Mistake:Expecting the same JSON field set for every country.
Fix:Country-specific builders add fields such as district, province, prefecture, area, or building based on local convention, so the JSON shape varies by country.
Mistake:Assuming UK and Canadian postcodes use the same regex.
Fix:GB accepts 1–2 letters + digit + optional alphanum + digit + 2 letters (with optional space), while CA enforces an A1A 1A1 pattern — the validator uses country-specific rules.
Frequently asked questions
What kind of addresses does this generate?
It creates realistic-looking test addresses in the selected country's format, with single-line, multi-line, JSON, and HTML output options.
Are the generated addresses real?
No. They are synthetic values intended for demos, UI testing, and development—not for identity verification, shipping, or official records.
Which countries are supported?
The generator includes formats for 21 countries. Choose a country to use its local ordering, labels, and postal-code style.
Related guides
References & standards
Related tools
Phone Number Generator
Generate phone numbers in the correct format per country — mobile, landline and toll-free — in international, national, raw or tel: format, plus a validator. Test data only.
National Identity Generator
Generate and validate national ID numbers for testing (TR, US, DE, UK, SA, AE, QA, KW, CA, ES, BR, FR, IT, NL, SE, NO, EG, SG)
Driver's License Generator
Generate driver's license numbers in the correct format for 21 countries and all 50 US states, plus a multi-line validator — test data only, runs in your browser.
Mock Data Generator
Generate realistic test data in multiple formats for development and testing
Credit Card Generator
Generate sandbox test card numbers (providers' published test numbers) and Luhn-valid random test numbers for development and QA