This question already has an answer here:

Before I go and pay is there a free source for UK Postcode Boundaries, ideally down to Postcode Sector level ("AA00 0" or even better "AA00 0A")?

Failing that can I generate them in QGIS if I have the postcodes?

marked as duplicate by PolyGeo, AndreJ, Brad Nesom, Mapperz Jun 18 '14 at 14:24

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • this API will give you UK postal unit level boundaries(ZE1 0AE), and sector(ZE10) check out )www.boundaries-io.com . – Jeryl Cook Aug 19 '17 at 17:01

There are plenty of other answers on this, just do a search, but try http://www.richardallen.co.uk/.

  • Thanks, managed to get some of the data from his site. I have done a lot of searching but not turned up anything else. Any more pointers? – Andy Waters Feb 6 '14 at 16:21
  • I found this site geolytix.co.uk which has given me a very good data set. Is there any data out there that goes past Postcode sector level to "RG12 1A"? – Andy Waters Feb 6 '14 at 16:42
  • 1
    I don't understand what you mean - the only things that can be considered boundaries are postcode districts e.g AB1 ... and postcode sectors AB1 2.. Otherwise it's all point locations (avaiable from OS Codepoint as per answer above. The link I gave you is in GeoJSON or WKT - I forget which. P.S. Upvotes are nice. – Stev_k Feb 6 '14 at 16:48
  • Oops, sorry don't post very often, done it now. – Andy Waters Feb 6 '14 at 17:00
  • If you go down to the next level I think that is suburbs of towns (not wards). – Andy Waters Feb 6 '14 at 17:00

We've recently released free UK postcode boundaries in shapefile format for UK postcode areas, districts and sectors (reconstructed from unit postcode geocodes using Voronoi etc). They are free to use. Obviously the reconstruction is approximate. They are available at http://www.opendoorlogistics.com/data.


You can create your own from:

Codepoint Open https://www.ordnancesurvey.co.uk/opendatadownload/products.html

Supply format: CSV

Version: 11/2013

Code-Point Open provides a precise geographic location for each postcode unit in Great Britain. The product is a CSV file containing postcodes, grid references, NHS® health and regional health authority codes, administrative ward, district, county and country area codes.

Some of this data is in WGS84 on http://parlvid.mysociety.org/os/

GB Postcode Areas or use the pre-converted (check the age of this source)

Thiessen polygons were generated from all records in OS OpenData Code-Point Open. Resulting coverage was dissolved up to postcode area level and then clipped to GB extent of the realm using OS OpenData Boundary-Line. Names of postcode areas were added from Wikipedia.



UK postcodes don't cover polygons. They cover a set of individual delivery points which are not necessarily contiguous.

It is certainly possible, given the co-ordinates for these delivery points, to describe a polygon such that all the co-ordinates are within that polygon. However, such a polygon would not be a unique solution - there would be many polygons that could potentially fit the bill. See, Algorithm to find polygons enclosing points.

  • This is incorrect. The OS provide official postcode polygon data - ordnancesurvey.co.uk/business-and-government/products/… – Matt Oct 31 '18 at 11:00
  • @Matt, the page you linked to says "Code-Point with polygons shows the notional shape of every postcode unit in Great Britain". Google defines notional as "existing as or based on a suggestion, estimate, or theory; not existing in reality." – tobyink Nov 26 '18 at 21:17

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