Convert GeoJSON to WKT Online

Convert GeoJSON to well-known text, one geometry per line, ready to paste into PostGIS, Oracle Spatial or any SQL database that speaks WKT.

GeoJSON from WKT to

Drag a GeoJSON file here

or

Accepts .geojson, .json · no size limit · nothing is uploaded

Converted on your device WKT output

How to convert GeoJSON to WKT

  1. 1

    Choose your GeoJSON file

    Drag it onto the panel or browse for it. Several files at once is fine, and each is read straight from your disk rather than uploaded.

  2. 2

    Check the preview

    Features draw on a map with their attributes. A polygon that came through inside out, or a file that turns out to be empty, shows up here rather than later in QGIS.

  3. 3

    Download the WKT

    Press download and the file is written straight to your downloads folder. Adjust precision or other settings first if you need to.

What comes across

GeoJSON carries more than geometry, and most converters drop the rest. This one does not.

Every geometry type

Points, lines, polygons with holes, and all the Multi variants including GEOMETRYCOLLECTION.

A name as a label

Where a feature has a name it is written before the geometry, separated by a semicolon, and read back as a name on the way in.

Database ready

Output is plain WKT with no SRID prefix, which is what ST_GeomFromText and its equivalents expect.

Frequently asked questions

What happens to my attributes?

WKT describes geometry and nothing else. A name is kept as a label before each geometry, separated by a semicolon, and the rest is dropped. If you need the full attribute table, convert to CSV instead — that keeps the columns and puts WKT in a geometry column.

Can I paste the result straight into PostGIS?

Yes. Each line is valid WKT, so ST_GeomFromText('...', 4326) accepts it directly. Coordinates are in WGS 84 unless you chose another output system.

Does it handle polygons with holes?

Yes. The outer ring comes first and each hole follows inside the same POLYGON, which is exactly what the WKT specification expects.

What about Multi geometries?

MULTIPOINT, MULTILINESTRING, MULTIPOLYGON and GEOMETRYCOLLECTION are all written and read back correctly.

Is my file uploaded anywhere?

No. Everything runs in your browser.

All our converters

Every conversion below is live. Pick a starting format and go.

SVG is an export format only — you can convert any layer into it, but not back out again. A drawn map has no coordinates to recover, only shapes on a page.

Ready to convert without uploading?

Free, no sign-up, no file size limit — and your data never leaves your machine.

Open the KML converter