Guide

THE TOOLBOX / GIS & GEOSPATIAL DATA

WKT to GeoJSON Converter —
EWKT, TopoJSON & Live 2D Vector Geometry Workbench.

Convert OGC WKT, PostGIS EWKT (SRID=4326), and TopoJSON to clean GeoJSON (and back) with an instant 2D SVG preview, vertex count, and bounding box—100% client-side.

Sample:
GEOMETRY PREVIEW (6 vertices)BBOX: [-122.430, 37.755, -122.390, 37.780]
SRID=4326
{
  "type": "Polygon",
  "coordinates": [
    [
      [
        -122.42,
        37.78
      ],
      [
        -122.4,
        37.78
      ],
      [
        -122.39,
        37.76
      ],
      [
        -122.415,
        37.755
      ],
      [
        -122.43,
        37.77
      ],
      [
        -122.42,
        37.78
      ]
    ]
  ]
}

OGC WKT EXAMPLES

Common WKT Geometry Types & GeoJSON Equivalents.

Geometry TypeWKT SyntaxNotes
PointPOINT (-122.42 37.78)Longitude first, then latitude (X Y)
LineStringLINESTRING (0 0, 10 10, 20 5)Open polyline for roads, trails & rivers
PolygonPOLYGON ((0 0, 4 0, 4 4, 0 4, 0 0))First and last coordinates must close the ring

2. Zero-Upload GIS Processing

Survey parcels, PostGIS query results, and private delivery zones stay strictly inside your browser memory.

Frequently Asked Questions

How do I convert PostGIS WKT or EWKT to GeoJSON?

Paste any WKT geometry (POINT, LINESTRING, POLYGON, MULTIPOLYGON) or PostGIS EWKT string with an SRID prefix (like SRID=4326;POLYGON(...)) into the input box. The tool strips and preserves the SRID badge, renders a 2D vector preview with bounding box, and outputs clean GeoJSON instantly.

Can this tool convert GeoJSON back to WKT?

Yes. Paste any GeoJSON Geometry, Feature, or FeatureCollection on the left and switch the output tab to WKT to get standard OGC Well-Known Text.

Does it support TopoJSON conversion to GeoJSON?

Yes. Paste a TopoJSON Topology object and it automatically extracts the primary object layer into standard GeoJSON using topojson-client locally in your browser.

What is the difference between WKT and EWKT?

OGC WKT stores pure geometry coordinates without coordinate-reference metadata. PostGIS EWKT (Extended Well-Known Text) prepends SRID=4326; (or another EPSG code) so spatial databases know which projection the coordinates belong to.

What coordinate order do WKT and GeoJSON use?

Both GeoJSON (RFC 7946) and standard PostGIS WKT use [longitude, latitude] (X, Y) order—unlike Google Maps URLs which typically display latitude first.

Are my proprietary geospatial boundaries uploaded anywhere?

No. All WKT, TopoJSON, and GeoJSON parsing and SVG preview rendering execute 100% locally in your browser.