KML Viewer
Open a KML file to inspect supported placemarks, paths and polygons locally. Extract KML from KMZ first.
By Aryan Khan, Founder & Editor · Updated October 2026
Upload a KML file to inspect supported geometry; KMZ archives must be extracted first.
How to use KML Viewer
KML files promise maps. This one shows the map:
The viewer parses supported KML placemarks, points, LineStrings and polygons locally. KMZ archives, GroundOverlay images and KML styles are not supported; extract the KML file first.
- 1Choose a KML file; extract KMZ first.
- 2Inspect features on the map.
What people use KML Viewer for
1. Opening files without Google Earth
KML arrives from planners, councils and clients who assume Earth is installed. The viewer opens it anywhere — and the KML Placemark Counter sizes it first if it looks huge.
2. Checking an export before sending
What you exported is what they will see: polygons closed, paths in the right county, labels attached. Thirty seconds here prevents the recall email.
3. Presenting a proposal
A boundary or route file becomes a shareable picture for a meeting — screenshot the view, keep the file itself for the record.
4. Auditing inherited GIS data
A decade of KML in a shared drive becomes browsable. Files that draw nothing, or draw in the ocean, announce themselves instantly.
Worked examples
A site boundary drawn offshore means coordinates were written lat,lon into a format that demands lon,lat. KML's order is the single most common cause — the viewer makes the error visible, the source system must fix it.
KMZ is a ZIP archive. Extract its KML file first; the viewer does not open KMZ directly or render bundled images.
Supported KML content
The viewer uses default map styling.
| Content | Support |
|---|---|
| Point, LineString, Polygon in Placemark | Supported subset |
| MultiGeometry | Supported geometries are displayed |
| KMZ archive | Extract KML first |
| GroundOverlay, styles, NetworkLink | Not rendered or fetched |
Parsing happens locally. Map tile requests can reveal the viewed map area; exported files may lose data.
Opening KML files from Google Earth and My Maps
KML remains the export format of Google Earth, Google My Maps and a decade of saved places. Drop a .kml file here and supported placemarks, lines and polygons render on an interactive map, with some names, descriptions and ExtendedData available for inspection. The viewer has no layer visibility toggles; bounding-box zoom attempts to frame the data, and clear errors explain empty or malformed files — including the classic KMZ trap: a KMZ is a ZIP archive, so unzip first and drop the .kml inside.
All parsing is local — DOMParser in your browser, nothing uploaded — which matters when the file contains client sites, survey points or unpublished plans. When the data needs to move on, one click exports GeoJSON for web GIS or GPX for devices, but conversion can omit geometry, styling, timestamps or other properties. Colours render with sensible defaults rather than mimicking Google's styling engine, and the page says so. For the reverse direction, or for track-heavy files, the sibling GPX and GeoJSON viewers complete the family.
How to interpret the result
The most common errors come from using a correct result to answer the wrong geographic question. Keep these points in mind for KML Viewer:
- Validate before trusting exports from unfamiliar tools — open them in a local viewer and check feature counts, bounding boxes and a few property rows. A wrong-axis or swapped-coordinate export is far easier to catch on a map than in a spreadsheet.
- For big CSVs, fix the coordinate columns first and map a sample before mapping everything: auto-detection is good but not magical, and one swapped column renders a beautiful map of the wrong ocean.
Limits & appropriate use
File formats support different combinations of geometry, timestamps, properties and styling. Converting between them can lose information, so keep the original and inspect the output before sharing or using it.
Capabilities differ by workspace: check the accepted format and the operations actually offered on this page. Some tools process files locally but may request map tiles or other services over the network; large or specialised datasets may require dedicated GIS software.
- Cadastral/legal formats → jurisdictional land-registry exports.
- Point clouds and rasters → desktop GIS with proper spatial indexes.
- Certified tracks (evidence, insurance) → chain-of-custody originals, untouched.
Data & methodology
Browser XML parsing reads supported KML placemark points, lines, polygons and collections; KMZ archives, KML styles and remote overlays are not supported.
For source details, licences and model limitations, see Data Sources and Methodology.
Key terms worth knowing
- KML
- XML format from the Google Earth era, with styling and ExtendedData.
- GPX
- GPS exchange format: waypoints, tracks, routes, elevation, timestamps.
Editorial guidance: MapBench explains the method and limitations so the tool can be used as a transparent reference, not as a black-box answer. For legal boundaries, safety-critical routing, surveying, engineering, regulated decisions or official statistics, verify the result with the responsible authority or a qualified professional.
Category: Map Files. Results are intended for everyday analysis and planning unless a page explicitly states otherwise.
Method, assumptions & limits
- This tool’s method
- Browser XML parsing reads supported KML placemark points, lines, polygons and collections; KMZ archives, KML styles and remote overlays are not supported.
- Before relying on the answer
- Inspect the accepted file format and the fields reported by this specific tool. Keep a copy of the original file before converting or editing it.
- What the result cannot establish
- File geometry and recorded timestamps can be incomplete. Verify row or point counts and inspect the exported file in your target application.
Coverage: Worldwide. Search, basemap and external data requests may use third-party services; browser-based does not mean every operation is offline. Read the source and licence notes, calculation methodology and privacy policy. If a result looks inconsistent, report a correction with the inputs and mode used.
Frequently asked questions
Clear answers about the calculation, accuracy and appropriate use.
Uploaded?
No — parsing stays in your browser.
Is my uploaded map file sent to a server?
Where a page says browser-first or local processing, the file is handled in your browser. Check the individual tool note for any external-service dependency.
What should I do if a file will not load?
Check that the file type is supported, the structure is valid and the file is within the stated size limits. Converting to GeoJSON, GPX, KML or CSV can also help.
Will converting a file preserve every property?
Not always. Geographic formats support different geometry, style and metadata features, so inspect the output before relying on it.
Does it open KMZ directly?
No. Extract the .kml file from the KMZ archive and open the KML.
My polygons have no fill colour.
The viewer applies default styles; it does not reproduce KML Style definitions.
Labels missing on placemarks?
Names appear in the feature list and properties popup, not as permanent map labels.
NetworkLinks?
Links to remote KML are not fetched and executed blindly — load the linked file itself if you need its contents. A deliberate safety posture.
Can I edit in the viewer?
Viewing is read-only by design. Edits belong to Earth or a GIS, where change tracking exists.
The file draws but in the wrong place entirely.
Datum surprises are rare in KML (it is WGS84 by specification); axis order is the usual culprit — see the sea-polygon example.
Share the view?
You can export converted data or take a screenshot, but conversion may lose styles and other metadata. Keep the original.
Related tools and resources
Count first: the KML Placemark Counter; measure paths: KML Path Length; GPX sibling: the GPX Viewer; GeoJSON sibling: the GeoJSON Viewer.
More free tools
Sources, methodology & editorial trust
- ✓ Browser-first processing where supported
- ✓ External sources are documented
- ✓ No account required for public tools
- ✓ Review data sources
Calculations are documented with their assumptions, limitations and source context rather than presented as unexplained answers.
Reviewed and maintained by Aryan Khan, Founder & Editor of MapBench.
Part of our gis files hub
KML Viewer sits in the gis files cluster, alongside 64 other tools that answer neighbouring questions with different methods or datasets. It also belongs to the CSV, KML & WKT family.
You may also need
When this answer is only part of the job, these clusters cover the next step.
Read the guide behind this tool
KML vs. GeoJSON vs. GPX: Choosing the Right Map File Format — The practical differences between three common geographic file formats — when to use each, what can be lost in conversion, and how to move between them.