Skip to content

WKT to GeoJSON - Well-Known Text Converter

Convert WKT (Well-Known Text) geometry strings to GeoJSON FeatureCollection format.

Input

text
loading editor…

Paste your WKT geometry here...
or drop a file anywhere in this pane

Output

json

Generated GeoJSON will appear here...
press to convert to geojson

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

  1. Paste your WKT string: Enter one or more WKT geometry strings such as POINT (-73.9857 40.7484).
  2. Click Convert to GeoJSON: The tool parses the WKT and produces a GeoJSON FeatureCollection with each geometry as a separate Feature.
  3. Use the GeoJSON: Copy the output directly into a map library or save it as a .geojson file.

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