What Is .kmz
Content on WhatAnswers is provided "as is" for informational purposes. While we strive for accuracy, we make no guarantees. Content is AI-assisted and should not be used as professional advice.
Last updated: April 10, 2026
Key Facts
- .kmz stands for Keyhole Markup Language Zipped, created by combining KML's XML geographic data structure with ZIP compression to reduce file size by 50-90%
- Google released .kmz as the native format for Google Earth in 2005 after acquiring Keyhole Inc., establishing it as the dominant geographic data exchange standard
- A single .kmz file can contain multiple .kml documents plus supporting resources like PNG/JPEG images, icons, stylesheets, and metadata compressed into one archive
- .kmz files store complete geographic datasets including GPS coordinates, place names, map boundaries, routes, 3D models, and custom properties for spatial analysis
- Over 50 GIS and mapping applications including QGIS, ArcGIS, Mapbox, and specialized surveying software support .kmz, making it the most compatible geographic format
Overview
.kmz files are compressed archives containing geographic data in Keyhole Markup Language (KML) format, designed specifically for storing and sharing maps, locations, and spatial information. The format combines KML's XML-based geographic markup with standard ZIP compression, creating a portable file format that reduces file size while preserving complete map data. When Google acquired Keyhole Inc. in 2004 and launched Google Earth in 2005, .kmz became the native file format for the platform, establishing it as the industry standard for geographic data distribution.
Unlike simple text or image formats, .kmz files function as complete geographic information packages, bundling not just location data but also supporting resources like custom map icons, images, stylesheets, and metadata. This comprehensive approach enables users to share fully formatted maps that look and function identically across different applications and platforms. Today, .kmz is recognized as the universal format for geographic data exchange, used by cartographers, urban planners, environmental scientists, real estate professionals, and casual users sharing hiking routes or travel locations.
How It Works
.kmz files operate through an elegant combination of XML markup and ZIP compression, creating a self-contained geographic data package:
- ZIP Archive Structure: A .kmz file is fundamentally a ZIP archive with a modified extension, using standard deflate compression algorithms to reduce uncompressed KML file sizes by 50-90%, enabling faster downloads and efficient storage.
- KML Core Content: Inside each .kmz archive lies at least one .kml file containing geographic features defined in XML format, including placemark locations, paths, polygons, and their associated properties and descriptions.
- Resource Embedding: .kmz files can bundle supporting resources directly within the archive, including PNG and JPEG image files for custom map icons, KML stylesheets for visual formatting, and other referenced media files, eliminating broken links.
- Hierarchical Feature Organization: Geographic data uses nested folder structures to organize features by category, with placemarks representing individual points, LineStrings representing routes or boundaries, and Polygons representing areas or administrative regions.
- Rich Metadata Storage: Each geographic feature can include extensive metadata including names, descriptions, timestamps, photo URLs, balloon styles for pop-up information windows, and custom data fields for domain-specific attributes.
- Coordinate System Support: .kmz files use WGS84 latitude/longitude coordinates by default, ensuring compatibility across all GPS devices and mapping systems while supporting altitude and other dimensional data.
Key Comparisons
.kmz offers distinct advantages when compared to other geographic file formats in common use:
| Format | Compression | Best Use | Primary Advantage | File Size |
|---|---|---|---|---|
| .kmz | ZIP compressed | General geographic sharing, Google Earth, web mapping | Universal compatibility, embedded resources | Small (50-90% reduction) |
| .kml | Uncompressed XML | Lightweight data, web APIs, direct editing | Human-readable, easy to edit | Large (uncompressed) |
| .shp | No compression | Professional GIS analysis, vector data | Rich attribute tables, precise geometry | Large (multiple files) |
| .gpx | Uncompressed XML | GPS tracking, fitness routes, waypoints | GPS device compatibility, standardized | Small (coordinates only) |
| .geojson | Optional compression | Web mapping, modern APIs, GIS workflows | JSON format, developer-friendly | Small to medium |
Why It Matters
- Universal Platform Compatibility: .kmz works seamlessly across Google Earth, Google Maps, ArcGIS, QGIS, Mapbox, and over 50 specialized GIS applications, eliminating the need for file format conversion when sharing geographic data between different systems.
- Efficient File Distribution: By combining compression with geographic data, .kmz reduces bandwidth requirements and storage costs, making large map datasets practical for email distribution, cloud storage, and internet-based collaboration.
- Complete Data Packaging: Unlike simple coordinate lists, .kmz bundles images, icons, styling information, and metadata with geographic features, enabling visually polished, fully functional maps without requiring separate resource management.
- Cross-Professional Adoption: Real estate agents, urban planners, environmental consultants, government agencies, and educational institutions all rely on .kmz for sharing property boundaries, zoning overlays, survey data, and conservation areas.
- Accessibility for Non-Technical Users: .kmz files can be opened directly by consumers through free Google Earth software, democratizing access to geographic information beyond specialized GIS professionals.
.kmz has become indispensable in modern geographic information systems and spatial data management because it elegantly solves the fundamental challenges of data portability, file efficiency, and cross-platform compatibility. Whether a real estate agent sharing property listings, a city planner visualizing zoning changes, an environmental scientist documenting habitat boundaries, or a hiker distributing a trail route, the .kmz format provides a reliable, standardized solution that works identically across tools and platforms. Its continued integration with major mapping platforms and GIS software ensures .kmz will remain the preferred format for geographic data exchange throughout the foreseeable future, making it essential knowledge for anyone working with location-based information.
More What Is in Daily Life
Also in Daily Life
More "What Is" Questions
Trending on WhatAnswers
Browse by Topic
Browse by Question Type
Sources
- Keyhole Markup Language - WikipediaCC-BY-SA-4.0
- Google Earth - WikipediaCC-BY-SA-4.0
Missing an answer?
Suggest a question and we'll generate an answer for it.