Coordinate Format Converter
Convert between DD, DMS, and MGRS coordinate formats
What Is a Coordinate Format Converter?
A coordinate format converter transforms latitude and longitude between the different textual representations used throughout surveying, GIS, navigation, and mapping. The same point on Earth can be written as 40.7128, -74.0060 (decimal degrees, DD), 40°42'46.08"N 74°00'21.60"W (degrees, minutes, seconds, DMS), 40°42.768'N 74°0.360'W (degrees decimal minutes, DDM), 18T 583960 4507530 (UTM), or 18TWL8396007530 (MGRS). Each format is native to a different community: DD is standard in GIS files and APIs, DMS is the classical surveyor format, DDM is used by marine GPS, UTM is preferred by the military and construction engineers, and MGRS is the backbone of NATO tactical communications.
Converting DMS to decimal degrees and vice versa is probably the single most requested micro-task in GIS, because GPS apps, phone screenshots, published surveys, and spreadsheet exports all use different conventions. A geologist who writes "34°12'36.5"N" in a field notebook needs that turned into 34.21014 before it enters a GeoJSON; a surveyor who gets -118.243683 from a GIS database needs it expressed as 118°14'37.26"W for the title deed. The Coordinate Format Converter handles all these transformations in one place, with support for decimal degrees (DD), degrees minutes seconds (DMS), degrees decimal minutes (DDM), UTM, MGRS, and WKT point geometries.
Like every gis.tools converter, this one runs in your browser using standard geodetic libraries. No coordinates leave your machine, which is important for survey control, military AOIs, and private land records.
How Coordinate Format Conversion Works
DMS to Decimal Degrees
The formula is straightforward: DD = D + M/60 + S/3600, with a sign flip for S and W hemispheres. For example, 40°42'46.08"N = 40 + 42/60 + 46.08/3600 = 40.71280. The converter accepts a variety of punctuation styles (°, ', ", spaces, colons, letters N/S/E/W) and normalizes them automatically.
Decimal Degrees to DMS
The reverse splits the decimal into integer degrees, then 60× the fractional part into integer minutes, then 60× that fractional part into seconds. Care is needed with rounding at the seconds place — naive rounding can produce 60" which should roll over to add one to the minutes.
DDM (Degrees Decimal Minutes)
Common on marine GPS units. 40° 42.768' N is equivalent to 40 + 42.768/60 = 40.71280. Same math, different format.
UTM and MGRS
UTM conversion uses the Transverse Mercator projection; see the Lat/Lon ↔ UTM Converter for details. MGRS encodes a UTM coordinate into a compact alphanumeric grid reference — the zone and 100 km square are encoded as letters, then easting and northing within that square as digits.
Key Parameters and Options
Source Format
Pick from DD, DMS, DDM, UTM, MGRS, or WKT. The converter also auto-detects format from the input pattern.
Target Format
Pick any of the above.
Precision
Choose the number of decimal places or seconds precision. Six decimal places in DD gives about 11 cm precision at the equator.
Hemisphere Notation
Use N/S/E/W letters, ±sign, or both.
Batch Mode
Paste a list or drop a CSV/GeoJSON to convert hundreds of coordinates at once.
Practical Applications
Field Data Entry
Field scientists record coordinates in DMS from their GPS unit but need them in DD for GIS software. The converter bridges this gap for every field site, reading station, and soil sample.
Cadastral and Legal Documents
Title deeds, survey reports, and regulatory filings use DMS for historical reasons. Converting between DMS and DD is a daily task for land surveyors and title examiners.
Marine and Aviation Navigation
GPS chartplotters on boats and aviation EFBs typically display DDM. Converting to DD for integration with a chart vendor or to DMS for a navigation log is essential.
Military and Tactical Communication
MGRS is the standard for NATO ground operations. Converting DD or DMS coordinates to MGRS for radio communication and back again for mission planning software is a constant need.
Spreadsheet Import
Excel and Google Sheets choke on DMS formats with special characters. Pre-converting to DD lets you drop coordinates directly into a cell.
GIS File Preparation
GeoJSON, KML, and shapefiles all expect DD. Any DMS source (often from a paper document) needs conversion before it can be loaded. The converter produces clean DD values ready for direct import via the GeoJSON, KML, Shapefile & GIS File Viewer.
Education
Teaching students how to read and interpret different coordinate formats is easier with an interactive converter that shows all representations side by side.
Step-by-Step Workflow in gis.tools
- Open the Coordinate Format Converter in your browser.
- Paste a coordinate or a list of coordinates into the input box. The tool auto-detects format.
- Pick the target format(s) — you can enable multiple simultaneous outputs.
- Review the output table, which shows source and target side by side for quick verification.
- Copy to clipboard, download as CSV, or export as GeoJSON.
- For bulk files, drop a CSV with lat/lon columns and get a converted file back.
- For UTM-specific work, pair with the Lat/Lon ↔ UTM Converter.
Worked Example
An archaeologist has a scanned 1970s excavation report with 42 feature locations recorded as DMS: things like 34°12'36.5"N 118°14'37.3"W. She needs them in a GeoJSON for QGIS and then in MGRS for a field re-survey. She pastes the list into the Coordinate Format Converter, enables DD and MGRS as output formats, and gets a table of 42 rows with all three representations. She exports the GeoJSON of DD-formatted points, loads it into QGIS, and prints a field map with MGRS labels for the re-survey team. The whole conversion took 90 seconds and preserved confidential site coordinates on her local machine.
Common Pitfalls and Gotchas
- Hemisphere sign errors: Missing the "W" or "S" flips a coordinate across the equator or prime meridian.
- Double hemisphere: Both a letter and a negative sign (
-40°S) — some tools treat this as a double negation. - Minute/second rounding: Rounding
59.9"to60"requires a rollover to add 1 to the minutes. - Arc-second precision: 1 arc-second ≈ 30 m; don't report DMS to thousandths of a second unless your source justifies it.
- Special characters:
°,′,″are preferred, but'and"are commonly substituted. The converter handles both. - Missing zeros:
34°2'vs34°02'— some parsers are strict. - Decimal separator locale: Commas vs periods can confuse batch parsing from European spreadsheets.
- MGRS precision levels: A 4-digit MGRS is a 10 km box; a 10-digit MGRS is a 1 m box. Don't assume one-size-fits-all precision.
Tips for Best Results
- Always preserve at least one format as a "canonical" copy for your records.
- Use DD for file storage and programmatic processing; use DMS for human-readable reports.
- Be explicit about precision in both input and output to avoid false accuracy.
- For MGRS, choose the precision level (1 m, 10 m, 100 m, 1 km, 10 km, 100 km) that matches your actual uncertainty.
- Validate a converted coordinate on a map before committing to a larger dataset.
- Pair with the CRS Metadata Inspector if you are also tracking datum.
Comparison with Other GIS Approaches
QGIS has DMS parsing through expression functions but no dedicated UI. ArcGIS Pro has a format conversion field calculator. Command-line users rely on small Python scripts or proj invocations. Dedicated web converters exist (latlong.net, cachesleuth.com, geomidpoint.com) but either lack batch mode, log your coordinates, or have limited format support. Our converter combines batch mode, every common format, auto-detection, and complete privacy in one page.
Performance Considerations
Each conversion is a handful of arithmetic operations. Millions per second are trivial. Only the browser's JSON parser and DOM rendering impose practical limits.
Data Privacy and Browser-Based Processing
Coordinate lists stay in your browser. Confidential archaeological sites, military AOIs, private addresses, and survey control are never uploaded or logged. Close the tab and everything is gone.
Related GIS Concepts
- Precision vs accuracy: Reporting to millimeter precision doesn't make a meter-accurate GPS fix millimeter-accurate.
- Hemisphere encoding: N/S/E/W letters vs signed decimals.
- Grid reference systems: MGRS, USNG, GeoRef, and Maidenhead are all alphanumeric encodings of grid cells.
- Geohash: a base-32 alphanumeric encoding of lat/lon with variable precision.
- What3Words: a proprietary three-word encoding of 3 m × 3 m grid cells.
Frequently Asked Questions
How do I convert DMS to decimal degrees?
Paste the DMS coordinate into the converter and pick DD as the target format. The formula is DD = D + M/60 + S/3600 with a sign flip for S and W.
Can I convert a batch of coordinates?
Yes — paste a list, drop a CSV, or upload a GeoJSON file. The tool converts each coordinate and returns a table.
What's the difference between DMS and DDM?
DMS uses degrees, minutes, and seconds; DDM uses degrees and decimal minutes (no seconds). Marine GPS units typically display DDM.
Does it handle MGRS?
Yes — MGRS is one of the supported output formats. Pair with the Lat/Lon ↔ UTM Converter for pure UTM work.
What precision should I use?
Six decimal places in DD gives ~11 cm; in DMS, one decimal place on seconds gives ~3 m. Match the precision to your input's actual accuracy.
Related Tools on gis.tools
Related Tools
View All ToolsArea Calculator
Calculate geodesic area of polygons accounting for Earth curvature
CRS & ProjectionsBounding Box & Buffer Helper
Calculate bounding boxes and buffers in meters at any latitude
CRS & ProjectionsProj4 Coordinate Converter
Transform coordinates using custom Proj4 strings
CRS & ProjectionsBearing & Destination
Calculate bearing and destination point from start, bearing, distance
CRS & ProjectionsLat/Lon ↔ UTM Converter
Convert between geographic (WGS84) and UTM coordinates
CRS & ProjectionsGreat Circle Route
Draw the shortest path between two points on Earth
CRS & Projections100% client-side processing - your data stays private and never leaves your device