Skip to main content

UK Postcode Format Support

We clean UK postcodes from many different input formats. See what we support below.

Supported Format Variations

Running live validation in your browser…

Running live validation in your browser…

Special Cases Handled

No Space Variation:
SW1A1AA
Missing Space:
M11AA
With Address:
10 Downing Street, SW1A 1AA
With City:
London SW1A 1AA

Output Format

All postcodes are formatted consistently with proper spacing:

SW1A 1AA M1 1AA EC1A 1BB

Outward code (area), space, inward code (3 characters).

Have a Format We Don't Support?

If you have postcode data in a format we don't currently handle, please contact us with examples and we'll add support!

Back to Validation Rules