Free GIS viewer

KML and KMZ viewer online

Drop a KML or KMZ file and its placemarks, paths and polygons appear on a map, in the colours the file gives them. No Google Earth, no account, and the file never leaves your browser.

  • KML and KMZ
  • Folders and data fields kept
  • Convert to Shapefile or GeoPackage

What the viewer reads from a KML

KML was made for Google Earth: to show things, not to store data. This is what comes across.

  • Placemarks, paths and polygons

    Points, lines, polygons with holes, multi-part geometries and GPS tracks each become a feature you can click.

  • Names, descriptions and data fields

    The name, the description and every extended-data field become columns you can filter on. All values arrive as text.

  • Folders

    The folder a placemark sits in is kept in a column called folder. Nested folders are joined, as in Survey / North.

  • Colours

    Lines and polygons are drawn in the colour their style gives them, and the colour is kept as a column. Icons, line widths and transparency are not.

  • KMZ archives

    A KMZ is unpacked in your browser. The viewer reads doc.kml, or the first KML it finds. Images packed into the archive are ignored.

  • What is left out

    Network links, image overlays, tours and 3D models are not placemarks and are skipped.

What is inside a KML file

KML is plain XML. A placemark has a name, optionally a description and data fields, and one geometry. Coordinates are written longitude first, then latitude, then altitude, always in WGS 84.

<Placemark>
  <name>Lamp post 0412</name>
  <description>Checked 12 March</description>
  <ExtendedData>
    <Data name="status"><value>out</value></Data>
  </ExtendedData>
  <Point>
    <coordinates>13.4050,52.5200,0</coordinates>
  </Point>
</Placemark>

A KML saved by a GIS program often has no ExtendedData: the attributes sit in the description as an HTML table instead.

When a KML does not behave

Four things that go wrong with KML files, and what to do about each.

  • The file opens with nothing in it

    It probably holds only a network link: a pointer to a server, not the data itself. The viewer does not follow links. Open the file in Google Earth, wait for the content to load, save that content as a new KML and drop the new file.

  • Every attribute is in one description field

    Many programs write the attributes as an HTML table into the description. The viewer keeps that text exactly as it is, tags included, and does not split it into columns. Files that carry extended data come in as real columns.

  • A Shapefile cannot hold what the KML holds

    A KML can mix points, lines and polygons; a Shapefile holds one type. The download is a ZIP with one Shapefile per type. Column names are cut to ten characters, so description becomes descriptio, and text is cut at 254 characters. GeoPackage has none of these limits.

  • Excel will not open a KML

    Excel has no KML import. Download the layer as CSV: one row per placemark with its fields. If the file holds only points, the CSV has longitude and latitude columns; every row also carries its geometry as WKT.

What to turn a KML into

Open the layer's menu, choose Download and pick a format. If a filter is active, you can tick Only what the filter shows.

  • KML to GeoPackage

    The safe choice for GIS: one file, with full column names and long text kept.

  • KML to GeoJSON

    Everything the viewer read, altitude included, in one file for web maps and scripts.

  • KML to Shapefile

    For ArcGIS or a client who asks for one. One Shapefile per geometry type, in WGS 84 with its .prj file.

  • KML to CSV

    The placemarks as rows for Excel or Google Sheets, with longitude and latitude when they are all points.

Questions about KML and KMZ

Can I open a KML file without Google Earth?

Yes. Drop the file on the viewer and it opens on a map in your browser. Nothing is installed.

What is the difference between KML and KMZ?

A KMZ is a ZIP archive with a KML inside, usually called doc.kml, and sometimes images and icons. The viewer opens both and reads the placemarks; the images are not shown.

How do I convert KML to Shapefile without ArcGIS?

Drop the KML or KMZ, open the layer's menu, choose Download and then Shapefile. You get a ZIP in WGS 84. If the file mixes points, lines and polygons, the ZIP holds one Shapefile for each.

Why do my placemarks land in the wrong part of the world?

KML writes longitude before latitude. A file written by hand or by a script with the two swapped puts every point somewhere else on the globe. The viewer shows the coordinates as they are written; the file has to be corrected.

Do the colours and icons of my KML survive?

The colours of lines and polygons do, and they are kept as a column in every download. Icons, line widths and transparency do not.

Other formats the viewer opens

Each format has its own page, because each goes wrong in its own way. The viewer also reads CSV, Excel, GPX, GML, FlatGeobuf and GeoParquet.

From placemarks to an inspection round

Import the same KML into Geocadra and its placemarks become assets you can inspect, photograph and report on, with every visit kept.

Sign Up Free

No credit card requiredFree trial included