KML/KMZ Viewer and GeoJSON Converter
View KML and KMZ files on a map, convert them to GeoJSON with one click, then download or copy to your clipboard.
its content will appear on the map and can be downloaded as GeoJSON.
Upload File
Drag & drop your KML or KMZ file here, or click to browse
.kml and .kmz files are supported
Your Data Stays in Your Browser
The KML/KMZ files you upload are processed in your browser; nothing is sent to any server. The GeoJSON conversion and map preview happen entirely on your device.
Related Tools
Online KML/KMZ Viewer and Converter
What are KML and KMZ Files?
KML (Keyhole Markup Language) is an open XML-based standard maintained by the Open Geospatial Consortium. Originally created for Google Earth, it is now supported across a wide range of GIS software and web mapping applications. A KML file stores geographic features — placemarks, paths, polygons, and image overlays — together with style and metadata information. KMZ is simply a ZIP-compressed bundle of a KML file plus any associated resources such as icons and overlay images. With this tool you can view both formats directly in your browser.
- KML Files: Contain geographic data such as points, lines, and areas.
- KMZ Files: A compressed package of a KML file that may also include images and other resources.
- GeoJSON Conversion: Converts your KML data into GeoJSON, ready for use in modern web maps.
How to Use
Upload or drag and drop your KML or KMZ file. The file is automatically displayed on the map. Use the relevant buttons to download it as GeoJSON or copy it to your clipboard.
Other Tools
Use our GeoJSON Formatter to format your GeoJSON data. For WKT geometry strings, try the WKT Converter. If you need to go the other direction, the GeoJSON to KML/KMZ tool converts GeoJSON back to KML.
Frequently Asked Questions
What is the difference between KML and KMZ?
KML (Keyhole Markup Language) is a plain-text XML format that is human-readable. KMZ is the ZIP-compressed version of a KML file; it can also contain images, icons, and other resources. KMZ files are generally smaller in size and easier to share.
How can I open a KML file without Google Earth?
With this online tool, you can view KML and KMZ files directly in your browser without installing any software. Simply drag and drop your file or use the file picker to upload it; your data will be displayed on the map instantly.
How do I convert a KML file to GeoJSON?
Upload your KML or KMZ file to this tool. The file will be automatically converted to GeoJSON format and displayed on the map. Click the "Download GeoJSON" button to save the converted file to your computer, or use the "Copy" button to copy it to your clipboard.
Is my KML file data kept private?
Yes. All file processing happens entirely in your browser. Your KML or KMZ data is never uploaded to any server, so your geographic data remains completely private and secure.
What types of geometry does the KML viewer support?
The viewer supports all standard KML geometry types including Points, LineStrings, Polygons, MultiGeometry, and NetworkLinks. Placemarks with names and descriptions are also rendered with pop-up information on click.
Can I view a KMZ file that contains embedded images?
Yes. The tool automatically extracts and decompresses KMZ archives in the browser. The embedded KML geometry is displayed on the map; any referenced image overlays or icon resources within the KMZ are handled as part of the package.
Why would I want to convert KML to GeoJSON?
GeoJSON is the most widely supported open format for geographic data on the web. Converting KML to GeoJSON makes your data compatible with modern web mapping applications, ArcGIS, and virtually any GIS software or spatial database that accepts standard JSON.