b2KIT

KML to GeoJSON Converter

Convert Google Earth KML/KMZ files to GeoJSON format with style and property preservation.

Tested tool guide Tested browser tools Checked August 16, 2026

What KML to GeoJSON Converter does and how it behaves

KML to GeoJSON Converter changes Google Earth KML or packaged KMZ files into GeoJSON that can be inspected or used by GeoJSON-compatible mapping software. It translates placemark geometries and carries associated names, descriptions, custom properties, and style information into the result where they remain representable. KMZ input is unpacked in the browser to reach its KML content, and the source file is not uploaded. The main surprise is that GeoJSON defines geometry and properties, but no standard styling model, so another map may not automatically reproduce the Google Earth appearance.

How the result is produced

1

Geometry and coordinates

KML placemarks containing Point, LineString, and Polygon geometry become the corresponding GeoJSON feature geometries. Coordinate positions remain ordered as longitude, latitude, with altitude as an optional third value when it is retained from the source. The result follows GeoJSON's feature and geometry structure rather than preserving KML's XML element layout.

2

Properties and presentation

Placemark data such as names, descriptions, and extended fields is carried beside each GeoJSON geometry as feature properties. KML style information is also preserved as properties where possible. This is data preservation, not a promise of identical rendering: a GeoJSON viewer must recognize those property conventions and deliberately apply them to lines, fills, markers, or labels.

Good uses

  • Prepare Google Earth placemarks, routes, or boundaries for a web map that accepts GeoJSON rather than KML.
  • Convert a KMZ received from a GIS or field team into text-based feature data for inspection, filtering, or version control.
  • Move KML ExtendedData and geometry into a GeoJSON-oriented workflow while retaining available descriptive and style properties.

Limits and checks

  • KML and GeoJSON positions use longitude before latitude. A point can appear in the wrong continent if a later application reverses the two values.
  • Preserved style properties are not part of GeoJSON's standard geometry model. A valid conversion may display with default symbols or colors in software that ignores them.
  • KML constructs such as NetworkLink, GroundOverlay, ScreenOverlay, and Model are not GeoJSON geometry types. Do not treat a successful feature conversion as proof that every Google Earth behavior or packaged KMZ resource has an equivalent.

Common questions

Will the GeoJSON look exactly like the KML in Google Earth?

Not necessarily. The converter preserves available style information, but GeoJSON itself does not prescribe how features must be drawn. The receiving map must understand and apply the resulting style properties. Google Earth-specific overlays, icons, labels, altitude behavior, and 3D content may therefore look different or have no direct visual equivalent.

Can I convert a KMZ file as well as plain KML?

Yes. The tool accepts KMZ packages and extracts their KML content locally in the browser before conversion. However, a KMZ can also contain supporting images, icons, models, or other files that core GeoJSON cannot represent as geometry. Check the converted properties and test the result in its intended map before discarding the original package.

References and verification

The behavioral notes were checked against the browser implementation. Standards and primary references below define the relevant format, formula, or platform behavior.

Related Tools