Random Address Generator

Twelve countries, twelve line orders. Each result puts the postcode where the local post office wants the code, next to a city that owns the code.

Pick a country

Type any word or ticket number. The same seed, country, and count rebuild the same addresses.

Generated addresses

A checkout form built in Ohio rejects 100-0005 because the postcode field wants five digits. A parser splits Hauptstraße 12 on the first space and stores 12 as the street name. A label printer strips the tilde from São Paulo and the courier scan fails. None of these bugs shows up when the test data reads 123 Main Street, Anytown.

Twelve formats, twelve line orders

The table lists what the generator writes for each country, top line first. The strip above the results shows the same order for the country you pick, with every part in its own color.

CountryLine orderPostcodeSample
United StatesNumber street, city, state ZIP5 digits1250 Maple Avenue, Denver, CO 80202
United KingdomNumber street, post town, postcodeOutward and inward code27 Mill Lane, Leeds, LS1 4BD
CanadaNumber street, city, province postal codeLetter, digit, letter, digit, letter, digit88 King Street W, Toronto, ON M5H 2N7
AustraliaUnit/number street, city state postcode4 digits4/61 George Street, Sydney NSW 2000
GermanyStreet number, postcode city5 digitsGartenstraße 14, 10115 Berlin
FranceNumber street, postcode city5 digits12 Rue Victor Hugo, 69002 Lyon
BrazilStreet, number, district, city - state, CEP5 digits, hyphen, 3 digitsRua das Flores, 210, Pinheiros, São Paulo - SP, 05422-010
IndiaFlat, number street, area, city, state PIN6 digitsFlat 402, 45 MG Road, Indiranagar, Bengaluru, Karnataka 560038
PakistanHouse, street, area, city postcode5 digitsHouse 45, Street 12, Gulberg III, Lahore 54660
JapanBlock number town, ward, city postcode3 digits, hyphen, 4 digits2-4-1 Marunouchi, Chiyoda-ku, Tokyo 100-0005
ChinaNo. number street, district, city postcode6 digitsNo. 88 Jianguo Road, Chaoyang District, Beijing 100020
RussiaStreet, number, flat, city, postcode6 digitsul. Lenina, 12, kv. 34, Kazan, 420111

Bugs this data is built to catch

The house number sits after the street

German addresses read Hauptstraße 12. A pattern built for digits first reads the whole line as a street name and leaves the number empty. Brazil and Russia also put the number last but add a comma, so a parser splitting on whitespace alone breaks. Switch between DE, BR, RU, and US in one session to see all three shapes.

Units come before, after, or below

Australia writes the unit ahead of the number with a slash, as in 4/61 George Street. India opens with Flat. Brazil and Russia tack the unit onto the first line. Most other countries give the unit a line of its own. With the unit option on, about four in ten addresses carry one, so every run mixes one line and two line records.

Postcodes have alphabets

UK postcodes pair an outward code with an inward code, such as LS1 4BD. The last two letters of the inward code never use C, I, K, M, O, or V, so the generator skips them. Canadian codes skip D, F, I, O, Q, and U in every position and never open with W or Z. A validator accepting those letters is too loose. A test set containing them teaches the validator nothing.

Characters outside ASCII

Köln, München, Île-de-France, Brasília, and Jing'an District are all in the pools. Push a batch into your database and back out through CSV. A latin1 column turns ü into a question mark. An unescaped apostrophe in Jing'an breaks a hand built SQL string. Both failures show up in the first run instead of on a customer order.

Japan writes the block as three numbers

A Japanese block reads chome, ban, go, so 2-4-1 Marunouchi means district 2, block 4, building 1. The generator uses the Latin form found on international parcels, with the block number first and the ward after. Three hyphenated integers in a field sized for a house number is a fast way to find a truncation bug.

Phone numbers built to ring nowhere

Turn on the phone option and every address gets a number. For six countries the number sits inside a block the regulator set aside for fiction.

Brazil, India, Pakistan, Japan, China, and Russia have no reserved block this tool relies on. Those numbers follow the right length and prefix, so a few will land on a real subscriber. Each card tags the number as Fictional range or Format only. Never send a test SMS or place a test call to a Format only number.

