United Kingdom ZIP Code Dataset

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

Sample Dataset United Kingdom

ISOCountryLanguageRegion 1Region 2Region 3Region 4LocalityZip CodeLatitudeLongitudeTimezone
GBUnited KingdomENEnglandGreater LondonThis region doesn’t exist for this countryBrentKentonHA3 0JA51.581595-0.315256
GBUnited KingdomENEnglandGreater LondonThis region doesn’t exist for this countryBrentKentonHA3 0LH51.579186-0.312777
GBUnited KingdomENEnglandGreater LondonThis region doesn’t exist for this countryBrentKentonHA3 0LJ51.579189-0.311781
GBUnited KingdomENEnglandGreater LondonThis region doesn’t exist for this countryBrentKentonHA3 0LL51.578875-0.309339
GBUnited KingdomENEnglandGreater LondonThis region doesn’t exist for this countryBrentKentonHA3 0LN51.579165-0.310078
GBUnited KingdomENEnglandGreater LondonThis region doesn’t exist for this countryBrentKentonHA3 0LW51.579302-0.307706
GBUnited KingdomENEnglandGreater LondonThis region doesn’t exist for this countryBrentKentonHA3 0NJ51.58073-0.299556
GBUnited KingdomENEnglandGreater LondonThis region doesn’t exist for this countryBrentKentonHA3 0QT51.576636-0.295668
GBUnited KingdomENEnglandGreater LondonThis region doesn’t exist for this countryBrentKentonHA3 0QU51.57762-0.296497
GBUnited KingdomENEnglandGreater LondonThis region doesn’t exist for this countryBrentKentonHA3 0QX51.577409-0.295639
GBUnited KingdomENEnglandGreater LondonThis region doesn’t exist for this countryBrentKentonHA3 0QY51.57883-0.296856
GBUnited KingdomENEnglandGreater LondonThis region doesn’t exist for this countryBrentKentonHA3 0RA51.578457-0.297217
GBUnited KingdomENEnglandGreater LondonThis region doesn’t exist for this countryBrentKentonHA3 0RB51.579931-0.298403
GBUnited KingdomENEnglandGreater LondonThis region doesn’t exist for this countryBrentKentonHA3 0RD51.581352-0.299605
GBUnited KingdomENEnglandGreater LondonThis region doesn’t exist for this countryBrentKentonHA3 0RE51.580396-0.298169
GBUnited KingdomENEnglandGreater LondonThis region doesn’t exist for this countryBrentKentonHA3 0RF51.58175-0.299201
GBUnited KingdomENEnglandGreater LondonThis region doesn’t exist for this countryBrentKentonHA3 0ST51.582177-0.316317
GBUnited KingdomENEnglandGreater LondonThis region doesn’t exist for this countryBrentKentonHA3 0TS51.58372-0.295533
GBUnited KingdomENEnglandGreater LondonThis region doesn’t exist for this countryBrentKentonHA3 0TT51.584693-0.29502
GBUnited KingdomENEnglandGreater LondonThis region doesn’t exist for this countryBrentKentonHA3 0TU51.58509-0.294515
GBUnited KingdomENEnglandGreater LondonThis region doesn’t exist for this countryBrentKentonHA3 0UX51.583378-0.297971
GBUnited KingdomENEnglandGreater LondonThis region doesn’t exist for this countryBrentKentonHA3 0YB51.585055-0.300102
GBUnited KingdomENEnglandGreater LondonThis region doesn’t exist for this countryBrentKentonHA3 0YD51.58573-0.300164
GBUnited KingdomENEnglandGreater LondonThis region doesn’t exist for this countryHarrowNorth HarrowHA2 6AE51.588469-0.359319
GBUnited KingdomENEnglandGreater LondonThis region doesn’t exist for this countryHarrowNorth HarrowHA2 6AF51.588327-0.358833
GBUnited KingdomENEnglandGreater LondonThis region doesn’t exist for this countryHarrowNorth HarrowHA2 6HX51.588914-0.361584
GBUnited KingdomENEnglandGreater LondonThis region doesn’t exist for this countryHarrowNorth HarrowHA2 6QJ51.593153-0.347081
GBUnited KingdomENEnglandGreater LondonThis region doesn’t exist for this countryHarrowNorth HarrowHA2 7DA51.579049-0.361491
GBUnited KingdomENEnglandGreater LondonThis region doesn’t exist for this countryHarrowNorth HarrowHA2 7DB51.578705-0.362023
GBUnited KingdomENEnglandGreater LondonThis region doesn’t exist for this countryHarrowNorth HarrowHA2 7DD51.580121-0.363589
GBUnited KingdomENEnglandGreater LondonThis region doesn’t exist for this countryHarrowNorth HarrowHA2 7DE51.580421-0.36316
GBUnited KingdomENEnglandGreater LondonThis region doesn’t exist for this countryHarrowNorth HarrowHA2 7DF51.58129-0.364211
GBUnited KingdomENEnglandGreater LondonThis region doesn’t exist for this countryHarrowNorth HarrowHA2 7LT51.578746-0.370118
GBUnited KingdomENEnglandGreater LondonThis region doesn’t exist for this countryHarrowNorth HarrowHA2 7NZ51.580157-0.370689
GBUnited KingdomENEnglandGreater LondonThis region doesn’t exist for this countryHarrowNorth HarrowHA2 7PZ51.583402-0.366719
GBUnited KingdomENEnglandGreater LondonThis region doesn’t exist for this countryHarrowNorth HarrowHA2 7QA51.582295-0.365402
GBUnited KingdomENEnglandGreater LondonThis region doesn’t exist for this countryHarrowNorth HarrowHA2 7QB51.582096-0.365943
GBUnited KingdomENEnglandGreater LondonThis region doesn’t exist for this countryHarrowNorth HarrowHA2 7QD51.583587-0.367766
GBUnited KingdomENEnglandGreater LondonThis region doesn’t exist for this countryHarrowNorth HarrowHA2 7QE51.584088-0.36756
GBUnited KingdomENEnglandGreater LondonThis region doesn’t exist for this countryHarrowNorth HarrowHA2 7QL51.586969-0.373029
GBUnited KingdomENEnglandGreater LondonThis region doesn’t exist for this countryHarrowNorth HarrowHA2 7QN51.586651-0.37343
GBUnited KingdomENEnglandGreater LondonThis region doesn’t exist for this countryHarrowNorth HarrowHA2 7SA51.584719-0.361244
GBUnited KingdomENEnglandGreater LondonThis region doesn’t exist for this countryHarrowNorth HarrowHA2 7SE51.585526-0.361056
GBUnited KingdomENEnglandGreater LondonThis region doesn’t exist for this countryHarrowNorth HarrowHA2 7SJ51.584336-0.362167
GBUnited KingdomENEnglandGreater LondonThis region doesn’t exist for this countryHarrowNorth HarrowHA2 7SR51.585091-0.362111
GBUnited KingdomENEnglandGreater LondonThis region doesn’t exist for this countryHarrowNorth HarrowHA2 7ST51.584758-0.361445
GBUnited KingdomENEnglandGreater LondonThis region doesn’t exist for this countryHarrowNorth HarrowHA2 7SU51.585668-0.361585
GBUnited KingdomENEnglandGreater LondonThis region doesn’t exist for this countryHarrowNorth HarrowHA2 7SW51.584585-0.362562
GBUnited KingdomENEnglandGreater LondonThis region doesn’t exist for this countryHarrowNorth HarrowHA2 7SX51.585615-0.36163
GBUnited KingdomENEnglandGreater LondonThis region doesn’t exist for this countryCity of WestminsterLondonEC4A 2AH51.513968-0.11127
ISOCountryLanguageRegion 1Region 2Region 3Region 4LocalityZip CodeLatitudeLongitudeTimezone
GBUnited KingdomENEnglandGreater LondonThis region doesn’t exist for this countryBrentKentonHA3 0JA51.581595-0.315256
GBUnited KingdomENEnglandGreater LondonThis region doesn’t exist for this countryBrentKentonHA3 0LH51.579186-0.312777
GBUnited KingdomENEnglandGreater LondonThis region doesn’t exist for this countryBrentKentonHA3 0LJ51.579189-0.311781
GBUnited KingdomENEnglandGreater LondonThis region doesn’t exist for this countryBrentKentonHA3 0LL51.578875-0.309339
GBUnited KingdomENEnglandGreater LondonThis region doesn’t exist for this countryBrentKentonHA3 0LN51.579165-0.310078
GBUnited KingdomENEnglandGreater LondonThis region doesn’t exist for this countryBrentKentonHA3 0LW51.579302-0.307706
GBUnited KingdomENEnglandGreater LondonThis region doesn’t exist for this countryBrentKentonHA3 0NJ51.58073-0.299556
GBUnited KingdomENEnglandGreater LondonThis region doesn’t exist for this countryBrentKentonHA3 0QT51.576636-0.295668
GBUnited KingdomENEnglandGreater LondonThis region doesn’t exist for this countryBrentKentonHA3 0QU51.57762-0.296497
GBUnited KingdomENEnglandGreater LondonThis region doesn’t exist for this countryBrentKentonHA3 0QX51.577409-0.295639
GBUnited KingdomENEnglandGreater LondonThis region doesn’t exist for this countryBrentKentonHA3 0QY51.57883-0.296856
GBUnited KingdomENEnglandGreater LondonThis region doesn’t exist for this countryBrentKentonHA3 0RA51.578457-0.297217
GBUnited KingdomENEnglandGreater LondonThis region doesn’t exist for this countryBrentKentonHA3 0RB51.579931-0.298403
GBUnited KingdomENEnglandGreater LondonThis region doesn’t exist for this countryBrentKentonHA3 0RD51.581352-0.299605
GBUnited KingdomENEnglandGreater LondonThis region doesn’t exist for this countryBrentKentonHA3 0RE51.580396-0.298169
GBUnited KingdomENEnglandGreater LondonThis region doesn’t exist for this countryBrentKentonHA3 0RF51.58175-0.299201
GBUnited KingdomENEnglandGreater LondonThis region doesn’t exist for this countryBrentKentonHA3 0ST51.582177-0.316317
GBUnited KingdomENEnglandGreater LondonThis region doesn’t exist for this countryBrentKentonHA3 0TS51.58372-0.295533
GBUnited KingdomENEnglandGreater LondonThis region doesn’t exist for this countryBrentKentonHA3 0TT51.584693-0.29502
GBUnited KingdomENEnglandGreater LondonThis region doesn’t exist for this countryBrentKentonHA3 0TU51.58509-0.294515
GBUnited KingdomENEnglandGreater LondonThis region doesn’t exist for this countryBrentKentonHA3 0UX51.583378-0.297971
GBUnited KingdomENEnglandGreater LondonThis region doesn’t exist for this countryBrentKentonHA3 0YB51.585055-0.300102
GBUnited KingdomENEnglandGreater LondonThis region doesn’t exist for this countryBrentKentonHA3 0YD51.58573-0.300164
GBUnited KingdomENEnglandGreater LondonThis region doesn’t exist for this countryHarrowNorth HarrowHA2 6AE51.588469-0.359319
GBUnited KingdomENEnglandGreater LondonThis region doesn’t exist for this countryHarrowNorth HarrowHA2 6AF51.588327-0.358833
GBUnited KingdomENEnglandGreater LondonThis region doesn’t exist for this countryHarrowNorth HarrowHA2 6HX51.588914-0.361584
GBUnited KingdomENEnglandGreater LondonThis region doesn’t exist for this countryHarrowNorth HarrowHA2 6QJ51.593153-0.347081
GBUnited KingdomENEnglandGreater LondonThis region doesn’t exist for this countryHarrowNorth HarrowHA2 7DA51.579049-0.361491
GBUnited KingdomENEnglandGreater LondonThis region doesn’t exist for this countryHarrowNorth HarrowHA2 7DB51.578705-0.362023
GBUnited KingdomENEnglandGreater LondonThis region doesn’t exist for this countryHarrowNorth HarrowHA2 7DD51.580121-0.363589
GBUnited KingdomENEnglandGreater LondonThis region doesn’t exist for this countryHarrowNorth HarrowHA2 7DE51.580421-0.36316
GBUnited KingdomENEnglandGreater LondonThis region doesn’t exist for this countryHarrowNorth HarrowHA2 7DF51.58129-0.364211
GBUnited KingdomENEnglandGreater LondonThis region doesn’t exist for this countryHarrowNorth HarrowHA2 7LT51.578746-0.370118
GBUnited KingdomENEnglandGreater LondonThis region doesn’t exist for this countryHarrowNorth HarrowHA2 7NZ51.580157-0.370689
GBUnited KingdomENEnglandGreater LondonThis region doesn’t exist for this countryHarrowNorth HarrowHA2 7PZ51.583402-0.366719
GBUnited KingdomENEnglandGreater LondonThis region doesn’t exist for this countryHarrowNorth HarrowHA2 7QA51.582295-0.365402
GBUnited KingdomENEnglandGreater LondonThis region doesn’t exist for this countryHarrowNorth HarrowHA2 7QB51.582096-0.365943
GBUnited KingdomENEnglandGreater LondonThis region doesn’t exist for this countryHarrowNorth HarrowHA2 7QD51.583587-0.367766
GBUnited KingdomENEnglandGreater LondonThis region doesn’t exist for this countryHarrowNorth HarrowHA2 7QE51.584088-0.36756
GBUnited KingdomENEnglandGreater LondonThis region doesn’t exist for this countryHarrowNorth HarrowHA2 7QL51.586969-0.373029
GBUnited KingdomENEnglandGreater LondonThis region doesn’t exist for this countryHarrowNorth HarrowHA2 7QN51.586651-0.37343
GBUnited KingdomENEnglandGreater LondonThis region doesn’t exist for this countryHarrowNorth HarrowHA2 7SA51.584719-0.361244
GBUnited KingdomENEnglandGreater LondonThis region doesn’t exist for this countryHarrowNorth HarrowHA2 7SE51.585526-0.361056
GBUnited KingdomENEnglandGreater LondonThis region doesn’t exist for this countryHarrowNorth HarrowHA2 7SJ51.584336-0.362167
GBUnited KingdomENEnglandGreater LondonThis region doesn’t exist for this countryHarrowNorth HarrowHA2 7SR51.585091-0.362111
GBUnited KingdomENEnglandGreater LondonThis region doesn’t exist for this countryHarrowNorth HarrowHA2 7ST51.584758-0.361445
GBUnited KingdomENEnglandGreater LondonThis region doesn’t exist for this countryHarrowNorth HarrowHA2 7SU51.585668-0.361585
GBUnited KingdomENEnglandGreater LondonThis region doesn’t exist for this countryHarrowNorth HarrowHA2 7SW51.584585-0.362562
GBUnited KingdomENEnglandGreater LondonThis region doesn’t exist for this countryHarrowNorth HarrowHA2 7SX51.585615-0.36163
GBUnited KingdomENEnglandGreater LondonThis region doesn’t exist for this countryCity of WestminsterLondonEC4A 2AH51.513968-0.11127
See all data

