Convert WKT (Well-Known Text) to GeoJSON, WKB hex, and back. Supports POLYGON, POINT, LINESTRING, MULTIPOLYGON and all OGC geometry types from PostGIS, Shapely, GDAL.
POINT
LINESTRING
POLYGON
MULTIPOINT
MULTILINESTRING
MULTIPOLYGON
WKT is a text markup language for representing vector geometry objects. It is used in PostGIS (PostgreSQL), Shapely (Python), GDAL, and most GIS tools. Examples: POINT(lng lat), POLYGON((x1 y1, x2 y2, ...)).
WKT is a compact text format common in databases (PostGIS). GeoJSON is a JSON-based format used in web mapping (Leaflet, Mapbox, D3). Both represent the same geometries — this tool converts between them instantly.
WKB is the binary equivalent of WKT, typically stored as a hex string. PostGIS returns WKB by default (e.g., 0101000000...). Use ST_AsText() to get WKT, or paste the hex here to convert.
Run: SELECT ST_AsText(geom) FROM your_table. Paste the result here and select "WKT → GeoJSON". Or use ST_AsGeoJSON(geom) directly in PostgreSQL.
¿Quieres visualizar tus geometrías en un mapa? Try WKT Studio →