GeoJSON to WKT / WKB Converter

Convert geometries between GeoJSON, WKT and little-endian WKB hex.

About this tool

Convert spatial geometries between GeoJSON, Well-Known Text (WKT) and Well-Known Binary (WKB) without leaving the browser. It auto-detects whether you pasted GeoJSON or WKT, supports the six core single- and multi-part geometry types, and emits little-endian WKB as a hex string suitable for PostGIS, SpatiaLite and other OGC-compliant stores. Useful for GIS developers, data engineers and anyone wrangling spatial columns.

Frequently asked questions

How do I convert GeoJSON to WKT?

Paste a GeoJSON geometry object in the input box and set the option to to=wkt. The tool auto-detects GeoJSON (starts with '{') and emits the equivalent Well-Known Text.

Which geometry types are supported?

Point, LineString, Polygon, MultiPoint, MultiLineString and MultiPolygon, in both GeoJSON and WKT directions. WKB hex output is produced for all of them.

Is the WKB output big- or little-endian?

It is little-endian (byte order flag 01), the most common form, with the geometry type as a uint32 and each ordinate as an IEEE-754 double, all rendered as a lowercase hex string.

An unhandled error has occurred. Reload ×