Free, no sign-up, runs entirely in your browser. Paste Well-Known Text from PostGIS, QGIS or a spreadsheet and get GeoJSON back — or flip it and turn GeoJSON into WKT.
Build a dotted map of the same area — pick a country, region, or US state in the editor, style it, and export a PNG for free. SVG export is part of a paid plan.
Open the dotted map editorWell-Known Text (WKT) is a plain-text way of writing geometry, defined by the Open Geospatial Consortium. A point looks like POINT (10.75 59.91) and a square like POLYGON ((0 0, 1 0, 1 1, 0 1, 0 0)). It's what you get from PostGIS ST_AsText, from a geometry column exported to CSV, or from QGIS's "copy as WKT". GeoJSON describes the same shapes as JSON, and it's what web mapping libraries, D3 and most design scripts expect. This tool rewrites one as the other without sending anything to a server.
All seven geometry types are supported: POINT, LINESTRING, POLYGON (with holes), their MULTI versions and GEOMETRYCOLLECTION. It also reads PostGIS Extended WKT with an SRID=4326; prefix, the Z, M and ZM dimension tags, EMPTY geometries, and both ways of writing a MULTIPOINT. Paste several geometries at once, one per line or separated by semicolons, and each becomes its own feature.
Output shape chooses between a FeatureCollection (a list of features, each with an empty properties object, which is what most tools expect) and a bare geometry you can drop into an existing feature. Axis order matters because WKT itself doesn't say which number is longitude. GeoJSON is always longitude first, but some databases and EPSG:4326 exports write latitude first. If your points land in the ocean or latitudes exceed 90°, switch to "lat lon". Z values lets you keep elevation as a third coordinate or drop it for flat 2D output. M (measure) values have no place in GeoJSON and are always removed.
The converter doesn't reproject. If your WKT is in metres (Web Mercator or UTM, say), the numbers are copied over unchanged and you'll see a warning. Convert them to degrees first with the EPSG:3857 to 4326 converter or the UTM converter.