Converter Tools
WKT to GeoJSON Converter
Convert WKT to GeoJSON and GeoJSON to WKT in your browser. Points, lines, polygons, multi geometries, and collections, with a live preview, no upload.
Conversion direction
Wrap GeoJSON as
GeoJSON output
Converted 1 geometry.
Geometry preview
North is up. Longitude runs left to right. No reprojection is applied.
Geometry breakdown
| Geometry type | Count |
|---|---|
| Polygon | 1 |
WKT and GeoJSON both list coordinates as X then Y, which is longitude then latitude for geographic data. A third value is kept as the Z elevation when present.
How to use
- Pick a direction: WKT to GeoJSON, or GeoJSON to WKT. The tool also offers to auto-detect the direction from what you paste.
- Paste your geometry into the input box, for example POINT (-73.9857 40.7484) or a GeoJSON Polygon. You can paste several WKT values separated by semicolons or new lines.
- For WKT to GeoJSON, choose whether to wrap the result as a bare geometry, a Feature, or a FeatureCollection.
- Check the live shape preview and the geometry-type breakdown to confirm the geometry parsed correctly.
- Copy the output or download it as a .geojson or .wkt file. Everything runs locally in your browser.
About this tool
WKT to GeoJSON Converter translates spatial geometry between two of the most common interchange formats, in both directions, entirely in your browser. Well-Known Text (WKT) is the compact OGC text encoding used by PostGIS, many SQL databases, and desktop GIS tools, written as keywords like POINT, LINESTRING, and POLYGON followed by parenthesised coordinates. GeoJSON is the JSON encoding defined by RFC 7946 that web maps and JavaScript libraries expect. Going from WKT to GeoJSON, the tool parses all seven geometry types, Point, MultiPoint, LineString, MultiLineString, Polygon, MultiPolygon, and GeometryCollection, including the EMPTY keyword and the optional Z, M, and ZM dimension tags, then emits a clean, indented GeoJSON value. You can choose to output a bare geometry, a single Feature with an empty properties object, or a FeatureCollection, which is handy when you paste several WKT values at once separated by semicolons or new lines. Going the other way, it accepts a GeoJSON geometry, a Feature, or a FeatureCollection and writes one WKT string per geometry, so a whole collection becomes a tidy list you can drop into a database query. Both formats list coordinates as X then Y, which for geographic data means longitude then latitude, and the converter preserves that order exactly. A third ordinate is carried through as the Z elevation when it is present, and no reprojection or datum change is ever applied, so your numbers stay byte-for-byte faithful. As you type, the tool shows a small north-up SVG preview of the parsed shapes and a breakdown of how many of each geometry type were found, which makes it quick to confirm a polygon ring is closed or that a multipart geometry parsed the way you expected. Parse errors are reported with a plain-language message rather than a silent failure, and the result can be copied or downloaded as a .geojson or .wkt file. Everything runs locally with text parsing and JSON handling, so nothing you paste is uploaded, and the tool is free with no signup.
Free to use. Works in your browser. No signup, no login.
Related tools
You may also like
GeoJSON Viewer and Validator
Preview, validate, and export any GeoJSON document against RFC 7946 in your browser.
Open tool
ConverterCSV to GeoJSON Converter
Turn a lat/lon CSV into a valid GeoJSON FeatureCollection of points.
Open tool
ConverterGPS Coordinate Converter
Convert latitude and longitude between DD, DMS, and DDM.
Open tool
ConverterGPX File Viewer
Stats, map preview, elevation profile, and CSV or GeoJSON exports for any GPX file.
Open tool