Random UK Address Generator

These addresses are structurally valid but fictional, for software testing and form design. This is not a Royal Mail address lookup: nothing generated here is a real delivery point.

Generate realistic random UK addresses with genuine postcode districts, post towns and counties across England, Scotland, Wales and Northern Ireland. Every address is fictional and formatted to Royal Mail conventions, ready for QA automation, form validation and database seeding.

Example generated addresses

AddressPost townCountyPostcode
5 Nelson StreetKILMARNOCKEast AyrshireKA1 4WN
Suite 1, 203 Mount Pleasant CourtWARRINGTONCheshireWA2 1QQ
67 Lime Terrace, OrmeauBELFASTCounty AntrimBT7 9SJ
167 Wellington PlaceSTIRLINGStirlingFK8 3HZ
214 New HillHAMILTONSouth LanarkshireML3 5YN

Press Generate on the page for a fresh set, or call GET /api/v1/addresses/random.

What the generator produces

How the random UK address generator works

Each address is assembled from a registry entry rather than by shuffling unrelated fields together. The generator picks a post town, then a postcode district that town genuinely serves, and every other part of the address is derived from that single choice. That is why the county, country, region, dialling code and postcode area on a result always agree with one another.

1. Pick a location
A post town is chosen from the registry, honouring any country or town filter you set. The town carries its own county, country, ONS region, coordinates and dialling code.
2. Pick a district
A postcode district served by that town becomes the outward code — the part before the space. These are real Royal Mail districts, which is what makes the result geographically coherent.
3. Generate the inward code
The three characters after the space are generated to the Royal Mail format rules, so the postcode validates but is not a live delivery point.
4. Build the delivery line
A building number or building name is paired with a street, and where the district has a named locality it is added as a dependent locality line.
5. Add optional detail
Recipient name, telephone number, coordinates and a sub-building line are attached on request. Telephone numbers come only from ranges Ofcom reserves for drama.

The structure of a UK address

Royal Mail sets out the expected layout in its Address Management Guide, usually called "Clear Addressing". Lines run from the most specific to the least, the post town goes in capitals on its own line, and the postcode sits last.

Sub-building
Flat, apartment, suite or unit number. Only present where a building is subdivided.
Building name
A named property such as "Rose Cottage" or "Beaufort House". Used instead of, or alongside, a number.
Building number
The number on the thoroughfare. Written on the same line as the street, never on its own line.
Thoroughfare
The street: Cheapside, Deansgate, Lime Street. The UK does not use directional prefixes such as "N" or "SW" in street names.
Dependent locality
A village or neighbourhood inside the post town’s area. Optional, and only used where it is needed to identify the address.
Post town
The sorting town, in capitals. This is a postal designation, not necessarily the town the property sits in.
County
Optional since 1996. Royal Mail has not required it for delivery for decades, but many web forms and legacy databases still expect one.
Postcode
On its own line, last. An outward code and an inward code separated by a single space.

UK addresses compared with US addresses

Test fixtures written against US addresses tend to break on UK data, because the two systems disagree about more than spelling. If you are localising a form or a validation routine, these are the differences that actually cause bugs.

ElementUnited KingdomUnited States
Postal codePostcode: 5–7 characters, letters and digits, one space (SW1A 1AA)ZIP code: 5 digits, optionally +4 (90210, 90210-1234)
Administrative areaCounty — optional, and not part of the delivery address since 1996State — mandatory, two-letter abbreviation
Sorting localityPost town, in capitals, may differ from the physical townCity, generally the physical city
Building identifierNumber or a building name; a name alone is common in rural areasStreet number, effectively always numeric
Street lineNumber and street on one line, no directional prefixNumber, optional direction, street, then unit (123 N Main St Apt 4)
Sub-buildingFlat 3, 12 Lime Street — above the street lineApt 4 — appended to the street line
Postal code precisionAverages around 15 properties, enough to identify a street segmentA ZIP covers a delivery route or a whole town
Field to validate onPostcode alone will resolve an address with a house numberZIP plus street address are both needed

The practical consequence: a form that stores a two-letter state, requires a numeric building number, or enforces a five-digit postal code will reject valid UK addresses. Generating realistic UK data is the quickest way to find those assumptions.

What people use generated UK addresses for

What it is not for: anything that presents a generated address as a real one. It cannot be used for identity verification, to obtain goods or services, or to satisfy a Know Your Customer check — the addresses are not real places and will fail any check against the Postcode Address File.

Privacy: nothing you generate is stored

Addresses are generated on demand and returned. They are not written to a database, not logged, and not associated with you. Reloading the page produces different results because nothing was kept, not because anything was cleared.

Need postcodes on their own? Use the random UK postcode generator. Writing an address by hand? See the UK address format guide.

Address generators by location

Countries

Post towns

Free UK developer tools

Guides

Related tools

All addresses generated by this site are fictional. They do not correspond to real properties or residents and are provided for software testing and development only.