Address Generator
Generate realistic addresses in the correct format for 21 countries — valid in shape, for software testing only
Privacy Notice: This tool runs entirely in your browser. Nothing you generate or enter is sent to any server or stored anywhere.
Generator
Pick a country and an output format, then generate a batch.
Generated values are valid in shape but randomized (Test Data).
About this tool
Addresses look different everywhere — the postal code's position, whether the street number comes before or after the street name, and whether a district, province or prefecture appears all vary by country. This generator encodes the convention for 21 countries and emits a plausible address for each: a random house number, a real city, a common street name, and a correctly-formatted postal code.
Choose an output format — single line, multi-line (with the country name on its own line), JSON (structured fields), or HTML — and generate a batch of up to 50 at once for seeding a test database or filling out placeholder UI. A separate validator checks whether a postcode matches the selected country's expected format.
Everything runs locally in your browser; nothing is uploaded. The addresses are valid in shape but do not correspond to real homes — they are test data for software development.
How to use
Pick country and format
Choose the country whose address convention you want, and an output format (single line, multi-line, JSON, or HTML).
Set the batch size
Enter a count from 1 to 50 — useful for seeding a database or a test CSV.
Generate and copy
Click Generate to produce the batch, then copy the joined output.
Validate a postcode (optional)
On the Validator tab, pick a country and paste a postcode to confirm it matches the expected format.
Output formats
| Format | Example |
|---|---|
| Single line | 123 Main St, New York, NY 10001 |
| Multi-line | 123 Main St / New York, NY 10001 / United States |
| JSON | { number, street, city, region, postalCode } |
| HTML | <address> … </address> |
21 countries supported. Postal codes match each country's format.
Frequently asked questions
Related tools
Driver's License Generator
Generate driver's license numbers in the correct format for 21 countries and all 50 US states, plus a format and Luhn validator — test data only, runs in your browser.
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.