KML / KMZ File Viewer Online
Use KML/KMZ file viewer to upload any KML or KMZ file and instantly view polygons, paths and placemarks on an interactive satellite map. See distance, area, coordinates, bounding box and full feature details. Free. No account needed.
KML / KMZ File Viewer
or from the Features tab.
Free KML Viewer Online
Open and view KML and KMZ files online for free. Upload your KML or KMZ file and instantly visualise your geospatial polygon, path or point data on an interactive satellite map. No software needed.
Area & Distance
Every polygon shows its area in km², ha or m². Every path shows its total length. Calculated using the Haversine formula for accuracy.
Placemark Details
All placemarks, points, paths and polygons are listed in the Features panel with name, type and measurement. Click any to highlight it on the map.
Live Coordinates
Move your cursor across the map to see live latitude and longitude. Click any feature to see its full coordinate list, bounding box and DMS format.
Layer Toggle
Switch individual features on and off from the Layers tab. Useful for KML files with many overlapping polygons or mixed geometry types.
3 Base Maps
Switch between Satellite imagery (Esri World Imagery), OpenStreetMap street map and OpenTopoMap terrain view directly on the map.
100% Private
Your file is read entirely in your browser. Nothing is uploaded to any server. Your geospatial data stays on your device at all times.
What Is a KML File? Full Form, Definition and Purpose
KML stands for Keyhole Markup Language. It is an XML-based file format used to store and display geographic data — including points, lines, polygons, paths and image overlays — on maps and Earth browsers. The name comes from Keyhole Inc., the company that originally created the format before Google acquired it in 2004.
In 2008, KML became an official international standard under the Open Geospatial Consortium (OGC), making it one of the most widely adopted geospatial file formats in the world. It is supported natively by Google Earth, Google Maps, QGIS, ArcGIS, Mapbox, NASA WorldWind and dozens of other platforms.
A KML file contains geographic coordinates in latitude and longitude, together with optional attributes such as name, description, style, colour and altitude. When you open a KML file in a viewer like this one, the geometry renders on the map exactly where those coordinates sit on Earth.
What Is a KMZ File?
KMZ stands for Keyhole Markup language Zipped. It is a KML file compressed into a ZIP archive. Because KML files grow large when they contain many features, complex polygons or embedded imagery, KMZ packages everything into a single compressed file that is significantly smaller and easier to share.
A KMZ can contain one or more KML files plus supporting assets such as image overlays, icons and 3D model textures. KMZ is the default export format in Google Earth and the preferred format for submitting an Area of Interest (AOI) to satellite imagery providers like XRTech Group.
History of KML
KML was created by Keyhole Inc. for EarthViewer 3D, an early interactive 3D Earth application. Google acquired Keyhole in 2004 and rebranded EarthViewer as Google Earth, making KML its native format. When Google Earth became free to the public in 2005, KML spread rapidly across the GIS and Earth observation community.
The Open Geospatial Consortium formally adopted KML as an international standard in 2008 under the designation OGC KML 2.2, cementing its role alongside GeoJSON, Shapefile and GeoTIFF as a core geospatial exchange format used globally today.
KML vs GeoJSON vs Shapefile vs GeoTIFF: Key Differences
KML is one of several geospatial data formats in common use. Understanding when to use each one saves time and avoids compatibility issues.
KML vs GeoJSON
GeoJSON is a JSON-based format that has become popular in web mapping and developer workflows. It is more compact than KML for simple geometry and easier to process in JavaScript. KML is more expressive for rich annotations, styling and 3D visualisation. KML is the preferred format for Google Earth and satellite imagery AOI submissions. GeoJSON is preferred for web APIs and Leaflet or Mapbox maps.
KML vs Shapefile
Shapefiles (SHP) are the dominant format in desktop GIS workflows and ArcGIS environments. A Shapefile is actually a collection of multiple files (.shp, .dbf, .shx and others) that must be kept together. KML is a single file that is easier to share. For satellite imagery AOI submission, most providers prefer KML or KMZ because it is a single standardised file. Shapefiles are more common for complex attribute-rich vector datasets in GIS analysis.
KML vs GeoTIFF
GeoTIFF is a raster format used for satellite imagery itself. When you order and receive satellite images from XRTech Group, the imagery arrives as a GeoTIFF. The KML file is what you use to define where you want the image to be captured. GeoTIFF contains the pixels of the image. KML contains the coordinates of the boundary. They work together in the same workflow but serve completely different purposes.
How a KML File Is Structured
A KML file is plain-text XML. You can open it in any text editor. Coordinates are in longitude, latitude, altitude order — note that longitude comes before latitude in KML, which is the reverse of the common lat/lon convention.
<?xml version="1.0" encoding="UTF-8"?>
<kml xmlns="http://www.opengis.net/kml/2.2">
<Document>
<name>My Area of Interest</name>
<Placemark>
<name>AOI Polygon</name>
<Polygon>
<outerBoundaryIs><LinearRing>
<coordinates>
55.30,25.20,0 55.50,25.20,0
55.50,25.40,0 55.30,25.40,0 55.30,25.20,0
</coordinates>
</LinearRing></outerBoundaryIs>
</Polygon>
</Placemark>
</Document>
</kml>
The core elements are Document (container for all features), Placemark (individual geographic feature), Polygon / LineString / Point (geometry type) and coordinates (the actual lon,lat,alt tuples separated by whitespace).
How to Create a KML or KMZ File
Google Earth (Desktop or Web)
Open Google Earth. Click New Project then Add to Project. Draw a polygon or path on the map. Right-click the project and choose Export as KML or Export as KMZ. KMZ is recommended as it is smaller.
QGIS (Free Desktop GIS)
Load or draw your vector layer. Go to Layer > Export > Save Features As. Choose KML or KMZ as the format. Set the CRS to EPSG:4326 (WGS 84) and save.
ArcGIS Pro / ArcMap
Use the Layer To KML geoprocessing tool under Conversion > To KML. Select the input layer, set the output path and run. Output can be KML or KMZ depending on the tool version.
Draw Online
Tools like geojson.io let you draw polygons on a web map and export as KML. Draw your area then go to Save > KML. Useful when you have no GIS software installed.
Write Manually
Because KML is plain XML you can write it by hand in any text editor. Copy the structure above, replace the coordinates and save with a .kml extension. Compress to ZIP and rename to .kmz for a KMZ file.
Tools That Open KML and KMZ Files
| Tool | Type | KML | KMZ | Best for |
|---|---|---|---|---|
| Google Earth Pro | Desktop (free) | ✓ | ✓ | Visualisation, creation, export |
| Google Earth Web | Browser (free) | ✓ | ✓ | Quick viewing without software |
| Google Maps | Browser / App | ✓ | ✓ | Sharing layers with teams |
| QGIS | Desktop (free) | ✓ | ✓ | GIS analysis and editing |
| ArcGIS Pro | Desktop (paid) | ✓ | ✓ | Enterprise GIS and conversion |
| NASA WorldWind | Desktop (free) | ✓ | ✓ | Scientific 3D visualisation |
| XRTech KML Viewer | Browser (free) | ✓ | ✓ | AOI preview + satellite imagery orders |
What Are KML Files Used For?
Satellite Imagery Orders
KML and KMZ are the standard for defining an AOI when ordering satellite imagery from providers like XRTech Group.
Construction Monitoring
Project boundaries and site extents are defined in KML for progress tracking with satellite imagery over time.
Precision Agriculture
Farm boundaries and field polygons are stored in KML for crop monitoring and NDVI analysis using multispectral satellite data.
Disaster Response
Flood extents and evacuation zone boundaries are shared as KML between emergency response agencies for rapid deployment.
Mining and Exploration
Concession boundaries and exploration block extents are recorded in KML for mineral and gold exploration projects using hyperspectral data.
Urban Planning
Zoning boundaries and development areas are defined in KML for urban planning and smart city satellite imagery workflows.
Environmental Monitoring
Protected area boundaries and deforestation zones are mapped in KML for environmental compliance and carbon project management.
Maritime and Ports
Port boundaries and maritime exclusion zones are shared as KML for SAR satellite maritime domain awareness applications.
Defence and Intelligence
Area of interest definitions for satellite tasking orders are specified in KML for intelligence and reconnaissance operations.
KML Files and Satellite Imagery — How They Work Together
When you order high-resolution satellite imagery, you need to define exactly which area of Earth to capture. That boundary is your Area of Interest, and the standard format for submitting it is KML or KMZ. You draw your polygon in Google Earth or QGIS, export it as KMZ, and send it to your satellite imagery provider. The coordinates in your file calculate the total area in km², set the tasking boundary and determine pricing.
XRTech Group accepts KML and KMZ for all satellite imagery orders — optical imagery at 30cm to 2m resolution, SAR satellite imagery for all-weather monitoring, hyperspectral satellite imagery for mineral and agricultural analysis, and multispectral satellite imagery for NDVI and land cover mapping. Archive imagery starts from $1 per km². Minimum order is 25 km². Learn more about buying satellite imagery →
KML AOI Tips for Satellite Imagery Orders
- Draw a tight polygon around your actual area rather than a large bounding box — you pay per km².
- Use a single closed polygon. Multiple disconnected polygons may be processed as separate orders.
- Ensure coordinates are in WGS 84 (EPSG:4326). KML requires decimal degree geographic coordinates.
- The last coordinate pair must match the first to form a closed ring.
- Archive minimum is 25 km². New satellite tasking minimum is 100 km².
Ready to order satellite imagery for your KML area?
XRTech Group accepts KML and KMZ for all satellite imagery orders. Get a quote within 24 hours. Archive imagery from $1 per km². Emergency tasking in 24 hours. 130+ satellites covering the Middle East, Africa and Asia.