United Kingdom
UK Postcode Format Guide
UK postcodes are alphanumeric and usually contain an outward code, a space, and an inward code. They are more varied than many numeric postal-code systems, which makes them important for address-form testing.
Common UK postcode examples
SW1A 1AA
EC1A 1BB
M1 1AE
B15 2TT
EH3 7TH
Outward and inward code
The outward code appears before the space and identifies a postcode area and district. The inward code appears after the space and usually contains one digit followed by two letters. Forms should preserve the space and support both short and long outward codes.
UK address fields to test
- Flat, apartment, studio, or unit line.
- Building name, which may appear before the street line.
- Street and locality.
- Post town, often displayed in uppercase.
- County or region, which may be optional depending on the system.
- Postcode with a required internal space.
Generate UK postcode samples
Use the UK address generator to create random UK-style test addresses with postcodes, post towns, optional regions, local-looking names, and phone numbers.