What Is WKT?
Well-Known Text (WKT) is a text markup language for representing vector geometry objects such as points, lines, and polygons. It is defined by the Open Geospatial Consortium (OGC) and is widely used in spatial databases like PostGIS and MySQL Spatial Extensions.
This is used for:
- GIS Data Migration: Convert spatial data exported from PostGIS or SpatiaLite into web-friendly GeoJSON.
- Map Visualization: Transform coordinates from legacy GIS systems into GeoJSON for rendering on web maps like Leaflet or Mapbox.
- Database to Web: Bridge the gap between database-native spatial formats and the JSON-based GeoJSON standard used by frontend mapping libraries.
How to Use the WKT to GeoJSON Converter Online
- Paste your WKT string: Enter one or more WKT geometry strings such as
POINT (-73.9857 40.7484). - Click Convert to GeoJSON: The tool parses the WKT and produces a GeoJSON FeatureCollection with each geometry as a separate Feature.
- Use the GeoJSON: Copy the output directly into a map library or save it as a
.geojsonfile.
Frequently Asked Questions
What WKT geometry types are supported?
The converter supports POINT, LINESTRING, POLYGON, MULTIPOINT, MULTILINESTRING, MULTIPOLYGON, and GEOMETRYCOLLECTION. Each type is mapped to the equivalent GeoJSON geometry object.
Is this tool safe?
Yes. All processing happens 100% client-side in your browser. Nothing is uploaded to any server.
Is this tool free?
Yes, completely free with no usage limits or registration required.
Real-World Examples
A GIS analyst exporting neighborhood boundaries from a PostGIS database receives the data as WKT polygons. Pasting those strings into this converter produces GeoJSON that can be loaded directly into Mapbox Studio for creating interactive web maps without intermediate conversion tools.
Related Tools
- TopoJSON to GeoJSON — Convert TopoJSON topology data to standard GeoJSON.
- KML to GeoJSON — Convert Google Earth KML files to GeoJSON format.
- GeoJSON Viewer — Visualize GeoJSON data on an interactive map.