
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
How addresses are written in United Kingdom
Layout from Google’s address metadata (libaddressinput), the format data Chrome and Android use for address forms.
- 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
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.
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 address | Postcode |
|---|---|
| 3 High Street Apartment 37 Stoke-on-Trent ST3 5NP | ST3 5NP |
| 39 Manor Close Manchester M9 6QX | M9 6QX |
| 8 Market Avenue Bilston WS10 8GA | WS10 8GA |
| 155 Gorczany Street Flat 28D Edinburgh EH3 5HF | EH3 5HF |
| 31 Juniper Rise Grimsby DN32 7NB | DN32 7NB |
| 2 Highland Terrace Birmingham B44 8TD | B44 8TD |
| 1 Prospect Avenue Flat 9 Birmingham B42 2DQ | B42 2DQ |
| 106 Meadow Avenue Glasgow G1 3JE | G1 3JE |
Nations of United Kingdom
Pick one in the generator above to keep every address inside it.
| Nation | Localities |
|---|---|
| England | 3,789 |
| Northern Ireland | 64 |
| Scotland | 812 |
| Wales | 122 |