Seeds keep a batch you liked

Every address is drawn from its own stream, keyed to the seed, the country, and its position in the batch. Raise the count from 4 to 12 and the first four stay put. Toggle the unit or phone option and the street, city, and postcode hold still, since those choices come from separate streams.

Generate starts a new seed unless the seed field holds one. Pin this batch copies the current seed into the field so the next run repeats the batch. Copy link writes the seed, country, and count into the URL, so a teammate or a CI job opens the same set.

Getting the data out

Label view is for reading. One line puts each address on a row, ready for a spreadsheet column. JSON keeps the fields apart: number, street, unit, area, city, region, postcode, country, and phone. Empty fields arrive as empty strings, so the shape stays stable for a parser. CSV holds the same nine columns with quoted values, and the download is named after the country and the seed.

For a ZIP code on its own, use the random ZIP code generator. For a contact line to match, use the random phone number generator.

A four step pass before you trust a form

  1. Generate 50 for each market you ship to and paste them into the form. Note every rejection.
  2. Sort by line length and check the longest against your label template or PDF invoice.
  3. Round trip the batch through your database, then export CSV and compare with the original.
  4. Break one postcode on purpose and confirm the error message names the field.

What these addresses are not

They look right and are not deliverable. Nothing here is checked against a postal database, so some house numbers point past the end of a street or land on an empty lot.

Postcodes match the city, not the street. Paris has twenty arrondissement codes and the tool picks one at random, so a street and its postcode are never cross checked. Street names are common ones for each country and are not tied to the city on the card. UK and Canadian outward codes come from real lists for each city, but the inward half is random.

Coverage stops at twelve countries. Spain, New Zealand, and single US states have their own generators: try the Spain address generator, the New Zealand address generator, or the New York address generator. Addresses bound for postal validation come from a validation service run on real records, not from this tool.

Use them for testing, not for people

Generation runs in your browser. Nothing is sent to a server and nothing is stored after you close the tab. Output is free for test suites, demos, screenshots, course material, and fiction, with no credit needed.

An address paired with a real name is a claim about where a person lives. Do not use generated addresses to open accounts, pass identity checks, register a business, or claim residency. Those acts are fraud, whatever the data came from.

Questions about the address data

Accuracy, postcodes, phone numbers, and repeatable batches.

Are these real addresses?

No. Cities, regions, and postcodes are real, and street names are common ones for each country. House numbers are drawn at random, so a result sometimes lands near a real building and sometimes points at an empty stretch of road. Treat every result as invented and never send mail to one.

Do the postcodes match the cities?

Yes, at the city level. Each city carries its own postcodes or ranges, so a Leeds address gets an LS code and a Lyon address gets a 69 code. The street is not cross checked against the postcode, and a city with many codes can pair a street with the wrong district.

Why these twelve countries?

They cover the layouts behind most form bugs: number first, number last, hyphenated postcodes, letters inside postcodes, units before the street number, and a district line. Spain, New Zealand, and single US states have their own generators with local data.

Are the phone numbers safe to call?

For the US, Canada, the UK, Australia, France, and Germany, yes. Those numbers sit inside blocks reserved for fiction. For Brazil, India, Pakistan, Japan, China, and Russia only the format is right, so a few will reach a real person. Each card labels the number as Fictional range or Format only.

How do I get the same batch again?

Press Pin this batch to copy the current seed into the seed field, or press Copy link to store the seed, country, and count in the URL. Any seed you type works, such as a ticket number. The same seed, country, and count rebuild the same addresses on any machine.

Will these pass address validation at checkout?

Format checks and postcode pattern checks pass. Checks backed by a postal delivery database fail, since no house number here was verified against a real delivery point. That failure path is one most address forms never get tested on.

How many addresses can I generate at once?

Fifty per run. For a larger fixture, run the generator again with a new seed and stack the CSV files, or change the country and repeat.

Is any data sent to a server?

No. Generation runs in your browser and nothing is stored after you close the tab. The seed is the only thing worth keeping.

Is a fake address legal to use?

For software tests, demos, screenshots, teaching, and fiction, yes. Using one to open an account, pass an identity check, claim residency, or register a business is fraud, and a generated address is no safer than an invented one.