Convert co-ordinate format

Converts geographical coordinates between different formats.

Input: TextResult: Text

Text input

Tool options

Examples

Co-ordinates: Directions in input and output

Input

N51.504°,W0.126°,

Expected answer

N 51.504°,W 0.126°,
Input Format
Decimal Degrees
Input Delimiter
Comma
Output Format
Decimal Degrees
Output Delimiter
Comma
Include Compass Directions
Before
Precision
3
Co-ordinates: Directions in input, not output

Input

N51.504°,W0.126°,

Expected answer

51.504°,-0.126°,
Input Format
Decimal Degrees
Input Delimiter
Comma
Output Format
Decimal Degrees
Output Delimiter
Comma
Include Compass Directions
None
Precision
3
Co-ordinates: Directions not in input, in converted output

Input

51.504°,-0.126°,

Expected answer

N 51° 30' 14.4",W 0° 7' 33.6",
Input Format
Decimal Degrees
Input Delimiter
Comma
Output Format
Degrees Minutes Seconds
Output Delimiter
Comma
Include Compass Directions
Before
Precision
3
Co-ordinates: Directions not in input, in output

Input

51.504°,-0.126°,

Expected answer

N 51.504°,W 0.126°,
Input Format
Decimal Degrees
Input Delimiter
Comma
Output Format
Decimal Degrees
Output Delimiter
Comma
Include Compass Directions
Before
Precision
3
Co-ordinates: From Decimal Degrees to Decimal Degrees

Input

51.504°,-0.126°,

Expected answer

51.504°,-0.126°,
Input Format
Decimal Degrees
Input Delimiter
Comma
Output Format
Decimal Degrees
Output Delimiter
Comma
Include Compass Directions
None
Precision
3
Co-ordinates: From Decimal Degrees to Degrees Decimal Minutes

Input

51.504°,-0.126°,

Expected answer

51° 30.24',-0° 7.56',
Input Format
Decimal Degrees
Input Delimiter
Comma
Output Format
Degrees Decimal Minutes
Output Delimiter
Comma
Include Compass Directions
None
Precision
2
Co-ordinates: From Decimal Degrees to Degrees Minutes Seconds

Input

51.504°,-0.126°,

Expected answer

51° 30' 14.4",-0° 7' 33.6",
Input Format
Decimal Degrees
Input Delimiter
Comma
Output Format
Degrees Minutes Seconds
Output Delimiter
Comma
Include Compass Directions
None
Precision
1
Co-ordinates: From Decimal Degrees to Geohash

Input

51.504°,-0.126°,

Expected answer

gcpvj0h0x,
Input Format
Decimal Degrees
Input Delimiter
Comma
Output Format
Geohash
Output Delimiter
Comma
Include Compass Directions
None
Precision
9
Co-ordinates: From Decimal Degrees to MGRS

Input

51.504°,-0.126°,

Expected answer

30U XC 99455 09790,
Input Format
Decimal Degrees
Input Delimiter
Comma
Output Format
Military Grid Reference System
Output Delimiter
Comma
Include Compass Directions
None
Precision
10
Co-ordinates: From Decimal Degrees to OSNG

Input

51.504°,-0.126°,

Expected answer

TQ 30163 80005,
Input Format
Decimal Degrees
Input Delimiter
Comma
Output Format
Ordnance Survey National Grid
Output Delimiter
Comma
Include Compass Directions
None
Precision
10

Supported formats:Degrees Minutes Seconds (DMS) Degrees Decimal Minutes (DDM) Decimal Degrees (DD) Geohash Military Grid Reference System (MGRS) Ordnance Survey National Grid (OSNG) Universal Transverse Mercator (UTM) The operation can try to detect the input co-ordinate format and delimiter automatically, but this may not always work correctly.

Format reference: Convert co-ordinate format background and specification

Parameters

ParameterDefault valueInput and choices
Input FormatAutoText
8 Available choices
  • Auto
  • Degrees Minutes Seconds
  • Degrees Decimal Minutes
  • Decimal Degrees
  • Geohash
  • Military Grid Reference System
  • Ordnance Survey National Grid
  • Universal Transverse Mercator
Input DelimiterAutoAuto, Direction Preceding, Direction Following, \n, Comma, Semi-colon, Colon
Output FormatDegrees Minutes SecondsText
7 Available choices
  • Degrees Minutes Seconds
  • Degrees Decimal Minutes
  • Decimal Degrees
  • Geohash
  • Military Grid Reference System
  • Ordnance Survey National Grid
  • Universal Transverse Mercator
Output DelimiterSpaceSpace, \n, Comma, Semi-colon, Colon
Include Compass DirectionsNoneNone, Before, After
Precision3Number

Related tools

Browse utils tools