How to open KML and KMZ files on iPhone, iPad and Mac
A KML file is a map document: folders of placemarks, paths and polygons, each with its own colors, icons, descriptions, attribute tables, and sometimes ground overlays or legends. A KMZ file is the same KML zipped together with its pictures and icons. County GIS portals, FEMA flood maps, Google Earth, My Maps, land brokers, trail groups and utility engineers all share maps as .kml and .kmz.
Neither macOS nor iOS has a built-in viewer for them. Double-click a .kml on a Mac and it opens as raw XML in TextEdit; tap a .kmz in Mail on an iPhone and you get a blank file icon. Here are the cleanest ways to open them — and how to keep a file intact if you need to inspect or edit it.
1. Open it locally with KML Explore (Mac, iPhone and iPad)
The fastest way — and the only one that keeps your file on your device with no sign-in — is KML Explore. Viewing is free on Mac, iPhone and iPad.
- On a Mac: Install KML Explore from the Mac App Store and double-click any .kml or .kmz file. Every folder appears in the layer list with an eye toggle, every placemark keeps the file’s own styles and descriptions, and selecting any area or path shows its geodesic area (with holes subtracted), perimeter or length in large type.
- On iPhone and iPad: Tap a .kml or .kmz attachment in Mail, Messages, AirDrop or Files and share it to KML Explore, or choose Open a KML or KMZ File… from the start screen.
- Preview without opening (Quick Look): Press the space bar on any .kml or .kmz in the Finder — or tap it in Files on iPhone and iPad — and Quick Look draws the map and lists what is inside, offline, straight from the file itself.
2. Search big county and GIS files, and check where you stand
Government and county GIS downloads can hold thousands of parcels, counties, or flood polygons in one file.
- Search by name or attribute: Type into the layer list’s Search field. KML Explore searches both placemark names and attribute values (tax lot IDs, zone codes, county names, owner fields), isolates only the matching features on the map, and brings your previous layer switches back when you clear the search.
- See whether you are inside a polygon on site: On iPhone or iPad, tap the location arrow to turn on My Location and tap any parcel, park or flood polygon. The card tells you whether You’re inside and how far it is to the nearest edge (counting holes as outside), along with the GPS accuracy — useful when walking a property or trail boundary in the field. (Treat GIS lines as a map, never as a legal boundary survey.)
3. Why some KML files fail to open — and how to fix them
KML in the wild is often slightly invalid: an unescaped “&” in a street name, Windows Latin-1 characters inside a file claiming UTF-8, raw HTML pasted into a description, a missing XML namespace, or a download cut short. Strict viewers refuse to open those files.
KML Explore reads strictly first; when a file has common export errors, it repairs a copy in memory, opens it, and displays a Repaired to open note whose Details list each fix. Viewing never rewrites your original file. If a file still cannot open, it tells you why — whether it is a broken line of XML, a GPX or GeoJSON file saved with the wrong extension, or an HTML login page downloaded instead of the map.
4. Other ways to open KML and KMZ
- Google Earth (web or desktop): Imports .kml and .kmz and draws them in 3D, including network links and tours. Good for 3D fly-throughs; heavy on a laptop and requires uploading to the web version.
- QGIS (Mac, Windows, Linux): Free desktop GIS. The right tool when you need spatial joins, shapefile conversion, or cartographic styling — overkill when you just want to open an email attachment on an iPhone.
- Make KML Explore the default on Mac: Right-click any .kml file in the Finder, choose Get Info, open Open With, pick KML Explore, and click Change All. Repeat once for a .kmz file.
5. Edit and export KML and KMZ with KML Explore Pro
Opening, viewing, searching attributes, measuring areas with holes, My Location, repairing broken files on open, and Quick Look are all free. When you need to change a map, start a new one, or convert it to another format, KML Explore Pro unlocks the full editor and exporter as a one-time purchase in the app for your Mac, iPhone and iPad (shared through Family Sharing, with no subscription):
- Draw and reshape on the map: Press Edit (⌥⌘E on the Mac) to add placemarks, paths, areas, circles and rectangles. Draw straight lines, freehand edges, or routes that follow roads and trails (Walking, Cycling or Driving). Drag any pin with a magnifying loupe, add points along an edge, or cut a hole out of an area.
- Exact coordinates in the Points table: Open the Points table (⌥⌘P) to see every vertex’s latitude, longitude, UTM reference, altitude, leg length, bearing and cumulative distance — type coordinates to seven decimal places or nudge a point north, south, east or west.
- Edit folders, descriptions, attributes and styles: Rename, move or duplicate folders, change icons, colors and line widths for one placemark or a shared style, and save which layers are shown back into the file.
- Keep the rest of the file intact: KML Explore edits the file’s XML tree in place, so saving preserves everything else in the document — including vendor extensions, tours or 3D models it does not edit. Every edit is undoable.
- Export as GPX, GeoJSON or CSV: Choose File ▸ Export… (⇧⌘E on the Mac) to write waypoints and tracks as GPX for a watch or GPS app, shapes and attributes as GeoJSON for a web map or QGIS, or placemarks with attributes and measurements as CSV for a spreadsheet — exporting either what the map shows, all placemarks, or just the selected folder. Your original KML stays untouched.
Try it with real KML and KMZ files
No file handy? Download one of these real maps and open it in KML Explore:
- Oriole Park at Camden Yards — areas with holes subtracted (OpenStreetMap).
- US counties (KMZ) — 3,222 counties with Census attributes to test Search.
- A week of USGS earthquakes — placemarks with descriptions, styles and a screen legend.
Want to build a layered KML map from scratch? See Make a race-day map in KML. Looking at a GPX file instead? Read How to open a GPX file on a Mac.


