GeoPostcodes

United Kingdom ZIP Code Dataset

Comprehensive United Kingdom ZIP code data with accurate geographic coordinates, administrative divisions, and time zone

  • Gartner
  • DB Schenker
  • Randstad
  • Amazon
  • IBM
  • MSC

Sample Dataset United Kingdom

ISOCountryLanguageRegion 1Region 2Region 3Region 4LocalityZip CodeLatitudeLongitudeTimezone
GBUnited KingdomENEnglandGreater LondonN/ABromleyGreen Street Green51.3543660.089996Europe/London
GBUnited KingdomENEnglandGreater LondonN/ABromleyGreen Street Green51.3513350.089499Europe/London
GBUnited KingdomENEnglandGreater LondonN/ABromleyGreen Street Green51.3529320.089212Europe/London
GBUnited KingdomENEnglandGreater LondonN/ABromleyGreen Street Green51.3519830.088480Europe/London
GBUnited KingdomENEnglandGreater LondonN/ABromleyGreen Street Green51.3556180.089852Europe/London
GBUnited KingdomENEnglandGreater LondonN/ABromleyGreen Street Green51.3539140.089113Europe/London
GBUnited KingdomENEnglandGreater LondonN/ABromleyGreen Street Green51.3541020.088648Europe/London
GBUnited KingdomENEnglandGreater LondonN/ABromleyGreen Street Green51.3534250.088301Europe/London
GBUnited KingdomENEnglandGreater LondonN/ABromleyGreen Street Green51.3535150.089282Europe/London
GBUnited KingdomENEnglandGreater LondonN/ABromleyGreen Street Green51.3540240.089521Europe/London
GBUnited KingdomENEnglandGreater LondonN/ABromleyGreen Street Green51.3547560.087802Europe/London
GBUnited KingdomENEnglandGreater LondonN/ACroydonCoulsdon North51.319600-0.138194Europe/London
GBUnited KingdomENEnglandGreater LondonN/ACroydonCoulsdon North51.319662-0.137531Europe/London
GBUnited KingdomENEnglandGreater LondonN/ABexleyBarnehurst51.4648430.159497Europe/London
GBUnited KingdomENEnglandGreater LondonN/AEnfieldThe Ridgeway51.660260-0.101390Europe/London
GBUnited KingdomENEnglandGreater LondonN/AHaveringHeath Park51.5778190.206459Europe/London
GBUnited KingdomENEnglandGreater LondonN/ABarking and DagenhamBarking51.5243580.078019Europe/London
GBUnited KingdomENEnglandGreater LondonN/ABarking and DagenhamBarking51.5243560.077992Europe/London
GBUnited KingdomENEnglandGreater LondonN/ABarking and DagenhamBarking51.5311700.109388Europe/London
GBUnited KingdomENEnglandGreater LondonN/ABarking and DagenhamBarking51.5234380.124773Europe/London
GBUnited KingdomENEnglandGreater LondonN/ABarking and DagenhamBarking51.5312410.106421Europe/London
GBUnited KingdomENEnglandGreater LondonN/ABarking and DagenhamBarking51.5282370.107998Europe/London
GBUnited KingdomENEnglandGreater LondonN/ABarking and DagenhamBarking51.5314600.107787Europe/London
GBUnited KingdomENEnglandGreater LondonN/ABarking and DagenhamBarking51.5345170.088173Europe/London
GBUnited KingdomENEnglandGreater LondonN/ABarking and DagenhamBarking51.5313480.104480Europe/London
GBUnited KingdomENEnglandGreater LondonN/ABarking and DagenhamBarking51.5280870.108813Europe/London
GBUnited KingdomENEnglandGreater LondonN/ABarking and DagenhamBarking51.5314200.103474Europe/London
GBUnited KingdomENEnglandGreater LondonN/ABarking and DagenhamBarking51.5286150.087312Europe/London
GBUnited KingdomENEnglandGreater LondonN/ABarking and DagenhamBarking51.5316730.104408Europe/London
GBUnited KingdomENEnglandGreater LondonN/ABarking and DagenhamBarking51.5292990.086233Europe/London
GBUnited KingdomENEnglandGreater LondonN/ABarking and DagenhamBarking51.5278950.083329Europe/London
GBUnited KingdomENEnglandGreater LondonN/ABarking and DagenhamBarking51.5313480.104480Europe/London
GBUnited KingdomENEnglandGreater LondonN/ABarking and DagenhamBarking51.5278550.083010Europe/London
GBUnited KingdomENEnglandGreater LondonN/ABarking and DagenhamBarking51.5283580.084547Europe/London
GBUnited KingdomENEnglandGreater LondonN/ABarking and DagenhamBarking51.5241680.124115Europe/London
GBUnited KingdomENEnglandGreater LondonN/ABarking and DagenhamBarking51.5318940.108095Europe/London
GBUnited KingdomENEnglandGreater LondonN/ABarking and DagenhamBarking51.5298200.088809Europe/London
GBUnited KingdomENEnglandGreater LondonN/ABarking and DagenhamBarking51.5270620.087126Europe/London
GBUnited KingdomENEnglandGreater LondonN/ABarking and DagenhamBarking51.5294600.090393Europe/London
GBUnited KingdomENEnglandGreater LondonN/ABarking and DagenhamBarking51.5226550.115308Europe/London
GBUnited KingdomENEnglandGreater LondonN/ABarking and DagenhamBarking51.5297040.092322Europe/London
GBUnited KingdomENEnglandGreater LondonN/ABarking and DagenhamBarking51.5285850.091031Europe/London
GBUnited KingdomENEnglandGreater LondonN/ABarking and DagenhamBarking51.5282340.089486Europe/London
GBUnited KingdomENEnglandGreater LondonN/ABarking and DagenhamBarking51.5272700.091129Europe/London
GBUnited KingdomENEnglandGreater LondonN/ABarking and DagenhamBarking51.5278940.090912Europe/London
GBUnited KingdomENEnglandGreater LondonN/ABarking and DagenhamBarking51.5263880.091175Europe/London
GBUnited KingdomENEnglandGreater LondonN/ABarking and DagenhamBarking51.5288270.092541Europe/London
GBUnited KingdomENEnglandGreater LondonN/ABarking and DagenhamBarking51.5282370.107998Europe/London
GBUnited KingdomENEnglandGreater LondonN/ABarking and DagenhamBarking51.5273270.087412Europe/London
GBUnited KingdomENEnglandGreater LondonN/ABarking and DagenhamBarking51.5280530.092087Europe/London

