Live Online Convertergeojson → wkt

GeoJSON to WKT Converter

Writes the geometries of a GeoJSON file as Well-Known Text into a CSV file.

Upload a .geojson or .json file. The result is a CSV file (.csv): the first column WKT holds the geometry as Well-Known Text, the other columns hold the properties. This is GDAL's way of writing WKT together with attributes.

Drag a file here to convert, or select file

Accepted: .geojson, .json · max. 50 MB

Direct upload to the GDAL worker (Fly.io, Frankfurt)Files are deleted after the conversion

What the converter does

  • The download is a .csv file with the column WKT first, then all properties.
  • Mixed geometries are no problem: each row has its own WKT (POINT, LINESTRING, POLYGON and so on).
  • CSV stores no coordinate system; the coordinates stay as they are and the report names their system (e.g. EPSG:4326).
  • Lists and objects become JSON text, e.g. [ "bahn", "fern" ].
  • The report below the upload shows layers and features read and written, skipped layers with the reason, GDAL's warnings and the exact commands.

GDAL command the worker runs

sh — gdal
$ogr2ogr -f CSV converted.csv input.geojson input -lco GEOMETRY=AS_WKT -lco GEOMETRY_NAME=WKT

Tested with

Test fileResult
Mixed file: 2 points, 1 line, 1 polygonCSV with header WKT,id,art and 4 rows: POINT, LINESTRING, POLYGON, POINT
4 points with 10 propertiesCSV with the column WKT followed by all 10 properties; report: coordinates in EPSG:4326

Tested on 24 Sep 2026 with the worker code of this site and GDAL 3.10.3 (conda-forge build on Windows). The worker image runs the Debian build of the same GDAL version; the live worker was not part of these tests.

Limits

  • Upload limit: 50 MB per file.
  • The output is CSV with a WKT column, not a plain .wkt text file.
  • Each GDAL step may run for up to 240 seconds; a longer run is stopped with an error message.

Frequently Asked Questions

Why do I get a .csv file?

WKT describes only the geometry. GDAL writes WKT together with the attributes as a CSV with a WKT column; this file can be read back by GDAL and QGIS.

What happens to my file?

Your browser uploads it directly to the GDAL worker on Fly.io (region Frankfurt). The worker converts it in a temporary folder and deletes the folder after sending the result, or immediately if the conversion fails. Files are not stored permanently.

Related conversions