Random UK Postcode & UK Zip Code Generator
Welcome to the ultimate random UK postcode generator. Whether you need a random postcode generator for software test suites, a valid UK zip code random value to verify a registration form, or fake postcodes for testing address auto-completion APIs, our free online utility delivers 100% geographically verified British postal codes. Synchronized with official Royal Mail Postcode Address File (PAF) and ONS geodata.
Complete UK Postcode Area Directory (All 117 Postal Areas)
Explore and generate random postcodes for all 117 postal areas across England, Scotland, Wales, and Northern Ireland:
- Aberdeen (AB) - Grampian, Scotland
- St Albans (AL) - East of England, England
- Birmingham (B) - West Midlands, England
- Bath (BA) - South West, England
- Bradford (BD) - Yorkshire and the Humber, England
- Bournemouth (BH) - South West, England
- Brighton (BN) - South East, England
- Bromley (BR) - London, England
- Bristol (BS) - South West, England
- Belfast (BT) - Northern Ireland, Northern Ireland
- Cambridge (CB) - East of England, England
- Cardiff (CF) - South Wales, Wales
- Chester (CH) - North West, England
- Chelmsford (CM) - East of England, England
- Croydon (CR) - London, England
- Canterbury (CT) - South East, England
- Coventry (CV) - West Midlands, England
- Crewe (CW) - North West, England
- Dartford (DA) - London / South East, England
- Dundee (DD) - Tayside, Scotland
- Derby (DE) - East Midlands, England
- Dumfries (DG) - Dumfries and Galloway, Scotland
- Durham (DH) - North East, England
- Darlington (DL) - North East, England
- Doncaster (DN) - Yorkshire / East Midlands, England
- Dorchester (DT) - South West, England
- Dudley (DY) - West Midlands, England
- London E (E) - London, England
- London EC (EC) - London, England
- Edinburgh (EH) - Lothian, Scotland
- Enfield (EN) - London / East of England, England
- Exeter (EX) - South West, England
- Falkirk (FK) - Central Scotland, Scotland
- Blackpool (FY) - North West, England
- Glasgow (G) - Strathclyde, Scotland
- Gloucester (GL) - South West, England
- Guildford (GU) - South East, England
- Harrow (HA) - London, England
- Huddersfield (HD) - Yorkshire and the Humber, England
- Harrogate (HG) - Yorkshire and the Humber, England
- Hemel Hempstead (HP) - East / South East, England
- Hereford (HR) - West Midlands, England
- Outer Hebrides (HS) - Highlands and Islands, Scotland
- Hull (HU) - Yorkshire and the Humber, England
- Halifax (HX) - Yorkshire and the Humber, England
- Ilford (IG) - London / East of England, England
- Ipswich (IP) - East of England, England
- Inverness (IV) - Highlands, Scotland
- Kilmarnock (KA) - Ayrshire, Scotland
- Kingston upon Thames (KT) - London / South East, England
- Kirkwall (KW) - Highlands and Islands, Scotland
- Kirkcaldy (KY) - Fife, Scotland
- Liverpool (L) - North West, England
- Lancaster (LA) - North West, England
- Llandrindod Wells (LD) - Mid Wales, Wales
- Leicester (LE) - East Midlands, England
- Llandudno (LL) - North Wales, Wales
- Lincoln (LN) - East Midlands, England
- Leeds (LS) - Yorkshire and the Humber, England
- Luton (LU) - East of England, England
- Manchester (M) - North West, England
- Medway (ME) - South East, England
- Milton Keynes (MK) - South East, England
- Motherwell (ML) - Strathclyde, Scotland
- London N (N) - London, England
- Newcastle upon Tyne (NE) - North East, England
- Nottingham (NG) - East Midlands, England
- Northampton (NN) - East Midlands, England
- Newport (NP) - South Wales, Wales
- Norwich (NR) - East of England, England
- London NW (NW) - London, England
- Oldham (OL) - North West, England
- Oxford (OX) - South East, England
- Paisley (PA) - Highlands and Islands, Scotland
- Peterborough (PE) - East of England, England
- Perth (PH) - Highlands and Tayside, Scotland
- Plymouth (PL) - South West, England
- Portsmouth (PO) - South East, England
- Preston (PR) - North West, England
- Reading (RG) - South East, England
- Redhill (RH) - South East, England
- Romford (RM) - London / East of England, England
- Sheffield (S) - Yorkshire and the Humber, England
- Swansea (SA) - South Wales, Wales
- London SE (SE) - London, England
- Stevenage (SG) - East of England, England
- Stockport (SK) - North West, England
- Slough (SL) - South East, England
- Sutton (SM) - London, England
- Swindon (SN) - South West, England
- Southampton (SO) - South East, England
- Salisbury (SP) - South West, England
- Sunderland (SR) - North East, England
- Southend-on-Sea (SS) - East of England, England
- Stoke-on-Trent (ST) - West Midlands, England
- London SW (SW) - London, England
- Shrewsbury (SY) - West Midlands, England
- Taunton (TA) - South West, England
- Galashiels (TD) - Scottish Borders, Scotland
- Telford (TF) - West Midlands, England
- Tonbridge (TN) - South East, England
- Torquay (TQ) - South West, England
- Truro (TR) - South West, England
- Cleveland (TS) - North East, England
- Twickenham (TW) - London, England
- Southall (UB) - London, England
- London W (W) - London, England
- Warrington (WA) - North West, England
- London WC (WC) - London, England
- Watford (WD) - East of England, England
- Wakefield (WF) - Yorkshire and the Humber, England
- Wigan (WN) - North West, England
- Worcester (WR) - West Midlands, England
- Walsall (WS) - West Midlands, England
- Wolverhampton (WV) - West Midlands, England
- York (YO) - Yorkshire and the Humber, England
- Lerwick (ZE) - Highlands and Islands, Scotland
Fake Postcodes for Testing & Developer Mock Data
Developers frequently need reliable fake UK postcodes for testing. When building ecommerce checkout systems, address validation algorithms, or delivery rate lookups, our tool generates authentic British Standard BS 7666 postcodes. You can also export structured datasets in CSV, JSON, GeoJSON, KML, and SQL table formats.
UK Postcode Format & Structure (BS 7666)
Understanding the UK postcode format is essential for form validation. A standard British postcode consists of an outward code (area and district, e.g. SW1A) and an inward code (sector and delivery unit, e.g. 1AA). UK postcodes contain between 5 and 7 alphanumeric characters, excluding the single central space.