Add your WKT
Drop WKT geometry anywhere on this page
.wkt · .txt · it never leaves the browser
Options
Your KML
Add WKT geometry and the KML appears here, with its feature counts and anything this pair cannot carry.
What comes across, and what cannot
Preserved
- Geometry — points, lines and polygons come across coordinate for coordinate; nothing is reprojected, because both sides are WGS84 longitude/latitude.
- Elevation (the Z ordinate) is preserved where the source has one.
Worth knowing
- Nothing measurable. Both WKT and KML carry geometry and a full attribute table, so this conversion is lossless apart from any coordinate rounding or simplification you ask for.
Well-Known Text (WKT)
The OGC's text notation for a single geometry — POINT (30 10), POLYGON ((…)) — and the form PostGIS, Snowflake and BigQuery accept in a SQL statement. It describes shape and nothing else: no attributes, no styling.
.wkt · .txt · text/plain
Keyhole Markup Language (KML)
The XML format Google Earth popularised. Placemarks carry a name, a description balloon, a geometry and — unlike GeoJSON — presentation: styles, icons, colours, altitude modes and time stamps.
.kml · application/vnd.google-earth.kml+xml
Convert WKT to KML, step by step
- Step 1
Add your WKT
Drop WKT geometry anywhere on the page, paste it, point at a URL, or press Sample to start from real data. Several files at once are fine.
- Step 2
Set what matters
Coordinate precision and simplification on every pair, plus the handful of settings this one needs — which field becomes the placemark name and description.
- Step 3
Take the KML
Read the feature counts and the warning list, then download, copy, or open the result in the Spatly studio to style and publish it.
Your data never leaves the page
Every conversion, measurement and export happens client-side. Nothing is uploaded, logged or stored — you can even use this offline once the page has loaded. Only “Open in Studio” sends data, and only after you sign in.
Good to know
- What is preserved when converting WKT to KML?
- Geometry — points, lines and polygons come across coordinate for coordinate; nothing is reprojected, because both sides are WGS84 longitude/latitude. Elevation (the Z ordinate) is preserved where the source has one.
- What is lost converting WKT to KML?
- Nothing measurable. Both WKT and KML carry geometry and a full attribute table, so this conversion is lossless apart from any coordinate rounding or simplification you ask for.
- What does the input look like?
- One geometry per line, in the OGC text form — POINT (30 10), LINESTRING (30 10, 10 30), POLYGON ((30 10, 40 40, 20 40, 30 10)) — with or without an SRID prefix. Blank lines are skipped, so you can paste a column straight out of a SQL client.
- Can I attach names to the geometries?
- Not in WKT itself — it holds shape and nothing else. If you need attributes alongside the geometry, put the WKT in one column of a CSV and use the CSV converter instead.
- Which field becomes the placemark name?
- Whichever you choose in step 2. The tool pre-selects a field called name, title or label if it finds one; every other attribute is written into <ExtendedData> so Google Earth shows it in the balloon. You can also nominate a field to become the <description>.
- Will the output open in Google Earth?
- Yes — the file is KML 2.2 with a single <Document>, one <Placemark> per feature and no vendor extensions, which is what Google Earth, Google My Maps, QGIS and ArcGIS all read.
- Is my file uploaded anywhere?
- No. The WKT is read, converted and written entirely inside this page — there is no upload, no queue, no server-side copy and no size limit imposed by a plan. Large files are parsed in a background worker so the page stays responsive. The only action that transmits anything is Open in Studio, and that happens after you sign in and press it.
- Is there a limit on file size or number of files?
- There is no imposed limit; the practical ceiling is your browser's memory. Files over about 5 MB are handed to a web worker so the interface keeps responding, and you can drop several files at once — each is converted separately and the set can be downloaded as one zip.