Postcode and county lookup tools

Postcodes

Lookup the county name for a given postcode, or generate a CSV file of counties for a series of postcodes.

Postcode:

Rows of postcodes: (can use * % ? _ wildcards)


Co-ordinates

Lookup county names for places using Ordnance Survey National Grid co-ordinates or grid reference.

Rows of comma- or tab-separated eastings, northings; latitude, longitude; or alphanumeric grid references:


Counties

Generate a list of postcodes for a given county.

County: Generate CSV


Downloads

Download a database of every postcode, county and grid reference.

Show county populations.

County borders for GIS

These border datasets conform to the Historic Counties Standard (HCS). The HCS Definition A datasets treat detached parts of counties as part of their host county, whereas the HCS Definition B datasets include them separately.

The full-resolution polygons are suitable for 1:5,000-scale applications. The simplified sets are usable at scales greater than 1:50,000. A set of border lines is also available, for applications where a coastline is provided separately.

Last updated on 20 Oct 2018.

HCS Definition A

Great Britain & Ireland
Full resolution polygonsSimplified polygonsBorder lines only
OSGB SHP
39.61 MB
WGS84 SHP
88.22 MB
KMZ
46.5 MB
OSGB SHP
5.48 MB
WGS84 SHP
5.32 MB
KMZ
5.89 MB
WGS84 SHP
5.56 MB
United Kingdom
Full resolution polygonsSimplified polygonsBorder lines only
OSGB SHP
31.35 MB
WGS84 SHP
34.23 MB
KMZ
38.07 MB
OSGB SHP
4.39 MB
WGS84 SHP
4.36 MB
KMZ
4.82 MB
WGS84 SHP
4.6 MB
Great Britain
Full resolution polygonsSimplified polygonsBorder lines only
OSGB SHP
28.08 MB
WGS84 SHP
31.11 MB
KMZ
34.55 MB
OSGB SHP
3.96 MB
WGS84 SHP
3.94 MB
KMZ
4.35 MB
WGS84 SHP
4.46 MB

HCS Definition B

Great Britain & Ireland
Full resolution polygonsSimplified polygonsBorder lines only
OSGB SHP
40.7 MB
WGS84 SHP
42.95 MB
KMZ
47.69 MB
OSGB SHP
5.67 MB
WGS84 SHP
5.51 MB
KMZ
6.09 MB
WGS84 SHP
6.1 MB
United Kingdom
Full resolution polygonsSimplified polygonsBorder lines only
OSGB SHP
32.35 MB
WGS84 SHP
35.23 MB
KMZ
39.16 MB
OSGB SHP
4.58 MB
WGS84 SHP
4.55 MB
KMZ
5.03 MB
WGS84 SHP
5.05 MB
Great Britain
Full resolution polygonsSimplified polygonsBorder lines only
OSGB SHP
29.06 MB
WGS84 SHP
32.09 MB
KMZ
35.63 MB
OSGB SHP
4.15 MB
WGS84 SHP
4.13 MB
KMZ
4.56 MB
WGS84 SHP
4.9 MB

Others

Download a Shapefile, SVG or KMZ of individual counties.

Download a Shapefile (WGS84) or KML of the Yorkshire ridings (Definition A).

Download a Shapefile (WGS84) or KML of the Yorkshire ridings (Definition B).

Download a Shapefile (WGS84) or KML of the Parts of Lincolnshire.

Download a Shapefile (WGS84) or KML of the Ridings of Tipperary.

Download a Shapefile (WGS84) or KML of the Ridings of Cork.

Download a Shapefile (WGS84) or KML of the Rapes of Sussex (Definition A).

Download a Shapefile (WGS84) or KML of the Rapes of Sussex (Definition B).

Download a Shapefile (WGS84) or KML of the Lathes of Kent.