I’m trying to put together a spreadsheet containing the following fields: postcode out-code, county

Can anybody please point me in the direction of a list (or 2 lists which I could join) containing UK postcode out codes and county?

I need to know for which county a postcode out code is located in.

Preferably open source data.

  • Code-point and BoundaryLine from ordnancesurvey.co.uk/opendatadownload/products.html (Great Britain only) not UK.
    – Mapperz
    Jun 15, 2019 at 20:45
  • Welcome to GIS SE! We're a little different from other sites; this isn't a discussion forum but a Q&A site. Please check out our short tour to learn about our focussed Q&A format. If it is open data that you seek then I think the place to ask is the Open Data Stack Exchange.
    – PolyGeo
    Jun 15, 2019 at 23:40

1 Answer 1


The Office for National Statistics Postcode Directory has postcode and county and is a downloadable dataset. Note this is the administrative county, whereas often people think in terms of the ceremonial county or even historic county. If you want either of those then Ordnance Survey produces shape files. All open data.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.