Explore Our United Kingdom ZIP code coverage

The map shows our United Kingdom postal code coverage with major cities and postal code distribution.

United Kingdom
Unlock now!
United Kingdom

Loading country data...

United Kingdom's Postal Code Format

The United Kingdom uses a "Postcode" system, which is an alphanumeric format like AA9 9AA. This format typically consists of six to eight characters, with a space separating the outward code (area and district) from the inward code (sector and unit). The GeoPostcodes world postal code database indicates that the United Kingdom has 1,795,653 postcodes covering 402 regions and 32,082 towns. Unlike the purely numeric five-digit US ZIP codes, the UK Postcode system is alphanumeric and more granular, often identifying a handful of addresses.

  • Postcode Format: AA9 9AA

    • Alphanumeric format, 6–8 characters with a space before the last 3
    • Extremely granular, often down to a single building (~15 addresses per unit)
    • 1,795,653 postcodes covering 402 regions and 32,082 towns

    Examples:

    • SW1A 1AA - London (England)
    • EH1 1BB - Edinburgh (Scotland)
    • CF10 1AA - Cardiff (Wales)
    • BT1 5GS - Belfast (Northern Ireland)
  • Structure of Postal Codes

    • Format: AA9 9AA, alphanumeric
    • Hierarchical levels: Outward code (area + district) and inward code (sector + unit); often down to a single building.
    • Key challenges: Not geographically hierarchical: some codes span boundaries for routing efficiency. British Forces and island codes are handled separately. Administrative boundaries and postal boundaries do not align well, especially across country borders (e.g., Wales-England).
  • Management & Authority

    • Primary postal authority: Royal Mail.
    • Update frequency: The data is only available through resellers, and update frequency may vary.
    • Coverage: Applies to England, Scotland, Wales, Northern Ireland; British Forces postcodes are managed separately.
  • Addressing Standards

    • Common address format: [Double Dependent Locality] + [Dependent Locality] + [Post Town in capitals] + [Postcode].
    • Administrative divisions used: None encoded; postcode data is linked to admin divisions externally.
    • Notes: Dependent and double dependent localities are unique to Royal Mail routing and do not always match administrative geography.
  • Special Characteristics

    • Micro-postcodes usually cover around 15 addresses (range 1–100).
    • High change rate: 10,000+ postcode updates per quarter are common.
    • Postal and administrative boundaries do not align cleanly, especially in border areas.
    • Postcode data is licensed, not open; derivative datasets cannot be marketed as “official Royal Mail data.”

