Conversor de Geometrías

100% cliente — sin enviar datos al servidor

WKT to GeoJSON Converter — Free Online Tool

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.

Entrada
GeoJSON

Ejemplos de WKT

POINT

LINESTRING

POLYGON

MULTIPOINT

MULTILINESTRING

MULTIPOLYGON

What is WKT (Well-Known Text)?+

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, ...)).

What is the difference between WKT and GeoJSON?+

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.

What is WKB (Well-Known Binary)?+

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.

How to convert PostGIS geometry to GeoJSON?+

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 →