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 1.74M 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 : 1741532

Non Geographic Postcodes

Non geographic postcodes are listed below. Note these will have a latitude and longitude of an empty string

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 2017

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

Contains National Statistics data © Crown copyright and database right 2017

Using This Data

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

Relevant Links

Version History

Comments For This Page

L13 1* at id's starting 957753 (row 910161)
By Free Map Tools on 17th September 2018

G53 6* are found in ukpostcodes.csv starting at id 1149531 (row 1093414)
By Free Map Tools on 17th September 2018

The CSV download is missing postcodes in the G53 6* and L13 1* ranges
On 29th August 2018

How can I obtain a postcode for a property that no longer exists.
By Carol on 22nd June 2018

Would it be possible to include the Town name associated to the postcodes please ?
On 19th June 2018

Where do I find postcode -coordinates for Isle of Man, Gibraltar, Jersey etc?
By Jesper on 2nd June 2018

Could you include postcode town and county in the postcode table?
By Francis on 18th March 2018

Hi, great, many thanks
By Kate on 13th March 2018

Hi Kate [Free Map Tools] and [https://www.freemaptools.com] is all we ask for.
By Free Map Tools on 12th March 2018

Hi, I want to use this data for a research study - what is the best way to cite it?
By Kate on 12th March 2018

Dave, fair comment. These have been removed from the MySQL create table scripts.
By Free Map Tools on 2nd March 2018

You should remove the collation and engine commands from the create table scripts and let the user go with the default for his own server.
By Dave on 2nd March 2018

12,000 entries with lat 99.99999 long 0.0000 example BT19 7BF
By Simon on 2nd December 2017

Could you please include postcode town and county as strings in the postcode table?
By Francis on 10th October 2017

Hi Ryan, yes thats correct.
By Free Map Tools on 14th July 2017

is the latitude/longitude the geometric centre of postcode?
By Ryan on 13th July 2017

Excellent! Thank you for you fast response and for excellent dataset!
By Raphi on 22nd May 2017

Raphi, they are free to use. They come with these credits [https://www.ordnancesurvey.co.uk/business-and-government/licensing/using-creating-data-with-os-products/os-opendata.html] and this license [http://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/]
By Free Map Tools on 22nd May 2017

Hi, are these datasets free of re-use in a commercial product? Thank you!
By Raphi on 22nd May 2017

No actual streets given.
On 21st May 2017

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

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

Comments

Your Name (optional)

 Post