Random UK Address Generator
Generate realistic UK addresses across England, Scotland, Wales, and Northern Ireland with outward/inward Royal Mail postcodes and JSON/CSV/SQL export.
Japanese Script Variants (Kanji · Full Katakana · Half-Width カタカナ · Hiragana · Romaji)
Runs 100% in your browser. Records are assembled locally from curated public postal schemas with zero server logging. Intended strictly for QA, testing, and prototyping.
Supported Country Generators
US Address Generator
All 50 states plus 5 sales-tax-free states with matching ZIP and area codes
ROYAL MAILRandom UK Address
England, Scotland, Wales, and Northern Ireland outward/inward postcodes
CANADA POSTRandom Canadian Address
All 10 provinces following strict A1A 1A1 alphanumeric FSA/LDU structure
JP POST · 〒Random Japanese Address
Prefectures, 7-digit postal codes, Kanji, Katakana, Hiragana, and Romaji
Authentic UK address & Royal Mail postcode formatting
A random UK address uses an alphanumeric Royal Mail postcode split by one space into an outward code (2 to 4 characters for postal area and district) and a 3-character inward code (digit plus two letters), rather than a fixed numeric string. Forms written solely for 5-digit US ZIP codes break immediately across England, Scotland, Wales, and Northern Ireland.
The six Royal Mail postcode patterns
| Pattern | Example | City / Area | Notes for Regex Validators |
|---|---|---|---|
A9 9AA |
B2 4DU |
Birmingham | Single-letter area + single digit (B, G, L, M, S) |
A99 9AA |
M1 5QA / L1 4EA |
Manchester / Liverpool | Single-letter area + 1 or 2 digits |
A9A 9AA |
W1D 2JG |
Central London | Single-letter area + digit + letter (E1W, N1C, W1D) |
AA9 9AA |
EH2 2DG / BS1 1JG |
Edinburgh / Bristol | Two-letter area + single digit |
AA99 9AA |
CF10 2GR / AB10 1QX |
Cardiff / Aberdeen | Two-letter area + two digits (BT48, SO14) |
AA9A 9AA |
EC4Y 1BT / WC1V 6LS |
Central London | Two-letter area + digit + letter |
UK normalization and field layout
User input: "w1d2jg" -> trim + uppercase + split last 3 chars -> "W1D 2JG"
Length span: 6 chars ("G1 3JN") to 8 chars ("EC4Y 1BT") including the single space
| Field | Format example | Notes for form validators |
|---|---|---|
| Street | 145 Oxford Street |
Building number (or number + letter like 221B) + thoroughfare |
| Post Town / City | London / Edinburgh |
Official post town; required alongside postcode |
| County | Greater London / West Yorkshire |
Optional; Royal Mail drops county when post town and postcode match |
| Postcode | W1D 2JG |
6 to 8 characters with one mandatory space before the inward 3 chars |
| Telephone | +44 20 7946 0192 |
City-matched STD area code with leading trunk 0 omitted after +44 |
Northern Ireland zones, SQL escaping, and city names
Filter by Northern Ireland to generate BT postcodes (BT1 5AA, BT48 6DW), which frequently follow separate Windsor Framework customs and carrier routing rules compared to mainland Great Britain. Generating 25-row batches also tests variable spacing (G1 3JN vs. EC4Y 1BT).
Our UK records intentionally include apostrophes (104 King's Road) and multi-word post towns (Newcastle upon Tyne) so SQL INSERT exports and string tokenizers get realistic input coverage. Switch anytime to Random Address Generator, US Address Generator, Random Canadian Address, or Random Japanese Address.
Frequently Asked Questions
Do generated UK addresses use valid Royal Mail postcode syntax?
Yes. All records use real outward and inward postcode pairs such as NW1 6XE, EH2 2DG, CF10 2GR, and BT1 5AA matched to their true city and UK constituent nation.
Can I filter specifically by England, Scotland, Wales, or Northern Ireland?
Yes. Use the Nation / Region selector right beside the Country dropdown to lock generation to England, Scotland, Wales, or Northern Ireland.
How are UK telephone numbers formatted?
Phone numbers pair the international +44 prefix with the correct local STD area code for each city (such as 20 for London, 131 for Edinburgh, 29 for Cardiff, and 28 for Belfast) with the trunk 0 omitted.
Why do UK postcodes vary from 6 to 8 characters?
The outward code before the space can be 2, 3, or 4 characters (for example G1, W1D, or EC4Y), while the inward code after the space is always 3 characters (digit + two letters).
Should UK county names be required in checkout forms?
Modern Royal Mail addressing only requires thoroughfare, post town, and postcode. Keeping County optional in your form validator prevents rejecting valid London or metropolitan addresses.
Can I export a batch of UK addresses for automated testing?
Yes. Select 5 to 50 records under Count and download JSON, CSV, or SQL directly from the workbench toolbar.