All Over Tools logo
Tool Combiner
Analyze Tools Clean Tools Compare Tools Convert Tools Data Validation Extract Tools Format Tools Generate Tools Organize Tools Transform Tools
Audio Tools Font Tools Image Tools Subtitle Tools Video Tools
Archive Tools Document Tools Ebook Tools File Management Tools PDF Tools Presentation Tools
Config Tools Database Tools Dataset Tools JSON Tools Parser Tools Spreadsheet Tools XML Tools
Business Calculators Construction Calculators Date And Time Calculators Education Calculators Financial Calculators Food Calculators Health Calculators Math Calculators Science Calculators Sports Calculators Statistics Calculators
Blog About Us Contact Us

Coordinate Extractor

Paste any text and extract every geographic coordinate pair it contains - decimal degrees, DMS, DDM, UTM, and MGRS - normalized to latitude/longitude decimal degrees, with source context preserved and invalid pairs flagged.

How to extract coordinates from text

Paste notes into the input area or choose Upload for a supported text file. Coordinate Extractor checks for decimal degrees, DMS, DDM, UTM, and MGRS patterns, then places each match in a row with Latitude, Longitude, Raw Match, and Source Context.

  1. Paste coordinate-bearing text into the input area, or use Upload to choose a .txt, .csv, .log, .kml, or .gpx file.
  2. Review the Extracted Coordinates table after the text is read.
  3. Select Valid only to hide Flagged rows, or choose a format in Format.
  4. Choose Reset filters to return to All formats and both Valid and Flagged rows.
  5. Use Copy filtered coordinates or Download filtered coordinates as CSV for the rows currently visible.

What each coordinate format needs

Decimal degrees use signed values with a comma, semicolon, or slash between them. The parser also accepts decimal pairs marked with N, S, E, or W. DMS uses degree and minute marks, numeric seconds, and hemisphere letters. DDM uses degree marks and hemisphere letters, with an optional minute mark. UTM uses a zone and band, a six-digit easting, and a six- or seven-digit northing. MGRS uses a zone, two grid letters, and an even number of precision digits.

Input: Team Alpha: 40.7128, -74.0060
Survey marker: 40°42'46"N 74°0'21"W
Output: DD | 40.712800 | -74.006000 | Valid

The table labels this match DD. Latitude and Longitude are shown to six decimal places, and Raw Match keeps the text that was detected. UTM and MGRS rows are converted to latitude and longitude by the page's JavaScript. An MGRS coordinate uses the approximate center of its grid cell.

Filter extracted latitude and longitude pairs

Each row contains Format, Latitude, Longitude, Raw Match, Status, and Source Context. Format includes All formats, Decimal degrees, DMS, DDM, UTM, and MGRS. Valid only keeps rows whose status is Valid. Reset filters restores every format and both statuses. When filtering leaves no rows, the table says No coordinate pairs found.

A plain decimal pair receives an ambiguity note when both values fall within the latitude range, -90 to 90. The row remains Valid because the values could be latitude-first or longitude-first. The parser marks a row Flagged when latitude or longitude is outside its allowed range, or when it cannot resolve an MGRS grid square.

Copy or download coordinates from text

  • Copy filtered coordinates puts the visible rows on the clipboard as tab-separated text.
  • Download filtered coordinates as CSV saves the visible rows as coordinates.csv.

Both exports include Format, normalized Latitude and Longitude, Raw Match, validity, note, and Source Context. With no visible rows, the export controls produce no output.

Use the extracted rows in context

Paste a survey log and inspect each pair beside its Source Context. A KML or GPX text file can be loaded with Upload, then UTM or MGRS rows can be checked before the filtered CSV is saved.

For street addresses and PO boxes, use Address Extractor, which targets US-style address patterns. For web addresses, use Extract URLs from Text. If the input contains general numeric values rather than geographic pairs, use Number Extractor. For other text parsing jobs, browse Text Parsing & Data Extraction.

What Coordinate Extractor leaves unchanged

The parser reads coordinate patterns already present in the input. It does not turn addresses, place names, or postal codes into coordinates, and it does not call a mapping or geocoding service. The coordinate code reads pasted and uploaded content in browser JavaScript.

Frequently asked questions

What coordinate formats can Coordinate Extractor find?

It finds decimal degrees, DMS, DDM, UTM, and MGRS patterns. MGRS rows are flagged when the grid square cannot be resolved.

Can I extract latitude and longitude from a file?

Yes. Use Upload with a .txt, .csv, .log, .kml, or .gpx file, then review the rows as the file text is read.

Why is a coordinate pair flagged?

A row is flagged when latitude or longitude is outside its allowed range or an MGRS grid square cannot be resolved. An ambiguous plain decimal pair remains Valid with a note about the possible order.

Does Coordinate Extractor send pasted text to a map service?

No. Parsing and coordinate conversion run in browser JavaScript, and the tool code does not send pasted or uploaded content to a mapping or geocoding service.

Related Tools

63 views