All tools
Format conversionLocal browser worker

WKT to KML Converter

Convert WKT geometry to a downloadable KML file locally in your browser, with explicit CRS handling and a conversion loss report.

Loading tool

Preparing this tool in your browser.

Preparing the local tool…

Format preservation contract

This is the converter's static format contract. The result report adds input-specific warnings, field mappings, transformations, and losses for each run.

Data areaStatusBehavior
GeometryPreservedSupported WKT geometry types are represented in KML.
AttributesConditionalAn optional feature name is added; WKT has no other attributes.
Coordinate reference systemTransformedEPSG:3857 is transformed and WGS84 input is normalized to KML longitude/latitude.
DimensionsConditionalZ is preserved; M is reported and dropped.
LayersPreservedThe single WKT geometry becomes one KML feature.
StylesNot supportedThe source format does not provide a portable style contract for this conversion.
AttachmentsNot supportedExternal attachments are outside this browser conversion.
PackagingPreservedOutput is a standalone KML document.

Convert WKT geometry to KML

Paste one Well-Known Text geometry, choose its coordinate reference system, and download a KML file that can be opened in Google Earth and other KML-aware software. The conversion runs locally and produces a report explaining reprojection and any dimensional information the target could not retain.

Use the CRS control deliberately. Plain WKT describes geometry but normally does not identify its coordinate system. The converter defaults to WGS 84 longitude/latitude and also accepts Web Mercator or an SRID=4326; / SRID=3857; prefix. Unsupported or ambiguous CRS identifiers are blocked instead of guessed.

Worked example

Input WKT:

POLYGON ((12.54 55.66, 12.58 55.66, 12.58 55.69, 12.54 55.69, 12.54 55.66))

The output is a KML document containing one polygon placemark. You can provide a placemark name before converting. Coordinates are written in KML longitude, latitude order.

Input-specific considerations

WKT carries one geometry and no source attribute table. The optional placemark name is therefore added by this tool rather than copied from the input. The canonical preservation contract above describes the format-level behavior; the downloadable report records whether this input was reprojected and whether its observed coordinate dimensions required any loss.

Limits and failure behavior

These are the effective browser-worker limits for this page. The one-feature value is a WKT-to-KML override; the other values come from the central browser conversion defaults.

Runtime limitExact value
Input size (maxInputBytes)26214400 bytes (25 MiB)
Features (maxFeatures)1 feature
Coordinate positions (maxCoordinatePositions)2000000
Property fields (maxPropertyFields)2048; WKT itself carries no property table
Serialized properties (maxPropertyBytes)16777216 bytes (16 MiB); WKT itself carries no properties
Geometry/property nesting (maxNestingDepth)64 levels
Hard timeout (timeoutMs)60000 ms (60 seconds)

Invalid syntax, unsupported SRIDs, empty coordinate sequences, and coordinates that cannot be transformed are returned as explicit errors.

For vector handoff checks, use the GeoJSON Validator. To move a GIS archive into Google Earth instead, use Shapefile to KMZ. For broader export context, read satellite image segmentation software for GIS export.

FAQ

Does this upload my WKT?

No. Parsing, reprojection, and KML generation happen in a browser worker on your device.

What CRS should I choose?

Choose WGS 84 when the first coordinate is longitude and the second is latitude in decimal degrees. Choose Web Mercator only when coordinates are in EPSG:3857 metres.

Can I convert EWKT with an SRID?

The converter recognizes SRID=4326 and SRID=3857. Other SRIDs are rejected in this first release rather than being interpreted incorrectly.

Can the KML reproduce an original map style?

No. WKT contains geometry, not cartographic styling. The result is a clean placemark suitable for styling in the destination application.

Related tools