Convert WKT to GeoJSON

Convert WKT (Well-Known Text) geometry to GeoJSON, in your browser.

Output (GeoJSON)
{
  "type": "FeatureCollection",
  "features": [
    {
      "type": "Feature",
      "geometry": {
        "type": "Point",
        "coordinates": [
          -122.4194,
          37.7749
        ]
      },
      "properties": {}
    }
  ]
}

Runs entirely in your browser - nothing is sent to a server.

Related tools

How it works

  1. 1

    Paste your WKT

    A single geometry, e.g. from a PostGIS ST_AsText() query.

  2. 2

    Copy the GeoJSON

    Ready to drop into any web map.

FAQ

Can I paste multiple WKT geometries at once?
No - only a single WKT geometry is read per conversion; convert multi-geometry text one line at a time.
Does the output have any properties?
No - WKT carries no attributes, so the output Feature has an empty properties object.