Download UK Postcodes with Latitude and Longitude

Download a list of UK out code postcodes with their latitude and longitude coordinates.


Example Postcode List

The UK postal system uses postcodes to help with automating the sorting and delivery of mail. This is made up of a 2-part code, an out code and an in code. As the out code is the most significant part of the system, it can be used to obtain a rough area level break up of the UK. There are approximately 2971 out codes and approximately 1762460 full postcodes (out code + in code).


The uses of these out codes and lat/long values include mapping applications such as:

List Status

Outcode Postcodes Current List : 2974

Full UK Postcode Current List : 1703527

Non Geographic Postcodes

AB99, BT58, CA99, CM92, CM98, CR44, CR90, GIR, IM99, IV99, JE5, M61, ME99, N1C, N81, NR99, NW26, PA80, PE99, RH77, SL60, SO97, SW95, SY99, WD99, WF90


Full UK Postcode Latitude Longitude Download

Outcode Area Postcodes (AB1,B2,BT7 etc..)

Contains Ordnance Survey data © Crown copyright and database right 201

Contains Royal Mail data © Royal Mail copyright and database right 2015

Contains National Statistics data © Crown copyright and database right 2015

Using This Data

To import to a web based MySQL database we would recommend BigDump: Staggered MySQL Dump Importer

Relevant Links

Version History

Previous Comments For This Page

Hi Jack, it should be considered out of date as it was based on a previous version of CPO, but has been updated (and still is) on an independent basis since.
By Free Map Tools on 22/09/2015

Does this data exist for postcode sectors? I can find full codes and outcodes, but not sectors.
By Mike on 21/09/2015

Hi, has your MySQL database of all full postcodes been created from the latest codepoint csv file of postcodes from 2015 ? Or is it an older outdated version? Thanks
By Jack on 14/09/2015

Hi, S98 1EE appears to be no longer in use. B65 ODA was in the wrong location, but should now be correct. Thanks for the feeback.
By Free Map Tools on 03/09/2015

These two entries in ukpostcodes.csv seem to have wrong lat and long? 1703757,"S98 1EE",51.267970100000010,-1.156300200000032 1703767,"B65 ODA",51.505790100000000,-3.217705700000010
On 02/09/2015

Hi Eddie, they are updated on an ad-hoc basis. There is no licence from Free Map Tools.
By Free Map Tools on 28/06/2015

Hi there, how often this postcode list is updated? Is there any license applications to use it for small business? Many thanks in advance
By Eddie. S. on 27/06/2015

Hi, have a look at this page []
By Free Map Tools on 28/05/2015

Absolutely cracking download of data. Thanks for this FMT. I don't suppose you have a script that will convert National Grid References to Lat Lon.
By Brendan on 28/05/2015

Hi Ben, please see this
By Free Map Tools on 27/05/2015

Hi, Would you please advise license details etc? All I can see on this site is that the download contains data copyrighted to the crown and the royal mail and my organisation won't let me use it without license information etc. Thanks
By Ben on 27/05/2015

Hi Richard, thanks for the feedback. We do acknowledge this and have been able to reproduce the issue. We have since updated all these postcodes lat/lng so they should now all be correct.
By Free Map Tools on 07/05/2015

Hi Varma, we have no license implications
By Free Map Tools on 04/05/2015

Is it ok to use this postcode data in my application? Is there any license implications?
By Varma on 02/05/2015

Another observation that there are many postcodes in the middle of Celtic Sea, does it mean that there is underwater civilisation there, e.g: 1527732,BS150BB,49.766805724377600,-7.557159803639920 After creating db: mysql> select latitude,longitude,count(*) from postcodelatlng where longitude<-6.8 and latitude<51 group by longitude, latitude order by longitude asc; ------------------- ------------------- ---------- | latitude | longitude | count(*) | ------------------- ------------------- ---------- | 49.76680572000000 | -7.55715980400000 | 308 | | 49.76680572437760 | -7.55715980363992 | 5119 | ------------------- ------------------- ----------
By Richard on 01/05/2015

Richard, it is just a static list. Based on your comments CB1 has been modified. Thanks.
By Free Map Tools on 29/04/2015

The value given for CB1 (central cambridge) is: 413,CB1,52.196481,0.063253 this is far away outside Cambridge google got it more correct: 52.1919804,0.1662001 How do you calculate lat lon for regions?
By Richard on 29/04/2015

NS, IM2 should now be correct
By Free Map Tools on 21/04/2015

Thanks for a great resource :) Outcode IM2 has a coordinate in the sea off the coast of the Isle of Man.
By NS on 17/04/2015

Hi Craig, anyone can use the data, however please see the Disclaimer.
By Free Map Tools on 30/03/2015

Showing the most recent 20 out of 166 comments. Click to see all the comments.

Add your own comment below and let others know what you think:

Comments :

Your Name (optional) :