Showing postal codes

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'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
    • Two parts: outward code (area + district) and inward code (sector + unit)
    • Extremely granular, often down to a single building (~15 addresses per unit)
    • 1,795,653 postcodes covering 402 regions and 32,082 towns

    Regional Examples:

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

    • Format: Alphanumeric, 6–8 characters (e.g., SW1A 1AA).
    • Hierarchical levels: Outward code = area + district; inward code = sector + unit.
    • Key challenges: Postcodes are routing-oriented, not geographic; some span administrative boundaries. British Forces and island codes exist separately.
  • Management & Authority

    • Primary postal authority: Royal Mail.
    • Update frequency: Official updates weekly; redistributed quarterly via licensed partners.
    • 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

United Kingdom ZIP & Administrative boundaries

Comprehensive boundary data from GeoPostcodes for all United Kingdom postal codes, provinces, territories, and administrative divisions.

United Kingdom Administrative Divisions

The database follows a standardized and unified structure you can integrate without becoming an expert in each country’s unique administrative hierarchy.

Key Features:

  • 247 countries
  • Unified global hierarchy
  • Up to 5 administrative levels
  • Includes complex geographies

United Kingdom Address Format

The GeoPostcodes database ensures addresses follow the correct format for United Kingdom, ensuring a smooth address validation experience.

