This dataset is free to download without registration. It is reviewed and updated twice annually, normally in March and September, with stable column names wherever possible.

SHA-256: 6a97688401b06faee2db80c5e21d53dce89ac18542ab394f5e4097f5934b5a05

Download by postcode area

The full file is too large for Excel, which stops at 1,048,576 rows. Each file below holds one postcode area with the same columns, so it opens straight into a spreadsheet.

Data preview

full postcodecouncilcountywardconstituencycountry
AB10 1ABAberdeen CityGeorge St/HarbourAberdeen SouthScotland
AB10 1AFAberdeen CityGeorge St/HarbourAberdeen SouthScotland
AB10 1AGAberdeen CityGeorge St/HarbourAberdeen SouthScotland
AB10 1AHAberdeen CityGeorge St/HarbourAberdeen SouthScotland
AB10 1ALAberdeen CityGeorge St/HarbourAberdeen SouthScotland

Data dictionary

full_postcode
The complete unit postcode in its conventional spaced form.
outcode
The outward code or postcode district, for example M14.
postcode_area
Alphabetic postcode area, for example M.
council
Local authority district, unitary authority, metropolitan or London borough.
council_code
ONS code for the council, for example E08000003.
county
County council where the area has two tiers; blank for unitary areas.
county_code
ONS code for the county council; blank where not applicable.
ward
Electoral ward (electoral division in some areas).
ward_code
ONS code for the ward.
parish
Civil parish or community, or the unparished part of a council (England and Wales).
parish_code
ONS code for the parish or unparished area.
constituency
Westminster parliamentary constituency (2024 boundaries).
constituency_code
ONS code for the constituency.
region
Region (England only).
country
England, Scotland, Wales, Northern Ireland, Channel Islands or Isle of Man.

Methodology and sources

Built directly from the ONS Postcode Directory release named on this page, not from older copies, so councils, wards and constituencies reflect current boundaries (including the councils created in 2023 and the 2024 Westminster constituencies). Only live postcodes are included. Names come from the ONS names and codes files in the same release. The council is the lower-tier or unitary authority that runs services such as bins and council tax; county is filled only where a two-tier county council also covers the postcode. A postcode is assigned to one area even where its addresses straddle a boundary, so check the exact address with the council for anything that matters. Fields are blank where ONS records no area, mainly non-geographic postcodes and the Channel Islands and Isle of Man. Commercial use of Northern Ireland (BT) postcodes needs a separate licence from Land & Property Services.

  • ONS Postcode Directory (ONSPD), Office for National Statistics
  • Ordnance Survey and Royal Mail postcode geography
  • Land & Property Services Northern Ireland postcode data

Source datasets change over time and can contain omissions or revisions. Verify operational, admissions, financial or safety-critical decisions with the responsible authority.

Licence and suggested attribution

You may use this compilation for research, analysis and publishing with attribution to Postcodes UK and compliance with the applicable underlying source licences. The download does not transfer or override third-party rights.

Suggested attribution:

Source: Postcodes UK (postcodesuk.com), “UK Postcode to Council Lookup”, November 2026, https://postcodesuk.com/data-downloads/postcode-council-lookup. Contains public sector information licensed under the Open Government Licence v3.0; additional source rights and attribution statements apply.

Office for National Statistics and other public-sector information is used under the Open Government Licence v3.0. Postcode geography may contain Ordnance Survey and Royal Mail rights. HM Land Registry aggregates are derived from Price Paid Data. School fields derive from Department for Education and Ofsted sources.