GeoJSON to KML/KMZ Converter

Upload or paste your GeoJSON data and download it as a Google Earth compatible KML or KMZ file.

Quick Support

Reach us via WhatsApp for your questions.

Message on WhatsApp

GeoJSON to KML / KMZ Converter for Google Earth

About KML, KMZ, and GeoJSON

KML (Keyhole Markup Language) is an XML-based format developed specifically for displaying geographic data on Earth browsers. It is the native format of Google Earth and can contain points, lines, polygons, styles, camera viewpoints, and descriptive information. KMZ is simply a zipped (compressed) KML file — identical in content but packaged into a smaller archive that is easier to email or share. Both formats open directly in Google Earth, giving users an immersive 3D globe view of spatial data.

GeoJSON is the lingua franca of modern web mapping. It is produced by web mapping applications, ArcGIS and other GIS software, and by many spatial data APIs. Because it is based on plain JSON, GeoJSON is easy to work with programmatically, but it is not natively understood by Google Earth — which is why a converter is needed.

Converting GeoJSON to KML or KMZ lets you take data created in a web mapping or desktop GIS environment and share it with Google Earth users, overlay it on a 3D globe, or deliver it to stakeholders who are comfortable with the Google Earth interface.

  • Native Google Earth format: KML and KMZ open directly in Google Earth Pro, Google Earth Web, and ArcGIS without any additional steps.
  • All geometry types preserved: Points, LineStrings, Polygons, and their Multi variants are all converted faithfully.
  • Feature names and properties retained: The feature name appears as the Placemark label in Google Earth, and all other properties are stored in the KML ExtendedData block so they are accessible in the info balloon.
  • KMZ for compact sharing: KMZ compresses the KML file, making it significantly smaller and convenient to attach to emails or upload to shared drives.

How to Use This Tool

Start by uploading a GeoJSON file using the file picker, or paste raw GeoJSON text directly into the textarea. Supported file extensions include .geojson, .json, and .txt. Once your data is ready, click Convert. The tool will parse your GeoJSON, generate the KML output, and display an interactive map preview so you can verify the geometry before downloading.

After conversion, two download buttons appear: Download KML for the plain XML file and Download KMZ for the compressed version. A Copy button also lets you copy the raw KML text directly to your clipboard if you need to paste it into another application. All processing runs entirely in your browser — no data is ever sent to a server, so your files stay private.

Other Tools

If you already have a KML or KMZ file and want to visualize it without converting anything, our KML/KMZ Viewer lets you open and inspect KML files directly on an interactive map. For exploring spatial data in a variety of formats — including GeoJSON, Shapefile, and CSV — the Map Viewer provides a versatile viewing experience with no conversion required.

Frequently Asked Questions

What is the difference between KML and KMZ?

KML (Keyhole Markup Language) is an XML-based plain text file format that is human-readable and straightforward to edit in any text editor. KMZ is the ZIP-compressed version of a KML file, which significantly reduces file size and allows you to bundle related assets such as images or overlays into a single package. Both formats are natively supported by Google Earth and are readable by a wide range of GIS software.

Will the converted file open in Google Earth?

Yes. The KML and KMZ files produced by this tool are fully compatible with Google Earth Pro (desktop) and Google Earth Web. You can also import them into ArcGIS and other GIS software that supports the KML standard. Simply download the file and drag it into Google Earth to view your data on the 3D globe.

Which geometry types are supported?

The converter supports all standard GeoJSON geometry types: Point, LineString, Polygon, MultiPoint, MultiLineString, MultiPolygon, and GeometryCollection. Both Feature and FeatureCollection structures are handled correctly, and feature properties are exported to the ExtendedData section of the resulting KML.

Are feature names and properties preserved?

Yes. Feature names (the 'name' property if present) are mapped to the KML Placemark name element, so your labels appear correctly in Google Earth. All other properties from the GeoJSON features are included in the KML ExtendedData block, making them visible in the feature's information balloon when you click on it in Google Earth.

Can I download both KML and KMZ?

Yes. After conversion, both a Download KML button and a Download KMZ button appear. KML is the plain XML file, while KMZ is the compressed version of the same data. Choose KMZ when you want a smaller file size for sharing, or when the recipient expects a single compressed archive.

What is GeoJSON and where does it come from?

GeoJSON is an open standard format for encoding geographic data structures using JSON. It is the default export format of many web mapping applications, ArcGIS and other GIS software, making it one of the most widely used interchange formats in modern spatial data workflows. Converting GeoJSON to KML lets you bring data created in those environments into Google Earth for 3D visualization and presentation.

Are my files uploaded to a server?

No. All processing happens entirely in your browser. Your GeoJSON data is never sent to any server, so your data remains private and the tool works even when you are offline after the page has loaded.

Need a More Comprehensive Solution?

For bulk data conversion, custom format integration, or GIS software development, contact Rodosto Technology.