Our database offers comprehensive address validation to reduce delivery errors and improve efficiency.

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 Format

Comma-separated values for
spreadsheet applications and data analysis tools

GeoJSON Format

JavaScript Object Notation for
web applications and modern development

GML Format

Extensible Markup Language for enterprise systems and legacy applications

DAT Format

Database-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.
Region1
Region2
Region3
Region4
Char(80)
Administrative division level 1
Administrative division level 2
Administrative division level 3
Administrative division level 4
These 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.
Latitude
Longitude
DoublePlace 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.

Global Location Databases

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

GeoPostcodes-Zip code database

Postal Code Database

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

Key features

  • 247 Countries
  • 15,9M Coordinates
  • 9,3M Postal Codes
  • 401 Time zones
  • 4M Cities and Towns
  • 116K UNLOCODES

Specifications

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

Boundary Data

A global dataset of polygons representing postal codes and administrative areas.

Key features

  • 247 Countries
  • Up to 6 levels
  • 880K boundaries
  • High-precision
  • 316K Admin areas
  • Visualization

Specifications

  • Coverage: Global
  • Format: GeoJSON, Geopackage, KML, Shapefile (SHP)
GeoPostcodes - population

Population Database

Global population estimates at postal code and administrative level covering a span of 55 years: past, present, and future.