Our location dataset for United Kingdom

Explore our comprehensive collection of United Kingdom location data products, designed to meet all your mapping and location intelligence needs.

United Kingdom ZIP & Administrative boundaries

United Kingdom administrative landscape often follows inconsistent regional models and irregular public sources, making it difficult to maintain reliable boundaries. Our standardized postal and administrative boundary data resolves these gaps to ensure complete, coherent geographic coverage.

United Kingdom Shapefiles

Coverage Statistics

1,795,653
Total ZIP Codes
402
Provinces & Territories
32,082
Cities & Towns

Available File Formats

Choose from multiple data formats to seamlessly integrate United Kingdom postal code data into your systems

  • CSV FormatComma-separated values for spreadsheet applications and data analysis tools
  • GeoJSON FormatJavaScript Object Notation for web applications and modern development
  • GML FormatExtensible Markup Language for enterprise systems and legacy applications
  • DAT FormatDatabase-ready SQL scripts for direct import into your systems

Data Dictionary

Comprehensive field definitions and data specifications for the United Kingdom postal code dataset

Field nameField typeDescriptionComments
ISOChar(2)ISO 3166-1 Country codeThe ISO 3166-1 standard is published by the International Organization for Standardization (ISO) and defines a unique code for the name of each country. The country codes are represented as a two-letter code (alpha-2).
CountryChar(50)Country name
LanguageChar(2)Language codeWhen there are several official languages in the country, or for countries using a non-Latin alphabet, we provide the names in different languages. The language field contains the language code and allows you to select a specific version.
Region1Region2Region3Region4Char(80)Administrative division level 1Administrative division level 2Administrative division level 3Administrative division level 4These fields contain the name of administrative divisions for each available level. If not applicable, the value '-' will be indicated.
LocalityChar(80)Locality nameContains the settlement name. The type of settlement may vary depending on the country (city, town, village, etc..).
PostcodeChar(15)ZIP / Postal codeIn countries/places where there is no postal code in use, this field is left empty. The postcode structure varies for each country.
LatitudeLongitudeDoublePlace coordinates (WGS84 coordinates)These fields contain the geographic coordinates related to the specific locality and postal code of the record. The geographical position is usually precise to about one hundred meters and corresponds to the center of the locality. All our files are created using the World Geodetic System standard WGS 84. The corresponding SRID reference is EPSG:4326.
TimezoneChar(30)Time zone name (Olson)Following the timezones defined in the IANA tz database (sometimes called Olson database).

Why choose GeoPostcodes

Global coverage

Complete coverage across 247 countries, including hard-to-source geographies like China, Japan, Brazil, and Russia.

Highest quality

Built on extensive, authoritative sourcing with robust data engineering and quality control. Standardized and up-to-date.

Expert Consulting

With 15 years of experience, we guide your implementation and deliver data in the format that fits your system.

Discover more advantages

Global Location Databases

Comprehensive location data products serving businesses, and organizations worldwide with accurate, up-to-date geographic information.

Postal Code Database

Global dataset containing all administrative divisions, cities and ZIP codes.

Explore postal code database

Key features

  • 247 Countries
  • 9,9M Coordinates
  • 9,3M ZIP codes
  • 400 Time zones
  • 4M Cities and Towns
  • 116K UNLOCODES

Specifications

  • Coverage: Global
  • Format: CSV, ASC, DAT, GML, GeoJSON, KML, Shapefile (SHP)

Use cases for the international ZIP code database

