Converter tool

Coordinate Converter for CSV Files

Convert latitude and longitude between decimal degrees, degrees-minutes-seconds, UTM, MGRS and Web Mercator on the WGS84 ellipsoid, one point at a time or for a whole column of a CSV or XLSX file.

Any common notation

Convert one coordinate

Detected format: Decimal degrees. Use the options above to override if that is wrong.

Decimal degrees
40.748400, -73.985700
Degrees, minutes, seconds
40°44'54.24"N 73°59'08.52"W
UTM
18T 585628 4511322
585628.41 E, 4511322.45 N
MGRS
18TWL8562811322
Web Mercator (EPSG:3857)
-8236050.45, 4975301.25

Coordinate Converter for CSV Files

Operator: Abdulla Al Fahad. How tools are built and checked

Coordinates arrive in whatever notation the sender's tool produced: decimal degrees in a database export, degrees-minutes-seconds from a handheld, UTM from a survey, MGRS from a radio check-in. This converter turns one typed point, or a whole column of a CSV or XLSX file, into decimal degrees, DMS, UTM, MGRS and Web Mercator on the WGS84 ellipsoid, and gives every row it cannot convert a stated reason instead of silently dropping it.

Key features

  • Five notations in and out: decimal degrees, DMS or degrees with decimal minutes, UTM, MGRS (1 m to 10 km precision) and Web Mercator (EPSG:3857)
  • Header-based detection of latitude, longitude, easting, northing, zone and MGRS columns, with six input layouts to choose from
  • A single-point box that recognises what you type, including N/S/E/W letters and minute-second symbols
  • Validation for swapped latitude and longitude, out-of-range values, UTM easting outside 100,000 to 900,000 m, latitudes beyond 80 S to 84 N for UTM and MGRS, Web Mercator beyond 85.0511 degrees, and 0, 0 as a probable missing value
  • CSV or XLSX export of your own columns plus the converted ones and a status column

The five coordinate notations, how UTM zones and MGRS squares are built and what is rejected

Accepted inputs are 40.7484, -73.9857; 40°44'54.2"N 73°59'8.5"W; N 40 44.903 W 73 59.142; 40.7484N 73.9857W; UTM as 18T 585628 4511322; MGRS such as 18TWL8562811322 with 0 to 10 digits; and Web Mercator X and Y in metres. Hemisphere letters decide which number is latitude; without them latitude comes first unless you tick longitude first. A letter after a UTM zone is read as a latitude band (T, S and N are bands, so 18S lies at 32 to 40 degrees north). Switch to hemisphere mode when your data uses N and S to mean north and south.

How it works

UTM uses the Krüger series to sixth order in the third flattening, which is exact to nanometres inside a zone. Zones are 6 degrees wide with the Norway (32V) and Svalbard (31X, 33X, 35X, 37X) exceptions, easting carries a 500,000 m false origin and southern northings a 10,000,000 m one.

An MGRS reference is the zone and latitude band, two letters naming the 100 km square, then easting and northing inside it, truncated rather than rounded. The column letters repeat every three zones and the row letters every 2,000 km, shifted by five in even zones. Reading a reference back resolves the 2,000 km ambiguity with the band's lowest northing and returns the square's south-west corner.

Common use cases

  • A drone operator who received 400 inspection points as UTM 33U coordinates and needs decimal degrees for a flight-planning app.
  • A search coordinator converting team check-ins written as MGRS to the metre into latitude and longitude for a map.
  • An analyst with Web Mercator X and Y from a web-map export who needs plain latitude and longitude for a database.

How to use this tool

  1. Choose One coordinate or Table of coordinates.
  2. For a table, drop the file and check the input format and columns the page guessed.
  3. Pick the DMS style, MGRS precision and decimal places.
  4. Read the rejected rows and the first converted rows, then download the CSV or XLSX.

Example

A three-row site list with lat and lon columns, converted to DMS, UTM and MGRS to the metre

site,lat,lon
Empire State Building,40.748440,-73.985664
Sydney Opera House,-33.857200,151.215100
Sydney swapped,151.215100,-33.857200

Converted columns

Empire State Building: 40°44'54.38"N 73°59'08.39"W, UTM 18T 585631 4511327, MGRS 18TWL8563111326, Web Mercator -8236046.44, 4975307.13
Sydney Opera House: 33°51'25.92"S 151°12'54.36"E, UTM 56H 334883 6252244, MGRS 56HLH3488252244
Sydney swapped: rejected, "Latitude 151.2151 is beyond 90; latitude and longitude look swapped."

Tips for best results

  • MGRS truncates while the UTM text rounds, so the last digit of the two can differ by one. The Empire State Building's northing is 4511326.92, which reads 4511327 in UTM and ends 11326 in MGRS.
  • Lower the MGRS precision for radio use: four digits names a 1 km square, and reading it back gives that square's south-west corner, up to 1.4 km from the original point.
  • A column that mixes notations needs one run per notation, because the table mode reads one layout at a time.

Edge cases to watch

UTM letters are bands, not hemispheres. If your data uses N and S for hemisphere and you leave band mode on, southern points land in the wrong place.

Everything is WGS84. NAD27, ED50 or a national grid differ by metres to hundreds of metres and are not shifted here.

A swap is detected only when the supposed latitude exceeds 90. A point written as -73.9, 40.7 instead of 40.7, -73.9 is a valid but wrong location in Antarctica.

Common errors and how to fix them

Not UTM text. Expected zone, letter, easting, northing, such as 18T 585628 4511322.
The cell uses another layout. Write zone and band together, then easting and northing separated by spaces, or use the separate-columns layout.
Easting is outside 100,000 to 900,000 m.
UTM eastings count from a false origin 500,000 m west of the zone's central meridian, so values outside that range belong to another zone or are typos.
Outside UTM and MGRS (80 S to 84 N); UPS is not produced.
Points nearer a pole have no UTM or MGRS here; their decimal, DMS and Web Mercator columns still fill in.

Where the five notations differ

Decimal degrees are the plain numbers databases and web maps use, and DMS is the form on paper charts and in aviation. UTM is a metric grid, so distances inside one zone come from subtraction, with a scale error of up to about 0.1 percent: 0.04 percent low on the central meridian and about 0.1 percent high at a zone edge near the equator. MGRS is UTM with letters, written to a chosen precision and easy to say aloud. Web Mercator is the projection of web maps; it is not equal-area and ends at 85.0511 degrees of latitude.

Frequently asked questions

How do I know the conversions are right?

UTM output matches an independent implementation of Snyder's series to under a millimetre at ten sites between 77 S and 78 N, gives easting 166,021.443 m at latitude 0, longitude 0 and northing 4,982,950.40 m at 45 degrees on a central meridian, and an MGRS reference at 1 m converts back to within 1.2 m of the starting point.

Why do points in southwest Norway get zone 32?

Zone 32 is widened to 9 degrees between 56 and 64 N so the coast sits in one zone, and Svalbard uses zones 31, 33, 35 and 37. The converter applies both exceptions, so a plain longitude formula would disagree there.