Flag of United Kingdom

United Kingdom address generator

Random UK addresses for software testing. Every postcode is taken from the same dataset record as its post town and nation, and the address is laid out the way United Kingdom writes it.

  • A Dataset-matched
  • 4,800 post towns
  • 4 nations
  • Real postcodes
Options

89 King Grove Glasgow G33 6JZ United Kingdom

  • Town, nation and postcode: one GeoNames record
  • Street name, number: synthetic

Synthetic test data: not a verified or deliverable address.

Street
89 King Grove
City
Glasgow
Nation
Scotland
Postcode
G33 6JZ From datasetThis postcode comes from the same dataset record as the locality and region.
Country
United Kingdom (GB)
Coordinates
55.886, -4.165 Approximate centre of the locality, not the building
ALocality, region and postcode come from one dataset recordSeed page-GBHow coverage levels work

How addresses are written in United Kingdom

Layout from Google’s address metadata (libaddressinput), the format data Chrome and Android use for address forms.

[Recipient name] [Organisation] [Street address] [Post town] [Postcode]
Required fields
Street address, post town and postcode
Postcode
Examples: EC1Y 8SY, GIR 0AA, M2 5BQ, M34 4AB
Pattern: GIR ?0AA|(?:(?:AB|AL|B|BA|BB|BD|BF|BH|BL|BN|BR|BS|BT|BX|CA|CB|CF|CH|CM|CO|CR|CT|CV|CW|DA|DD|DE|DG|DH|DL|DN|DT|DY|E|EC|EH|EN|EX|FK|FY|G|GL|GY|GU|HA|HD|HG|HP|HR|HS|HU|HX|IG|IM|IP|IV|JE|KA|KT|KW|KY|L|LA|LD|LE|LL|LN|LS|LU|M|ME|MK|ML|N|NE|NG|NN|NP|NR|NW|OL|OX|PA|PE|PH|PL|PO|PR|RG|RH|RM|S|SA|SE|SG|SK|SL|SM|SN|SO|SP|SR|SS|ST|SW|SY|TA|TD|TF|TN|TQ|TR|TS|TW|UB|W|WA|WC|WD|WF|WN|WR|WS|WV|YO|ZE)(?:\d[\dA-Z]? ?\d[ABD-HJLN-UW-Z]{2}))|BFPO ?\d{1,4}
Nations
4 in the dataset
Capitals
Mail labels conventionally capitalise the post town and postcode
Script
Latin
Calling code
+44 · fictional numbers from Ofcom
Official lookup
Postcode finder
Map of the 4800 localities in United Kingdom used by the generator
Each dot is a post town the generator can use.

About the data for United Kingdom

ADataset-matched. Each locality, region and postcode is taken from the same GeoNames postal codes record.

Localities
4,800 · GeoNames postal codes
Postcodes
Every postcode comes from the dataset record of its locality.
Names
en (language-level list)
Streets
Synthetic names built from common local street words. They are not taken from real maps.
  • The town line uses the locality name from the postcode dataset. Royal Mail sometimes uses a different post town for the same postcode.

Sources, licences and method

United Kingdom address generators by nation

Each page keeps every address inside one nation and lists its post towns and postcodes.

United Kingdom city address generators

Sample United Kingdom addresses

Eight addresses generated with a fixed seed. The post town, nation and postcode are real; street names and numbers are not.

Formatted addressPostcode
3 High Street Apartment 37 Stoke-on-Trent ST3 5NPST3 5NP
39 Manor Close Manchester M9 6QXM9 6QX
8 Market Avenue Bilston WS10 8GAWS10 8GA
155 Gorczany Street Flat 28D Edinburgh EH3 5HFEH3 5HF
31 Juniper Rise Grimsby DN32 7NBDN32 7NB
2 Highland Terrace Birmingham B44 8TDB44 8TD
1 Prospect Avenue Flat 9 Birmingham B42 2DQB42 2DQ
106 Meadow Avenue Glasgow G1 3JEG1 3JE

Nations of United Kingdom

Pick one in the generator above to keep every address inside it.

NationLocalities
England3,789
Northern Ireland64
Scotland812
Wales122

Neighbouring countries