UK postcode lookups, based on the National Statistics Postcode Lookup published by ONS in May 2020
This dataset is available for download in the format(s) below, or you can find out more on the About tab.
It is also available in queryable machine-readable form - see the API tab for details.
Entire dataset
This is a very large dataset. Lock some dimensions using the links above, or use the data cart to build a custom download. Please contact us if you require a full download. |
This dataset contains information from the Office for National Statistics National Statistics Postcode Lookup (NSPL), consisting of a list of all UK postcodes (current and historic), together with their locations as Easting/Northing and as latitude/longitude. Each postcode links to its respective local authority district, LSOA and other geographical areas as applicable.
To download this information as a CSV file, see the ONS NSPL itself.
The same data is available from other sources: notably from the Ordnance Survey and ONS. We've included this dataset here because it provides a convenient entry point to other geographically-based datasets.
Contains Ordnance Survey data © Crown copyright and database right 2020
Contains Royal Mail data © Royal Mail copyright and database right 2020
Contains National Statistics data © Crown copyright and database right 2020
This is a linked data resource: it has a permanent unique uri at which both humans and machines can find it on the Internet, and which can be used an identifier in queries on our SPARQL endpoint.
Linked Data is stored in graphs. We keep dataset contents (the data) separately from the metadata, to make it easier for you to find exactly what you need.
The data in this dataset are stored in the graph: http://opendatacommunities.org/graph/geography/uk-postcodes
The metadata about this dataset are stored in the graph: http://opendatacommunities.org/graph/geography/uk-postcodes/metadata
A breakdown by type of the 2,659,406 resources in this dataset's data graph.
Resource type | Number of resources |
---|---|
Postcode Area | 125 |
Postcode District | 3,119 |
Postcode Sector | 12,434 |
Postcode Unit | 2,643,728 |
In addition to this bookmarkable html page, this dataset metadata is also available for our robot customers in the following machine-readable formats. Please refer to the API documentation for more details.
dataset metadata | JSON RDF/XML Turtle N-Triples Atom |