iPhone location journals

Open a KML or KMZ file in your browser

See what is inside a KML or KMZ file without installing Google Earth or uploading it, including a plain list of what the viewer does not draw.

Choose a KML or KMZ file. It is opened on this device.

See the placemarks, lines, polygons and timed tracks inside, and a plain list of what this viewer does not draw. No account, upload or analytics. The file is read with your browser’s File API and never leaves the page.

What is a KML file, and what is a KMZ?

KML (Keyhole Markup Language) is an XML format for places and shapes: placemarks, lines, polygons and folders that organise them. It is an OGC standard, and Google’s KML reference documents Google Earth’s extensions, such as gx:Track, which pairs each position with a time. Coordinates are written longitude,latitude[,altitude] in WGS84, so longitude comes first.

A KMZ is a KML file inside a ZIP archive, usually together with images or other files it refers to. Per Google’s KMZ guide, the main file is doc.kml; if there is none, the first .kml at the top level is used. This viewer follows the same rule. For the differences between KML, GPX, GeoJSON and CSV, see which format to choose.

How to open a KML or KMZ file

We have not compared the results with Google Earth, and this viewer does not claim to match it.

Opening a KMZ on iPhone

We have not tested this page in Safari on an iPhone, so we give no iPhone steps here. The page uses only your browser’s file picker and its built-in unzip support (DecompressionStream); if your browser lacks it, the page says so. A computer is the tested route: open the KMZ in desktop Safari or Chrome.

What it shows, and what it skips

KML elementIn this viewer
PointCounted, listed and drawn as a dot
LineString, stand-alone LinearRingCounted, listed and drawn as a line or outline
Polygon (outer and inner rings)Counted, listed and outlined; holes are dashed. Not filled
MultiGeometryCounted; each part inside is read and drawn
gx:Track, gx:MultiTrackCounted and drawn as lines; <when> times shown in UTC
Folder, DocumentShown as a tree with names and descriptions, as text
NetworkLink, GroundOverlay, PhotoOverlay, ScreenOverlay, Model, RegionNot drawn or followed; counted in the Skipped panel
Style, StyleMap, Icon, TimeStamp, TimeSpan, ExtendedData, gx:TourIgnored; counted in the Skipped panel

For a KMZ, other files inside the archive are listed by name and size and are not drawn.

Synthetic examples

These files are invented, near 0° N 10° E, and are not anyone’s recording. synthetic-kml-viewer.kml has 1 folder, 2 Points, 1 LineString, 1 Polygon with 1 inner ring and 1 gx:Track of 5 timed positions. synthetic-kml-viewer.kmz (deflate) and synthetic-kml-viewer-stored.kmz (stored) hold the same doc.kml plus a one-pixel image, which is listed but not drawn. The buttons above load them.

Limits

Privacy: your file stays in the browser

Unzipping, parsing and plotting all happen in this page. Its content security policy blocks network connections, the page loads no analytics and no map tiles, and descriptions are inserted as text, not HTML. The web server sees an ordinary request for the page and its scripts, not your file. Following a link leaves this page. Clear removes the result from the page and never changes your original file.

Make your own KML of where you’ve been

Whereday records your visits and routes on iPhone and exports KML, GPX, GeoJSON, CSV and more. Convert a file with the KML ⇄ GPX converter, check a GPX in the GPX viewer, read what a GPX file is, or browse all the location file tools.

Make your own KML of where you’ve been.

Whereday keeps your location history on your iPhone and exports it in the format you need.

Download free for iPhone

Sources