Key features

  • 247 Countries
  • 316K Admin areas
  • 55 year span
  • Yearly updates
  • 9,3M ZIP codes

Specifications

  • Coverage: International
  • Format: CSV, ASC
GeoPostcodes-Streets Database

Address Database

International dataset with all administrative areas, cities, streets, and relevant postal codes.

Key features

  • 81 Countries
  • 299 languages
  • 26,5M streets
  • 401 time zones
  • 9.3M ZIP codes
  • 4M cities

Specifications

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

Use Cases for Postal Data

From address validation to market analysis, our postal code data powers
key operations

Ready to Get Started?

Download our sample United Kingdom postal code dataset.

Frequently Asked Questions

A valid UK postcode consists of letters and numbers in a specific format, such as SW1A 1AA or M1 1AE. It helps identify precise locations for mail delivery.

A postcode in the UK is an alphanumeric code used to identify specific geographic areas for efficient mail sorting and delivery. It typically consists of two parts: the outward code and the inward code.

A UK English postcode is an alphanumeric code used for postal addressing in the United Kingdom. It follows formats like AB1 2CD, facilitating mail delivery and location identification.

The UK does not use zip codes; instead, it uses postcodes. For example, London’s Buckingham Palace has the postcode SW1A 1AA.

An outward code is the first part of a UK postcode, consisting of one or two letters followed by one or two numbers. It identifies the postcode area and postcode district.

