https://www.ons.gov.uk/methodology/geography/licenceshttps://www.ons.gov.uk/methodology/geography/licences
This is the ONS Postcode Directory (ONSPD) for the United Kingdom as at February 2023 in Comma Separated Variable (CSV) and ASCII text (TXT) formats. This file contains the multi CSVs so that postcode areas can be opened in MS Excel. To download the zip file click the Download button. The ONSPD relates both current and terminated postcodes in the United Kingdom to a range of current statutory administrative, electoral, health and other area geographies. It also links postcodes to pre-2002 health areas, 1991 Census enumeration districts for England and Wales, 2001 Census Output Areas (OA) and Super Output Areas (SOA) for England and Wales, 2001 Census OAs and SOAs for Northern Ireland and 2001 Census OAs and Data Zones (DZ) for Scotland. It now contains 2021 Census OAs and SOAs for England and Wales. It helps support the production of area based statistics from postcoded data. The ONSPD is produced by ONS Geography, who provide geographic support to the Office for National Statistics (ONS) and geographic services used by other organisations. The ONSPD is issued quarterly. (File size - 234 MB)NOTE: The 2022 ONSPDs included an incorrect update of the ITL field with two LA changes in Northamptonshire. This error has been corrected from the February 2023 ONSPD.NOTE: There was an issue with the originally published file where some change orders yet to be included in OS Boundary-LineÔ (including The Cumbria (Structural Changes) Order 2022, The North Yorkshire (Structural Changes) Order 2022 and The Somerset (Structural Changes) Order 2022) were mistakenly implemented for terminated postcodes. Version 2 corrects this, so that ward codes E05014171–E05014393 are not yet included. Please note that this product contains Royal Mail, Gridlink, LPS (Northern Ireland), Ordnance Survey and ONS Intellectual Property Rights.
https://www.ons.gov.uk/methodology/geography/licenceshttps://www.ons.gov.uk/methodology/geography/licences
This is the ONS Postcode Directory (ONSPD) for the United Kingdom as at August 2024 in Comma Separated Variable (CSV) and ASCII text (TXT) formats. This file contains the multi CSVs so that postcode areas can be opened in MS Excel. To download the zip file click the Download button. The ONSPD relates both current and terminated postcodes in the United Kingdom to a range of current statutory administrative, electoral, health and other area geographies. It also links postcodes to pre-2002 health areas, 1991 Census enumeration districts for England and Wales, 2001 Census Output Areas (OA) and Super Output Areas (SOA) for England and Wales, 2001 Census OAs and SOAs for Northern Ireland and 2001 Census OAs and Data Zones (DZ) for Scotland. It also contains 2021 Census OAs and SOAs for England, Wales and Northern Ireland and 2021 Census OAs for Scotland. It helps support the production of area-based statistics from postcoded data. The ONSPD is produced by ONS Geography, who provide geographic support to the Office for National Statistics (ONS) and geographic services used by other organisations. The ONSPD is issued quarterly. (File size - 236 MB) Please note that this product contains Royal Mail, Gridlink, LPS (Northern Ireland), Ordnance Survey and ONS Intellectual Property Rights.
https://www.ons.gov.uk/methodology/geography/licenceshttps://www.ons.gov.uk/methodology/geography/licences
This file contains the National Statistics Postcode Lookup (NSPL) for the United Kingdom as at May 2022 in Comma Separated Variable (CSV) and ASCII text (TXT) formats. To download the zip file click the Download button. The NSPL relates both current and terminated postcodes to a range of current statutory geographies via ‘best-fit’ allocation from the 2011 Census Output Areas (national parks and Workplace Zones are exempt from ‘best-fit’ and use ‘exact-fit’ allocations). It supports the production of area based statistics from postcoded data. The NSPL is produced by ONS Geography, who provide geographic support to the Office for National Statistics (ONS) and geographic services used by other organisations. The NSPL is issued quarterly. (File size - 196 MB).
This file contains the ONS Postcode Directory (ONSPD) for London. The ONSPD relates both current and terminated postcodes in the United Kingdom to a range of current statutory administrative, electoral, health and other area geographies. It also links postcodes to pre-2002 health areas, 1991 Census enumeration districts (for England and Wales), 2001 and 2011 Census output and super output areas (England and Wales).
The ONSPD is produced by ONS Geography, who provide geographic support to the Office for National Statistics (ONS) and geographic services used by other organisations. The ONSPD is issued quarterly. Please note that this product contains Royal Mail, Gridlink, Ordnance Survey and ONS Intellectual Property Rights.
The full UK dataset is available for download from the ONS GeoPortal
http://www.ons.gov.uk/ons/guide-method/geography/beginner-s-guide/licences/index.htmlhttp://www.ons.gov.uk/ons/guide-method/geography/beginner-s-guide/licences/index.html
UK postcode lookups, based on the National Statistics Postcode Lookup published by ONS in May 2020
You might also find reference data on area cost uplifts and disadvantage uplift factors to use with funding calculations useful.
We use this data in the funding system to support publicly funded education and skills in England; covering the adult skills fund, both in devolved and non-devolved areas.
The guidance document accompanying the data file explains how we use this data and what you can do with it to aid your enrolment of learners, and creation of individualised learner record data.
The complete ASF postcode dataset is too large for you to open conventionally in spreadsheet software. You can load this file into a database or BI software to query the whole dataset.
To allow you to view the data in a spreadsheet, we have split the complete ASF postcode dataset into several spreadsheet readable csv files.
This file contains just the postcodes from the complete ASF postcode file that fall within devolved authority areas.
This file contains all postcodes from the complete ASF postcode file that begin with the letters A to K, including all Education and Skills Funding Agency (ESFA) funded, devolved authority funded and non-funded British (Welsh and Scottish) postcodes.
This file contains all postcodes from the complete ASF postcode file that begin with the letters L to R, including all ESFA funded, devolved authority funded and non-funded British (Welsh and Scottish) postcodes.
This file contains all postcodes from the complete ASF postcode file that begin with the letters S to Z, including all ESFA funded, devolved authority funded and non-funded British (Welsh and Scottish) postcodes.
A list of businesses located in London showing a range of information including company name, address, postcode, local authority, and SIC code (industry).
The Free Company Data Product is a downloadable data snapshot containing basic company data of live companies on the register. The version available from Companies House has all UK business and is available to download in a series of Zip folders.
The London cut available to download here, was created using a postcode list. Therefore, if there is an error in the postcode, or some other problem caused the postcode listed not to match a London postcode, those business will not be included in the file. Furthermore, inaccuracies in postcodes may mean that no local authority is listed for a company.
Each entry represents a financial accounts submission of either a whole company or part of one. Some businesses have more than one entry in the directory because they need to submit more than one set of accounts for different parts of their business. Therefore, the number of entries in the directory will be greater than the number of businesses.
Note, Large file size - the Excel file is around 1 million rows. It loads in Excel 2010.
Companies House update the latest snapshot within 5 working days of the previous month end. The London file available here was published on 1 January 2015.
From FAQ on NINIS website:
Can I obtain a copy of the lookup table which links postcodes to geographic areas?
Yes - The Northern Ireland Central Postcode Directory (CPD) lists all postcodes and the geographic areas they are allocated to. The CPD is available for download in either Access 2000 or Text file (dollar ($) separated variables) format from the NISRA website. However, users must sign and return the Terms and Conditions document available here to receive a password for access to download CPD from the NISRA website.
Terms and conditions are available at cpdtermsconditions.doc.
A list of all Postcodes within Nottingham City, with further information indicating whether the Postcode crosses the Nottingham City boundary, if so which other District part of the Postcode is within, and details of the Ward into which the majority of the postcode is located. Data definition information can be found in the 'Notes' sheet.Postcode information has been sourced from Code-Point Open, an open data product published by Ordnance Survey. The following attribution statement must be used with this data: Contains OS data © Crown copyright [and database right] [year].
Abstract copyright UK Data Service and data collection copyright owner.The UK censuses took place on 29th April 2001. They were run by the Northern Ireland Statistics & Research Agency (NISRA), General Register Office for Scotland (GROS), and the Office for National Statistics (ONS) for both England and Wales. The UK comprises the countries of England, Wales, Scotland and Northern Ireland.Statistics from the UK censuses help paint a picture of the nation and how we live. They provide a detailed snapshot of the population and its characteristics, and underpin funding allocation to provide public services. Census Support provides digitised boundary datasets of the UK, available in many Geographic Information System (GIS) formats. Most of these data are available as Open data under OGL v3 license. Postcode directories are also available although some of these are restricted to members of the academic community under 'Special Conditions'. There are many digitised boundaries available. The main group of boundaries correspond to the various levels of 2011, 2001, 1991, 1981 and 1971 census geography which are designed to be used for spatial visualisation and analysis of census statistics. Also available are historic boundaries created by the Great Britain Historical GIS Project, held at the UK Data Archive under GN 33288 Great Britain Historical Database, 1841-1939. Main Topics:Accommodation type (brief)Accommodation type (detailed)Adults, Number Employed in HouseholdAdults, Number in HouseholdAgeAge of Family Reference Person (FRP)Age of Household Reference Person (HRP)Age of Students and SchoolchildrenAmenitiesArmed ForcesBath/Shower and Toilet, use ofCare (unpaid), Provision ofCare, Provision ofCarers and their Economic Activity, Number ofCars and vansCentral heatingChildrenChildren, dependentCommunal Establishment ResidentsCommunal establishment, combined type and managementConcealed familiesCountry of birthCountry of Birth (additional categories)Daytime PopulationDwelling TypeEconomic ActivityEconomic Activity of Associated People Resident in HouseholdsEconomic Activity of Full-time studentsEconomic Activity of Household Reference Person (HRP)Ethnic group (England and Wales)Ethnic group (England and Wales) of Household Reference PersonFamily compositionFamily statusFamily typeHealth, GeneralHours workedHousehold compositionHousehold composition (alternative classification)Household dependent childrenHousehold deprivationHousehold Reference Person indicatorHousehold sizeHousehold Space TypeHousehold TypeHouseholds with students away during term-timeIndustryIndustry, formerLimiting long-term illnessLimiting Long-Term Illness (LLTI), Household residents withLimiting long-Term Illness, number of people with in householdLiving arrangementsLiving arrangements of Household Reference Person (HRP)Lowest floor levelMarital statusMigration (armed forces)Migration (Communal establishment)Migration (People)Multiple ethnic identifierOccupancy RatingOccupation (brief)Occupation (detailed)Occupation, formerPensioner householdPeople aged 17 or over in household, Number ofPopulation TypePublic transport users in householdsQualifications (England and Wales)Qualifications, highest level of (England and Wales)Qualifications, professionalReligion (England and Wales)Religion (England and Wales) of Household Reference PersonResident BasisResident TypeRooms in a dwelling, number ofRooms, Number ofRooms, Persons perSexSex of Household Reference Person (HRP)Single Adult HouseholdsSocial Grade of Household Reference Person (HRP), approximatedSocial Grade, approximatedSocio-economic Classification (NS-SeC)Socio-economic Classification (NS-SeC) of Household Reference Person (HRP)Socio-economic Classification (NS-SeC) of Household Reference Person (HRP), Main categories ofStudent accommodation (Standard Output)Student accommodation TypeStudent statusTenureTenure, dwellingTime Since Last WorkedTravel to Work, distanceTravel to work, Means ofTravel to Work, Method of and Number of Employed PeopleWorking ParentsYear last worked Census Support provides the following facilities: • Easy Download The most regularly requested Census Support boundaries available as ready to use national datasets. The key 2011 and 2001 census boundary datasets and look-up tables for England, Scotland, Northern Ireland and Wales are available through this facility • Boundary Data Selector This facility allows selection of boundaries, for the area required, in the format required. For example, Census Output Areas for several counties could be downloaded, or for a specific ward or district. The selection can be previewed over an Ordnance Survey back-drop map and then extracted from the Census Support database in one of several GIS formats. • Postcode Directory Download This facility allows the download of complete versions of current and historical postcode directories (sometimes referred to as look-up tables). These directories provide details of current and historical postcodes along with details of other geographies (e.g. electoral ward, health authority etc.) in which that postcode is located. As they contain a grid reference for the postcode they provide a convenient means to geo-reference the researchers' own datasets • Postcode Data Selector Provides more user control in terms of geographical coverage, number and range of fields selected and output options. Allows users to filter and subset data based on their needs so they only need to take small portions of the (large) directories as needed. No sampling (total universe)
You might find these adult skills fund (ASF) data files showing the funding bodies that are responsible for funding each postcode in England useful.
We use this data in funding calculations to support publicly funded education and skills in England; covering 16 to 19 study programmes, adult education budget (AEB), level 3 free courses for jobs (FCFJ), apprenticeships, the European Social Fund and advanced learner loans bursary. This includes devolved AEB and level 3 FCFJ qualifications funded by mayoral combined authorities or the Greater London Authority.
To support the devolution of AEB, we have produced postcode files to show which postcodes are within the devolved areas, and consequently which body is responsible for AEB learners resident in a given postcode.
For funded learners aged 16 to 19, we apply the most recent single funding year’s factors to all learners in that funding year, regardless of their start date.
For adult-funded aims and apprenticeship frameworks, we changed our calculations in the 2016 to 2017 year to apply the factor or cash value in our calculations based on the date when the learner started the aim or programme. For example, for learners who started adult-funded aims or apprenticeship frameworks from 1 August 2017 to 31 July 2018, we used the values from the 2017 to 2018 tables in the funding calculations for 2018 to 2019 and then in subsequent years.
The area cost uplift reflects the higher cost of delivering provision in some parts of the country, such as London and the south east.
These are uplifts or amounts for learners living in the most disadvantaged areas of the country.
Historically we have used various versions of the Index of Multiple Deprivation (IMD) to determine disadvantage factors and uplifts.
The IMD is assigned based on lower layer super output areas (LSOAs). LSOAs are a set of geographical areas developed, following the 2001 census, with the aim of defining areas of consistent size whose boundaries would not change between censuses.
Therefore, we initially set disadvantage factors at LSOA level, and then apply the factors to postcodes within each LSOA. We publish disadvantage information on this page at LSOA level and also at postcode level.
For the year 2021 to 2022 onwards, we use the 2019 IMD for provision funded by Education and Skills Funding Agency (ESFA). This used the LSOA mapping from the 2011 census.
For the year 2016 to 2017 up to and including the year 2020 to 2021, we used the 2015 IMD. This used the LSOA mapping from the 2011 census.
Up to the funding year 2015 to 2016, we used the 2010 IMD which used the LSOAs from the 2001 census as its underlying mapping.
Mayoral combined authorities and the Greater London Authority may wish to set different disadvantage factors to ESFA for AEB provision they fund, and the data for the 2021 to 2022 year includes disadvantage factors where they vary from <abbr title="E
Data identifying the location of all the postcodes in Cambridgeshire. Extracted from OS Code-Point data® published by Ordnance Survey.
If data is used, please acknowledge the copyright and the source of the data by including the following attribution statements:
Contains OS data © Crown copyright and database right (2016)
Contains Royal Mail data © Royal Mail copyright and database right (2016)
Contains National Statistics data © Crown copyright and database right (2016)
For more details about licencing go to: https://certificates.theodi.org/en/datasets/352/certificate
Source: Code-Point® Open (Ordnance Survey) https://www.ordnancesurvey.co.uk/opendatadownload/products.html
All data is correct as of download date: 06/09/2016
Attribution 4.0 (CC BY 4.0)https://creativecommons.org/licenses/by/4.0/
License information was derived automatically
This dataset includes a series of modified UK administrative boundary shapefiles based on the 2011 census which are intended for use in more accurate visualisation of UK geospatial data analysis. There are two key features of these shapefiles: (1) administrative shapes have been clipped to the Ordnance Survey buildings shapefile, so that in choropleth visualisations relating to demographic data filled spaces represent populated areas of the UK rather than large undifferentiated blocks. (2) Shapefiles have been simplified to reduce loading and processing time, in the case of this repository at 100m. After testing, we have settled on a procedure to render buildings layer visually comprehensible at high zoom levels, by adding a small buffer, dissolving (so that individual overlapping shapes combine into a single more easily visualised shape) and then simplifying at 150m. It is important to emphasise that because of the use of simplification (using a Ramer–Douglas–Peucker algorithm), these shapefiles are not suitable for analysis as boundaries may not be suitably precise or accurate. For users interested in the process used to generate these files you can consult the codebase deposited on github.
Many thanks to colleagues including Alasdair Rae for recommendations on technique used here. Computations were performed using the University of Birmingham's BEAR Cloud service, which provides flexible resource for intensive computational work to the University's research community. See http://www.birmingham.ac.uk/bear for more details. Given the massive size of datasets involved (including the district buildings vector shapefile which is 1.4gb and consists of hundreds of thousands of individual shapes), this work would have been impossible without this invaluable resource. I hope that these files will be of use to colleagues who may not have access to similar large computational arrays and make the process of visualising UK boundary and census data more accurate and efficient.
Original files are under OGLv3 licenses. Derived data files, where possible are licensed for use under CC BY 4.0.
Files include the following:
Original unmodified data:
infuse_ctry_2011.zip - original country level shapes, based on 2011 census, downloaded from https://borders.ukdataservice.ac.uk/ukborders/easy_download
infuse_dist_lyr_2011.zip - original local authority shapes, based on 2011 census, downloaded from https://borders.ukdataservice.ac.uk/ukborders/easy_download
TermsAndConditions.html - UK Data Service license details (OGLv3), applies to all the above
GB_Postcodes.zip - UK postcode district shapes, prepared by Addy Pope, https://datashare.ed.ac.uk/handle/10283/2597
Derived data files:
OS_Open_Zoomstack_district_buildings.zip - buildings layer extracted from Ordnance Survey Zoomstack package, licensed under OGLv3 and exported to gpkg format.
*_simplified_100m.gpkg - Administrative shapes from above, simplified in R at a resolution of 100 metres.
*_simplified_100m_buildings_overlay_simplified.gpkg - Administrative shapes from above, simplified in R at a resolution of 100 metres, and then clipped to the buildings layer.
*_simplified_100m_buildings_overlay_simplified.gpkg - Administrative shapes from above, simplified in R at a resolution of 100 metres, and then run against the buildings layer as a difference layer. Suitable for using as an overlay as the shapes are inverse.
Users who wish to use these shapefiles in a reproducible research context may want to download individual files directly from this repository. To do so, you could use the following R code:
require(sf) # load simplefeature data class, supercedes sp() and used for st_read
require(ragg)
if (dir.exists("data") == FALSE) { dir.create("data") }
if (file.exists("data/infuse_dist_lyr_2011.shp") == FALSE) { download.file("https://borders.ukdataservice.ac.uk/ukborders/easy_download/prebuilt/shape/infuse_dist_lyr_2011.zip", destfile = "data/infuse_dist_lyr_2011.zip") unzip("infuse_dist_lyr_2011.zip", exdir = "data")} local_authorities <- st_read("data/infuse_dist_lyr_2011.shp")
https://www.ons.gov.uk/methodology/geography/licenceshttps://www.ons.gov.uk/methodology/geography/licences
A lookup between postcodes and postcode sectors, postcode districts and postcode areas as at March 2021 in England and Wales (File size 5MB).
https://www.ons.gov.uk/methodology/geography/licenceshttps://www.ons.gov.uk/methodology/geography/licences
This file contains the 'Full' NHS Postcode Directory (NHSPD) as at November 2022. The NHSPD relates both current and terminated postcodes in the United Kingdom to a range of current statutory administrative, electoral, health and other geographies. It also links postcodes to pre-2002 health areas and both 2001 Census and 2011 Census Output Areas and Super Output Areas. The NHSPD is issued quarterly. For further technical information about this file, please refer to the User Guide contained within the downloadable zip file. Please note that this product contains Royal Mail, Gridlink, LPS (Northern Ireland), Ordnance Survey and ONS Intellectual Property Rights. (File Size - 108 MB)
https://www.ons.gov.uk/methodology/geography/licenceshttps://www.ons.gov.uk/methodology/geography/licences
This User Guide contains information about the ONSPD including: directory content; data currency; the methodology for assigning areas to postcodes; data formats; data quality and limitations and details of recent changes that have impacted on the data. Various annexes and tables provide more detailed supporting information. The download includes PDF and ODT versions of the user guide. (File size - 827 KB)
https://www.ons.gov.uk/methodology/geography/licenceshttps://www.ons.gov.uk/methodology/geography/licences
A best-fit lookup between postcodes, frozen 2011 Census Output Areas (OA), Lower Layer Super Output Areas (LSOA), Middle Layer Super Output Areas (MSOA) and current local authority districts (LAD) as at May 2022 in the UK. Postcodes are best-fitted by plotting the location of the postcode's mean address into the areas of the output geographies. (File size 24 MB).Field Names - PCD7, PCD8, PCDS, DOINTR, DOTERM, USERTYPE, OA11CD, LSOA11CD, MSOA11CD, LADCD, LSOA11NM, MSOA11NM, LADNM, LADNMWField Types - All TextField Lengths - 7, 8, 8, 8, 8, 1, 9, 9, 9, 9, 55, 65, 45, 45
https://www.ons.gov.uk/methodology/geography/licenceshttps://www.ons.gov.uk/methodology/geography/licences
This User Guide contains information about the NHSPD including: directory content; data currency; the methodology for assigning areas to postcodes; data formats; data quality and limitations and details of recent changes that have impacted on the data. Various annexes and tables provide more detailed supporting information. The download includes PDF and ODT versions of the user guide. (File size - 652 KB)
Not seeing a result you expected?
Learn how you can add new datasets to our index.
https://www.ons.gov.uk/methodology/geography/licenceshttps://www.ons.gov.uk/methodology/geography/licences
This is the ONS Postcode Directory (ONSPD) for the United Kingdom as at February 2023 in Comma Separated Variable (CSV) and ASCII text (TXT) formats. This file contains the multi CSVs so that postcode areas can be opened in MS Excel. To download the zip file click the Download button. The ONSPD relates both current and terminated postcodes in the United Kingdom to a range of current statutory administrative, electoral, health and other area geographies. It also links postcodes to pre-2002 health areas, 1991 Census enumeration districts for England and Wales, 2001 Census Output Areas (OA) and Super Output Areas (SOA) for England and Wales, 2001 Census OAs and SOAs for Northern Ireland and 2001 Census OAs and Data Zones (DZ) for Scotland. It now contains 2021 Census OAs and SOAs for England and Wales. It helps support the production of area based statistics from postcoded data. The ONSPD is produced by ONS Geography, who provide geographic support to the Office for National Statistics (ONS) and geographic services used by other organisations. The ONSPD is issued quarterly. (File size - 234 MB)NOTE: The 2022 ONSPDs included an incorrect update of the ITL field with two LA changes in Northamptonshire. This error has been corrected from the February 2023 ONSPD.NOTE: There was an issue with the originally published file where some change orders yet to be included in OS Boundary-LineÔ (including The Cumbria (Structural Changes) Order 2022, The North Yorkshire (Structural Changes) Order 2022 and The Somerset (Structural Changes) Order 2022) were mistakenly implemented for terminated postcodes. Version 2 corrects this, so that ward codes E05014171–E05014393 are not yet included. Please note that this product contains Royal Mail, Gridlink, LPS (Northern Ireland), Ordnance Survey and ONS Intellectual Property Rights.