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

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

Thanks Alex, these duplicates have now been addressed and resolved.
By Free Map Tools on 19/10/2015

Duplicate post codes (the last 4 lat / long are 30 minutes away from the post code, however the first is correct. INSERT INTO postcodelatlng (id,postcode,latitude,longitude) VALUES (55414, 'WF9 5WX', '53.612923821452000','-1.354428417665460'); INSERT INTO postcodelatlng (id,postcode,latitude,longitude) VALUES (55415, 'WF9 5WX', '53.668845402587500','-1.526845867639980'); INSERT INTO postcodelatlng (id,postcode,latitude,longitude) VALUES (55416, 'WF9 5WX', '53.668845402587500','-1.526845867639980'); INSERT INTO postcodelatlng (id,postcode,latitude,longitude) VALUES (55417, 'WF9 5WX', '53.668845402587500','-1.526845867639980'); INSERT INTO postcodelatlng (id,postcode,latitude,longitude) VALUES (55418, 'WF9 5WX', '53.668845402587500','-1.526845867639980');
By Alex on 19/10/2015

Hi Luis, I have done a quick search and found EC2R 8AH in ukpostcodes.csv on line 1235647. Can you re-download the file and have another look? It has been updated recently and this may have been one of the changes.
By Free Map Tools on 12/10/2015

Hello I am using the csv full UK postcodes list. I am looking the ones that start with the letter E (e.g. EC2R 8AH), but there is none. why this could be?
By Luis on 12/10/2015

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

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

Comments :

Your Name (optional) :

 Save