Maps

Coordinate Converter — EPSG, UTM, British Grid & Lat/Long

Convert coordinates or GeoJSON between EPSG systems — lat/long, Web Mercator, UTM, national grids — with DMS and MGRS.

Runs entirely in your browser — nothing you paste is uploaded or stored.

From
To
Result
Loading the projection library…
Map100%

Converted points are shown here, in WGS 84.

What is coordinate converter (epsg)?

A coordinate reference system (CRS) is the rule that turns a position on the Earth into numbers. Latitude and longitude on WGS 84 (EPSG:4326) is the one GPS and most APIs use, but web maps work in Web Mercator metres (EPSG:3857), surveys and engineering drawings use UTM zones or national grids such as the British National Grid (EPSG:27700), Lambert-93 in France or RD New in the Netherlands, and each has its own datum, projection and units. Mixing them up puts data in the wrong place by metres or by thousands of kilometres. This converter transforms coordinates between more than two hundred built-in systems — every UTM zone, the common national grids of Europe, North America, Australia and Asia, polar stereographic grids and Earth-centred X Y Z — or any other system you paste as a PROJ string or WKT. Paste a list of points, one per line and optionally named, in decimal degrees, degrees-minutes-seconds or plain eastings and northings; or switch to GeoJSON to reproject every coordinate in a file. Each point is also shown on a map and listed with its WGS 84 position, its degrees-minutes-seconds form and its MGRS grid reference. The maths runs locally with proj4, so survey data and client locations never leave your browser.

When to use it

  • Turning British National Grid eastings and northings from an Ordnance Survey map or a planning document into latitude and longitude for Google Maps, or the reverse.
  • Converting Web Mercator metres from a web map's API or a vector tile back to latitude and longitude while debugging.
  • Finding the UTM zone and coordinates for a GPS position, for field work or a drone flight plan.
  • Reprojecting a GeoJSON export from a GIS that was saved in a national grid, so a web map library such as Leaflet or Mapbox shows it in the right place.
  • Checking what a PROJ string or WKT definition from a data supplier actually does, by converting a known point through it.

How to use this tool

  1. Choose the system your coordinates are in under From, and the one you want under To. Pick "Custom" to paste any PROJ string or WKT from epsg.io or your GIS.
  2. Paste points one per line. Latitude/longitude can be decimal (51.5007, -0.1246) or degrees-minutes-seconds (51°30′02″N 0°07′28″W); projected systems take easting, northing. Put a name and a colon in front to label a point.
  3. If your latitude and longitude are the other way round, switch the order setting. Lines with N/S/E/W letters are read correctly either way.
  4. Read the result on the right, copy or download it, and check each point on the map and in the table below it, which also gives its MGRS reference.
  5. Use Swap to convert the result back, the UTM zone button to jump to the zone the first point is in, or switch to GeoJSON to reproject a whole file.

Example

Four British landmarks from latitude/longitude (WGS 84) to the British National Grid (EPSG:27700), the built-in example.

Input

Big Ben: 51.500729, -0.124625
Tower Bridge: 51.505456, -0.075356
Edinburgh Castle: 55.948612, -3.200833
Stonehenge: 51.178882, -1.826215

Output

Big Ben: 530268.085, 179643.897
Tower Bridge: 533673.783, 180258.317
Edinburgh Castle: 325105.597, 673492.994
Stonehenge: 412244.324, 142197.435

Eastings and northings are in metres, with the standard OSGB36 datum shift applied, so Big Ben lands on grid reference TQ 30268 79643 as on an Ordnance Survey map. The table also gives its MGRS reference, 30U XC 99566 09431. Swap converts the result back to the original latitudes and longitudes.

Datums, projections and units

Every coordinate system combines three choices. The datum is the model of the Earth’s shape and where it sits — WGS 84 for GPS, OSGB36 for the British grid, NAD83 in North America. The projection flattens that model onto a plane: Transverse Mercator for UTM and most national grids, Lambert conformal conic for France, oblique stereographic for the Netherlands. The units are degrees for geographic systems and metres (or US survey feet for many American state plane grids) for projected ones. Converting between two systems undoes one set of choices and applies the other.

What runs in your browser

Conversions use proj4js, the JavaScript port of the PROJ library that QGIS, GDAL and PostGIS are built on, loaded only when you open this page. The built-in definitions follow the EPSG registry, and the test suite checks each national grid against its published origin — for example that Ordnance Survey’s own worked example lands on E 651409.903, N 313177.270.

Frequently asked questions

Why is my point in the wrong place by about 100 metres?

That is the size of a datum difference. The British National Grid is on the OSGB36 datum and WGS 84 is a different model of the Earth, so the same latitude and longitude are about 100 metres apart on the two. Make sure the From system matches where the numbers came from: GPS and web maps are WGS 84; older paper maps may use a national datum. This tool applies the standard datum shifts published by EPSG, which are good to a few metres.

What is the difference between EPSG:4326 and EPSG:3857?

EPSG:4326 is latitude and longitude in degrees on WGS 84. EPSG:3857 is Web Mercator, the projection Google Maps, OpenStreetMap and most web maps draw with: the same WGS 84 positions projected to metres from the equator and the Greenwich meridian. Web map APIs and tile servers often hand you 3857 metres when you expected degrees.

Is latitude or longitude first?

It depends on who wrote it. People and Google Maps write latitude first; GeoJSON, WKT, proj4 and most code put longitude (x) first; and the official axis order of EPSG:4326 is latitude first. Use the order setting for plain numbers, or write N/S/E/W letters, which this tool reads in either order. An out-of-range latitude is reported with a hint that the numbers may be swapped.

My EPSG code is not in the list. Can I still use it?

Yes. Find it on epsg.io or in your GIS, copy its PROJ string (it starts with +proj=) or its WKT, choose Custom and paste it in. The tool does not download definitions itself, because that would send which systems you use to a third party.

How accurate is it?

The projections themselves are exact to well under a millimetre. Datum shifts use the published three- or seven-parameter transformations, which are accurate to about one to five metres. Survey-grade shifts such as OSTN15 for Great Britain or NADCON for the United States need large correction grids, which this tool does not include, so use your GIS for centimetre work.

Find these tools useful? A coffee helps keep them free and ad-light.

Buy me a coffee