WGS84 ↔ GCJ‑02 Coordinate Converter

Convert decimal latitude and longitude between WGS84 GPS coordinates and GCJ-02, the coordinate system used by AMap in mainland China. Switch directions and copy the result.

Input coordinates

WGS84

Enter decimal degrees for a location in mainland China.

Converted coordinates

GCJ-02

Latitude
—
Longitude
—

When to convert WGS84 and GCJ-02 coordinates

Use WGS84 for GPS readings and GIS data. Convert to GCJ-02 to place the point on a mainland China map that uses GCJ-02, such as AMap. Convert in the other direction to use a GCJ-02 point with WGS84 data. Check the coordinate order when pasting into another application.

Coverage and accuracy

The converter uses an approximate transformation and the Natural Earth outline to check whether a point falls within mainland China. Results near the border or coast can differ from a map provider’s result. Your coordinates are processed in your browser.

gcoord · MIT