Coordinates
Any point in Great Britain
Nearest Postcode
Enter coordinates and run the lookup. The example point, 51.5014, −0.1419, sits in front of Buckingham Palace in London.
Postcode data comes from Postcodes.io, built on the ONS Postcode Directory and Ordnance Survey open data. A postcode covers a small group of addresses — often around 15 — so the distance shown is to the postcode's centre point, not to a specific building. Reverse geocoding covers Great Britain; your CSV file is parsed in your browser and only the coordinates are sent to the lookup service.
Runs entirely in your browser — your inputs never leave this page.
How this tool works
- 1
For a single lookup, your coordinates are sent to Postcodes.io, which searches the ONS Postcode Directory for the closest postcode centre and reports the distance in metres.
- 2
For a batch, your CSV is read in your browser, valid rows are grouped into chunks of 100, and each chunk is looked up in a single request — up to 1,000 rows per file.
- 3
Every result shows the nearest postcode, its distance from your point, the parish and the admin district, and the full batch can be downloaded as a CSV.
Common uses
- Adding postcodes to GPS survey or delivery-point exports
- Checking which postcode area a map pin or site location falls in
- Cleaning up spreadsheets of coordinates with a postcode column
Frequently asked questions
A UK postcode covers a small group of addresses — around 15 on average — so the distance shown is to the centre point of that postcode area, not to a specific building. In towns the nearest postcode is usually a few dozen metres away; in rural areas it can be further.
More in Data Lookup
- ZIP Codes in RadiusEnter an address or coordinate, choose a radius (1 to 100 miles), and generate a complete list of enclosed US ZIP codes with CSV download.
- Cities in RadiusFind every incorporated city, town, and Census Designated Place (CDP) within a chosen radius, sorted by distance or population.
- Address to CountyConvert any US street address to its official county name, FIPS code, county seat, and state.
- County Map with CitiesExplore any US county with all its incorporated cities, towns, CDPs, and major roads labeled with clean vector cartography.
- Nearest National ParkFind the nearest US National Park to your current location or any address with driving distance, acreage, and visitor center coordinates.
- US County ChoroplethExplore an interactive thematic choropleth map of all 3,143 US counties colored by population, median household income, age, and poverty rates.
- District FinderType any US address to instantly see your congressional district, state house and senate districts, school district, and census tract — powered by official Census Bureau geography.
- Flood Zone CheckerCheck the official FEMA flood zone for any US address or map point. The checker queries FEMA’s National Flood Hazard Layer live and shows the zone code, whether the point sits in a Special Flood Hazard Area, the base flood elevation when FEMA publishes one, and the FIRM panel reference.
- KML Boundary DownloaderDownload the official boundary of any US state or county as a KML file for Google Earth, or as GeoJSON for GIS and web maps. The outline comes live from the US Census Bureau TIGER database — pick a state, or a county plus its state, preview it on the map, and save the file.
- School FinderFind schools near your home, a new neighborhood, or any address. Search by location or address, pick a radius, and see every school mapped in OpenStreetMap — with its address and straight-line distance, plotted on a map.
- EV Charging FinderFind electric vehicle charging stations near you or any address. Results show the operator, the connector types recorded in OpenStreetMap — Type 2, CCS, CHAdeMO, Tesla Supercharger and more — and how many charging points a station has.
- Restroom FinderFind public restrooms near you or any address, fast. Results show what OpenStreetMap has recorded for each restroom — whether a fee is charged, wheelchair access, and opening hours — sorted by distance and plotted on a map.
- Fuel Station FinderFind petrol and fuel stations near you or any address. Results show the brand and the fuels each station sells — diesel, 95 or 98 octane, E10, LPG and more — from live OpenStreetMap data. Prices are not shown, because open map data does not carry them.
Turning 340 GPS Points from London Property Visits into a Postcode List
Tom does the photography runs for a small lettings agency in London. Every flat he visits gets logged by his phone as a pair of GPS coordinates, and at the end of the month he has a spreadsheet of 340 points — but the listings system wants a postcode for every property, and nobody is going to look those up one at a time. He exports the points as a CSV with two columns headed lat and lon, drops the file into the batch lookup, and lets it work through the list in chunks while he makes tea. Rows the file cannot use — one visit where the phone saved an empty reading — are skipped and counted openly, not quietly guessed.
Before trusting the batch, Tom spot-checks one point he knows by heart. On a day off he had stood in front of Buckingham Palace and saved the spot: 51.5014 north, 0.1419 west. He runs it through the single lookup and the answer comes straight back — SW1A 1AA, the palace's own postcode, 49 metres from his point. That distance figure is the part worth understanding: a postcode covers a small group of addresses, about 15 on average, and the distance is measured to the centre of that little area, not to the palace gates themselves. A few dozen metres in the middle of London is exactly what a correct answer looks like.
Back in the batch results, the pattern holds up. A point in the City, 51.5155 north, 0.0922 west, comes back as EC2V 5AA, 22 metres away, district City of London. Every one of his 340 rows gets the same treatment: the postcode, the distance in metres, the parish, and the district. Two countryside rows from a weekend trip to the Cotswolds come back honestly marked as not found — his points sat in open fields with no postcode within the 2 km search distance, which is a true answer, not an error. He downloads the results CSV and merges the postcode column straight into the listings spreadsheet.
The habit Tom keeps is the spot-check. Before any big batch he runs one coordinate whose answer he already knows, and only then trusts the run. He also keeps the distance column when he saves the results, because sorting by it is the fastest way to spot a bad point: a London flat claiming to be 1,900 metres from its nearest postcode is usually a mistyped digit or a swapped latitude and longitude, and it stands out in the sorted list at a glance. Ten minutes of checking at the start saves an afternoon of wrong listings later.
Common mistakes to avoid
- Swapping the latitude and longitude columns. London's latitude is about 51.5 and its longitude is about −0.12. If your CSV columns are the wrong way round, points land in the ocean or fail outright. The tool skips out-of-range rows and counts them — if half your file is skipped, swapped columns are the first thing to check.
- Treating the postcode centre as the exact address. The distance shown is to the centre of the postcode's small area, not to a front door. A result 49 metres away in a city is a precise answer, not a rough one — postcodes simply do not point at single buildings, so do not promise delivery drivers a pinpoint.
- Reading 'not found' as a broken tool. The batch search looks within 2 km of each point. A point in open countryside, on a beach, or at sea may genuinely have no postcode in range. That honest blank is more useful than a far-away postcode presented as if it were near.
Pro tips
- Keep the column headers exactly lat and lon (or latitude and longitude) and the file imports itself — no mapping step needed.
- Spot-check one coordinate you know by heart before every large batch; a known-good answer proves the whole file is shaped right.
- Sort your results by the distance column — the largest distances are where mistyped or swapped coordinates hide.
Geocoding & Place Search: Turning Words into Coordinates
How computers read messy human addresses, match them to the real world, and what to do when the address you need does not want to be found. Written for Nearest Postcode Finder — UK Postcode from Coordinates & CSV Batch Lookup and the everyday mapping tasks around it.
Forward Geocoding: Address In, Coordinates Out
Type "1600 Pennsylvania Avenue NW, Washington, DC" into a map and a pin drops on the White House. Behind that second of magic sits a pipeline: parse the address into parts, match each part against a reference database, score the candidates, and return the best one's coordinates. Every address search you have ever run did exactly this.
Parsing is harder than it looks. "St" can mean Street or Saint; "100 5th Ave" needs a city to be unique; apartment numbers must be stripped without losing the street address. Good geocoders normalize aggressively — uppercasing, expanding abbreviations, and forgiving typos — before they ever touch the map data.
The reference data is usually a street network where each block knows its address range. The geocoder finds the right block, then interpolates: number 150 on a block running 100 to 200 lands halfway down. This is why geocoded points sometimes sit in the middle of the street — interpolation is an educated guess, not a survey. On long rural blocks the guess can land hundreds of feet from the actual driveway, which is why rural addresses deserve extra verification before you navigate to them.
Result quality varies by geography. Dense US cities with clean addressing geocode to rooftop accuracy; rural routes, new subdivisions, and much of the developing world fall back to street or neighborhood level. Always check the match score and result type before trusting a coordinate for anything important. When accuracy matters — emergency dispatch, for example — confirm the result on a map visually rather than trusting the numbers blindly. A quick visual sanity check takes seconds and catches the errors that matter.
Reverse Geocoding: Coordinates In, Address Out
Reverse geocoding runs the pipeline backwards: given 40.7128, -74.0060, what is here? The engine first tests which administrative polygons contain the point — country, state, county, city — then hunts for the nearest road segment and interpolates a house number, exactly like forward geocoding in reverse.
The interesting failures happen where humans are sparse. A coordinate in a national forest has no address, so the geocoder returns the nearest named feature — a trailhead, a ranger station, or simply the county name. That is correct behavior: the tool is telling you what it knows, not inventing an address.
Privacy note: reverse-geocoding your own GPS is harmless, but publishing someone else's coordinates lets anyone derive their home address the same way. Location data deserves the same care as any personal identifier.
This page shows the first two chapters. Read the complete US Data & Demographics field guide →