en

GeoJSON to WKT

Convert GeoJSON to WKT locally - the geometry format of PostGIS and databases. No upload.

Running locally on your device ...

0%

Your files never left your device

    Is my file uploaded?

    No. Everything runs in your browser - your file never leaves your device. How this is verifiable

    No upload100% local
    Your content stays with youno third-party access
    Servers in GermanyGDPR by design
    Independently auditedTLS A+ · HTTP headers A+

    WKT (Well-Known Text) is the textual notation for geometries used by spatial databases (PostGIS, SpatiaLite), desktop GIS (QGIS) and the OGC standard. If you want to take points, lines or areas from a GeoJSON file into a database column, a SQL query or a GIS tool, you need them as WKT. This tool reads your GeoJSON and writes one WKT line per geometry.

    All common geometries are supported: POINT, LINESTRING, POLYGON (with holes), MULTIPOINT, MULTILINESTRING, MULTIPOLYGON and GEOMETRYCOLLECTION. The coordinate order is longitude then latitude in both formats, so nothing is swapped. A third coordinate (elevation) is written as WKT with the Z tag. A FeatureCollection yields one WKT geometry per line.

    Everything runs entirely locally in the browser - your possibly sensitive location data never leaves your device. Honestly framed: WKT stores pure geometry. Properties such as name or description have no place in WKT and are not written out; if you need attributes, GeoJSON, KML or GPX are a better fit. Invalid GeoJSON is rejected with a clear message.

    Specifications

    Specifications
    Input formatsGEOJSON, JSON
    Output formatWKT
    Batch processingNo
    ProcessingLocally in your browser (JavaScript)
    File uploadNone

    In 3 steps

    1. Drop your GeoJSON file.
    2. The conversion runs automatically.
    3. Download the WKT (e.g. for PostGIS).

    Limitations: Converts GeoJSON (FeatureCollection, Feature or a bare geometry) to WKT: POINT, LINESTRING, POLYGON with holes, multi variants and GEOMETRYCOLLECTION; one line per geometry. Elevation as the Z tag. WKT stores geometry only - properties (name/description) are not carried over. Coordinates WGS84 (longitude, latitude). Invalid GeoJSON is rejected with a clear error.

    FAQ

    What do I need WKT for?

    WKT is the geometry format of spatial databases like PostGIS and GIS programs like QGIS. With it you insert geometries directly into SQL queries or tables.

    Which geometries are supported?

    POINT, LINESTRING, POLYGON (with holes), MULTIPOINT, MULTILINESTRING, MULTIPOLYGON and GEOMETRYCOLLECTION.

    Are names and properties kept?

    No. WKT stores geometry only; for attributes GeoJSON, KML or GPX are a better fit.

    What happens to elevation?

    A third coordinate is written as WKT with the Z tag, for example POINT Z (13.4 52.5 34).

    Is my file uploaded?

    No, the conversion happens entirely locally in the browser; location data never leaves your device.

    Related tools