Download UK Postcodes with Latitude and Longitude

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

Introduction

UK and Northern Ireland Postcodes

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 1812402 full postcodes (out code + in code).

Purpose

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 : 1812402

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

Downloads

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 I matched your postcodes to a query I had which contained over 70k rows. Out of them 70k post codes there was only 150 missing. That's pretty amazing. Thanks!
By Danny on 21/07/2016

Hi, I've matched your postcodes amongst a huge amount of records and found that this table is missing around 4,000 of the 70,000 records matched. If you would like a dump of the codes email me cro****k Regards, Daniel
By Daniel on 21/07/2016

Dave, thanks for the feedback. I agree with what you have found. WV98 and EN77 are non-geographic postcodes so they should really have no lat/lng associated with them rather than the current idea of "put them in the bottom left corner". I would rather still have them included in the table to allow validation, but set their lat/lng to null or empty value instead. This is a change that will be getting applied soon. As for MK11, I'm not sure what you mean? Is there a entry just for MK11 that is in the wrong position?
By Free Map Tools on 27/06/2016

Hi, Great Resource. I'm a bit confused about some of the postcodes though.Certain postcodes seem to have identical lat-lon even though the postcodes are different. For instance anything listed WV98 or EN77(or the single MK11 have a lat lon of 49.76682/-7.557163. EN77 should be Enfield, I think, and WV should be Wolverhampton, but those lat lon seem to be pointing off the coast of cornwall? Are these reserved for later use? The postoffice website doesn't recognise most of those postcodes.
By Dave on 27/06/2016

This is a fantastic site! Thank you so much.
By Frederick on 08/05/2016

great tool. Is there anyway to search for multiple postcodes at a time?
On 11/04/2016

Thank i realy enjoy working here
By GLEN EIGEN on 18/02/2016

Hi, you can find the download links just below where is says "Full UK Postcode Latitude Longitude Download", about mid way down the page.
By Free Map Tools on 08/02/2016

Good but how does one download it? I can see no instructions
On 08/02/2016

Hi Daniel, the point is an estimated center point of the postcode area.
By Free Map Tools on 01/02/2016

Hi Great resource by the way. What point in the postcode area do the longitude and latitude represent. Thanks
By Daniel O'Hara on 01/02/2016

looking for this exact list, but with town names too?
By mm on 14/01/2016

Hi Bill, do you mean postcodes that are no longer in use (terminated)?
By Free Map Tools on 24/12/2015

Is it possible to get older versions? I'd be interested in linking current postcodes to their closest analogy at prior dates (ie: for Census data, outstanding mortgage data, annual population survey, etc)
By Bill on 24/12/2015

Hi, Yes Guernsey postcodes are not included. I have made attempts to source this data but to no avail unfortunately.
By Free Map Tools on 09/12/2015

Hi I downloaded the CSV but cannot see post codes for prefix GY ? Guernsey how can I get these?
On 09/12/2015

Hi Roy, BA1, BA2 ... do seem to be in the 3 variations of the file. Can you see BA1 or BA2?
By Free Map Tools on 18/11/2015

Hi - just downloaded the outcodes file looks like BA (Bath) is missing
By Roy on 18/11/2015

Hi Alex, [https://en.wikipedia.org/wiki/Postcodes_in_the_United_Kingdom] states 1.7M and [http://www.poweredbypaf.com/] (Royal Mail Group) states 1.8M so there is varying differences in opinion about how many there are, 1.9M being the highest figure. I believe there is a constant flux when some old postcodes become inactive, but still used in legacy address databases and other new postcodes are created.
By Free Map Tools on 28/10/2015

The total number of UK postcodes is approx 1.9M. Please verify here at this commercial provider: [link removed] You have stated 1.7M records, which 200k records are missing in your db? Thanks Alex
By Alex on 28/10/2015

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

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

Comments :

Your Name (optional) :

 Save