Powering enterprise solutions and product innovation for businesses worldwide

Address Validation

Capture accurate addresses for every country and territory in the world, in any language, and match local requirements.

Reporting and business intelligence

Ensure compliant and accurate reports across your organization. Enhance data analysis with location intelligence.

Logistics and shipping

Design and optimize your distribution network, plan your pick-up and drop-off locations, reduce costs and improve visibility over your shipping.

Map and visualization

Analyze complex trends and discover actionable insights. Build engaging and intuitive map-based data visualizations.

Master data management

Rely on a single source of truth to ensure accuracy, consistency, and timeliness across your systems and organization.

Sales and marketing

Segment customers for site selection, analytics, geofencing, campaigns, mapping, and targeted ads.

Discover more advantages

Ready to Get Started?

Download our sample United Kingdom postal code dataset.

Frequently Asked Questions

What is the ZIP code of London?

London does not have a single ZIP code; the United Kingdom uses postcodes and London contains many. For example, central London uses SW1A 1AA (Buckingham Palace).

What is a 5-digit ZIP code in the United Kingdom?

The United Kingdom does not use 5-digit ZIP codes. It uses alphanumeric postcodes (format e.g. AA9 9AA). Example: SW1A 1AA (Buckingham Palace).

Are there ZIP codes in the United Kingdom?

No. The United Kingdom does not use ZIP codes; it uses postcodes instead. The standard format is AA9 9AA (outward code then inward code), which identifies small geographic areas or individual addresses.

Does the United Kingdom have postal codes?

Yes. The United Kingdom uses postcodes (alphanumeric codes) to identify addresses for mail sorting and navigation. Typical format is AA9 9AA (for example, SW1A 1AA). Postcodes are assigned nationwide and maintained by Royal Mail.

Which town has the ZIP code 12345 in the United Kingdom?

There is no UK postcode “12345”. United Kingdom postcodes use alphanumeric formats (e.g., AA9 9AA) rather than five-digit ZIP codes; “12345” is a US ZIP format and not used for any town in the UK.

Does the United Kingdom use ZIP codes like the United States?

The United Kingdom does not use ZIP codes; it uses postcodes instead, typically in formats like AA9 9AA (e.g., SW1A 1AA for Buckingham Palace). Postcodes identify specific areas, streets, or even single addresses.

Does the United Kingdom have a ZIP code system?

No. The United Kingdom does not use a ZIP code system; it uses postcodes for addresses, typically formatted like AA9 9AA.

Which country code is mistaken for ZIP code in the United Kingdom?

The country code often mistaken for the ZIP code is “UK”. The official ISO 3166-1 alpha-2 code is “GB”, though “UK” is reserved and commonly used; addresses in the United Kingdom use a postcode (format like AA9 9AA).

How to write an address in the United Kingdom?

Recipient’s name
Business or department name (if applicable)
Flat/Unit/Building Name (if applicable)
House number and street name
Locality (where locality differs from the city)
CITY NAME (in all caps)
Postcode (7 digits)
Country – UNITED KINGDOM (in all caps)

Example:
John Smith
4 Church Street
West Coker
YEOVIL
BA22 9BD
UNITED KINGDOM

What is the ZIP code of the United Kingdom?

The United Kingdom does not have a single ZIP code. It uses postcodes in the format AA9 9AA, with each area, town, and street assigned its own postcode.

What is the postal code format in the United Kingdom?

The postal code format in the United Kingdom (called a postcode) generally follows patterns such as AA9 9AA, with variations like A9 9AA, A99 9AA, AA99 9AA and AA9A 9AA.

How many digits is a ZIP code in the United Kingdom?

The United Kingdom uses postcodes that include letters and digits. There is always one digit in the inward part and one or two digits in the outward part, so a full postcode contains two or three digits depending on the format.

Do addresses in the United Kingdom include ZIP codes?

Yes. UK addresses include a postcode (the equivalent of a ZIP code), usually placed on the last line of the address. The standard format is “AA9 9AA”.

Where is ZIP code SW1A 1AA in the United Kingdom?

SW1A 1AA is in central London (City of Westminster), United Kingdom; it is the postcode for Buckingham Palace.

Updated: October 1, 2026