🗺️ WKT to GeoJSON Converter
Paste a WKT geometry like POINT (30 10) or POLYGON ((…)) and get equivalent GeoJSON — parsed locally on your device.
Polygon → GeoJSON (RFC 7946)
How the wkt to geojson converter works
WKT (Well-Known Text) is the OGC's human-readable way to write a geometry — POINT, LINESTRING, POLYGON, their MULTI* forms and GEOMETRYCOLLECTION — and GeoJSON (RFC 7946) is the JSON form used across web mapping (Leaflet, Mapbox, OpenLayers, PostGIS exports). This converter parses the WKT and emits the matching GeoJSON geometry object, preserving coordinate order — both formats write X Y, i.e. longitude then latitude, so no axis flipping is needed. It handles polygon holes (inner rings), the two MULTIPOINT spellings, EMPTY geometries, and optional Z (elevation) values.
Use this to drop a geometry from a database or a spatial query straight into a web map or a GeoJSON tool. It converts a single geometry (or a GEOMETRYCOLLECTION); it does not attach feature properties, since WKT carries geometry only — wrap the result in a GeoJSON Feature yourself if you need attributes. Everything is parsed in your browser, so location data — which can be sensitive — never leaves your device.
Frequently asked questions
How do I convert WKT to GeoJSON?
Paste the WKT geometry (or load a .wkt file) and the tool outputs the equivalent GeoJSON geometry object you can copy or download. POINT becomes a Point, POLYGON becomes a Polygon with its rings, and so on.
Does it keep longitude/latitude order correct?
Yes — both WKT and GeoJSON use X Y order (longitude then latitude), so coordinates map across directly with no swapping. This is unlike some GPS formats, which use latitude first.
Are polygon holes and multi-geometries supported?
Yes. Polygon inner rings (holes) are preserved as additional coordinate rings, and MultiPoint, MultiLineString, MultiPolygon and GeometryCollection all convert to their GeoJSON equivalents.
What about feature properties?
WKT stores geometry only — no attributes — so the output is a GeoJSON geometry, not a Feature. If you need properties, wrap the geometry in a Feature object with your own properties.
Is my geometry uploaded?
No — parsing runs entirely in your browser, so coordinates stay on your device and it works offline.