For example, in the postcode “SW1A 1AA”, “SW1A” is the outward code. The outward code helps sort mail at the initial stages of the delivery process.

A postcode unit generally represents a specific area, usually a small group of addresses or even a single address.

It is the most detailed level in the UK postcode system, facilitating precise mail delivery. For example, “SW1A 1AA” is a postcode unit representing just one building or a few addresses on a street.

Insurance companies use alphanumeric codes in UK postcodes to determine the risk associated with a specific location. The codes help identify areas prone to theft, flooding, or other risks, allowing insurers to calculate premiums more accurately.

The precise location information from postcode units helps offer tailored insurance rates based on the specific risk factors of that area.

Outward codes are part of the broader postcode area system. They consist of the postcode district and are used to direct mail to the correct geographical region.

For instance, in the postcode “SW1A 1AA”, “SW1A” is the outward code. This code is crucial for the initial sorting of mail by the Royal Mail.

The sector and delivery point codes further break down the postcode district. The postcode sector code identifies the sector, such as “SW1A 1” in “SW1A 1AA.” The delivery point is even more specific, pinpointing individual addresses within that sector.

This level of detail ensures efficient and accurate mail delivery.

When a postcode has “only its own letters,” the letters in the outward or inward code are unique to that particular area or unit.

This uniqueness helps reduce errors in mail sorting and delivery. For example, the postcode unit “SW1A 1AA” has a unique combination of letters that accurately identifies a specific location.

Postcode districts are subdivisions within postcode areas. A postcode area is denoted by the initial one or two letters of the postcode, indicating a broad geographical region.

The postcode district further narrows down this region. For example, in “SW1A 1AA”, “SW” is the postcode area, and “1A” is the postcode district.