WKT ↔ GeoJSON Converter
Convert Well-Known Text (WKT) to GeoJSON and back. Paste either format below; the converter detects which one you gave it.
About the WKT converter
Well-Known Text (WKT) is the geometry format used by PostGIS, Oracle Spatial, SQL Server and most spatial databases. GeoJSON is the format used by web maps and APIs. Moving between the two is a daily task in GIS development, and this tool does it instantly in your browser.
Supported geometries
Point, LineString, Polygon, MultiPoint, MultiLineString, MultiPolygon and GeometryCollection, in both directions.
Common conversions this tool handles
- WKT POINT, POLYGON or LINESTRING to GeoJSON
- GeoJSON geometry or Feature to WKT
- PostGIS query output to web-map-ready GeoJSON
Frequently asked questions
What coordinate order does WKT use?
Same as GeoJSON: x first, then y (longitude, latitude). If your result lands in the wrong place, the source data probably had latitude first.
Is EWKT supported?
Strip the SRID prefix (for example SRID=4326;) before pasting; the geometry part then converts normally.
Is my data uploaded?
No. Conversion runs entirely in your browser.