handy.moe

All tools / Maps

A stack of important documents

KMZ to GeoJSON

A KMZ is simply a KML file zipped up (often with icons). Turn it into GeoJSON here, in your browser, with attributes and projection handled.

Runs in your browser. Your files never leave your device.

How to use it

  1. Drop the .kmz. It's unzipped here in your browser and the KML inside is read.
  2. Leave “Save as” on GeoJSON. Keep “Convert coordinates to longitude/latitude” ticked unless you need the original projection.
  3. Press Convert. A preview of the shapes appears with the number of features and the file size.
  4. Press Download.

Questions

Is my file uploaded?

No. The conversion runs in this browser tab with mapshaper compiled to JavaScript; your file never leaves your device. After the page loads it even works offline.

What is KMZ?

A KMZ is simply a KML file zipped up (often with icons). Google Earth and My Maps make them.

What will the GeoJSON file look like?

Coordinates come out in longitude/latitude (WGS84), as the GeoJSON standard (RFC 7946) requires.

Will my attributes come across?

Yes, every attribute is kept with its feature.

What about the coordinate system?

GeoJSON, KML and CSV are already longitude/latitude, so nothing needs converting.

How big a file can it handle?

Files up to a few hundred megabytes work on most computers; the limit is your browser's memory. For a huge file, simplify it at the same time (tick “Simplify too”).

The conversion engine is mapshaper 0.8.17 by Matthew Bloch (MPL-2.0), served unchanged from handy.moe. Licences.