KML & KMZ Creator | KML File Generator Free
Create, edit, import, view, analyze and export KML and KMZ files with pro vertex editing, MultiGeometry support, DMS coordinates, and 100% privacy. Draw features to begin.
Click a feature.
Select a feature.
Select a feature.
Select a feature and click "Edit Vertices".
Select features.
What Is the XRTech KML and KMZ Creator, Viewer and Editor?
The XRTech Group KML/KMZ tool is a free, browser-based geospatial tool that lets you create KML files, create KMZ files, view and inspect existing KML and KMZ files on an interactive satellite map, and edit features including names, descriptions, styles and coordinates — all without installing software and without uploading files to any server. The tool supports drawing polygons, paths, points, rectangles and circles, and exporting to KML, KMZ, or GeoJSON format. It is designed for creating Areas of Interest (AOI) for satellite imagery orders, land boundary definition, field mapping and GIS project preparation.
What This Free KML/KMZ Creator and Editor Can Do
A complete browser-based geospatial file tool built to the standard of professional GIS software.
Create KML and KMZ Files
Draw polygons, paths, points, rectangles and circles directly on the map. Add names, descriptions and styles. Export as KML or KMZ in one click.
Import and Edit Existing Files
Import your existing KML, KMZ or GeoJSON files. Edit feature names, descriptions, coordinates and styles. Reshape polygons and paths by dragging vertices.
Area and Distance Measurement
Accurate geodesic area in km², hectares and m². Path length in km and metres. Total project area and length shown in the stats bar.
Style Editor
Customise marker colour and size, line colour, width and opacity, polygon fill colour and opacity. Style presets and per-feature style overrides.
Layer and Folder Management
Organise features into named folders. Toggle visibility per feature or folder. Reorder, rename and delete features from the layers panel.
Undo, Redo, Auto-Save
Full undo and redo history. Save your session to browser localStorage and restore it when you return. Start a new project at any time.
4 Base Maps
Switch between Satellite (Esri), Street (OpenStreetMap), Terrain (OpenTopoMap) and Dark (CartoDB) base maps.
Export to KML, KMZ, GeoJSON
Download your project as KML, KMZ (ZIP-compressed) or GeoJSON. Export all features or the selected feature only. Default filename: xrtechgroup.
100% Private and Browser-Based
All file processing, editing and creation happens entirely inside your browser. Nothing is uploaded to any server. Your data never leaves your device.
What Is a KML File? Full Definition, Uses and Structure
KML (Keyhole Markup Language) is an XML-based file format used to represent geographic features — including points, lines, polygons, paths, image overlays and camera views — on Earth mapping applications. It was originally developed by Keyhole Inc. for EarthViewer 3D, acquired by Google in 2004, and standardised by the Open Geospatial Consortium (OGC) in 2008 as OGC KML 2.2.
A KML file is plain text and can be opened in any text editor. Geographic coordinates are stored in longitude, latitude, altitude order — the reverse of the latitude-first convention used in most other contexts. This distinction matters when creating or editing KML files manually.
Core KML Element Types
- Point — a single location (placemark / marker)
- LineString — a path of two or more coordinate pairs
- Polygon — a closed boundary with outer and optional inner rings
- MultiGeometry — a collection of the above types
- GroundOverlay — an image positioned on the map
- Folder — a container for grouping Placemarks
- Document — the root container element
Example KML Structure
<kml xmlns="http://www.opengis.net/kml/2.2">
<Document>
<name>My AOI</name>
<Placemark>
<name>Field Boundary</name>
<Polygon>
<outerBoundaryIs>
<LinearRing>
<coordinates>
55.30,25.20,0
55.50,25.20,0
55.50,25.40,0
55.30,25.20,0
</coordinates>
</LinearRing>
</outerBoundaryIs>
</Polygon>
</Placemark>
</Document>
</kml>
What Is a KMZ File?
KMZ is a compressed KML file packaged as a ZIP archive. KMZ stands for Keyhole Markup language Zipped. Because KML files grow large when they contain many features or image overlays, KMZ packages everything into a single compressed file that is significantly smaller.
A KMZ archive contains one or more KML files — typically named doc.kml — plus optional assets such as image overlays, custom icons and 3D model textures. The KMZ format uses standard ZIP compression (DEFLATE or STORE), which is why tools that parse KMZ files must use a proper ZIP library rather than simple byte parsing.
KMZ is the default export format of Google Earth and is the preferred format when submitting an Area of Interest to a satellite imagery provider, as it is a single self-contained file.
KML vs KMZ: Key Differences
| Feature | KML | KMZ |
|---|---|---|
| File type | Plain XML text | ZIP archive |
| Compression | None | DEFLATE / STORE |
| File size | Larger | Smaller |
| Editable in text editor | ✓ Yes | ✗ Must unzip first |
| Contains assets | External references only | Embedded assets |
| Google Earth default | Import / Export | Default export |
| AOI submission | Accepted | Preferred |
How to Create a KML File Online — Step by Step
Creating a KML file requires no GIS software when you use this browser-based tool. Follow these steps to create your first polygon AOI:
Select a draw mode
Click Polygon, Path, Point, Rectangle or Circle from the toolbar at the top of the tool. For an Area of Interest (AOI), use Polygon or Rectangle.
Draw on the map
Click the map to place each vertex of your polygon. Double-click to close and finish the shape. For points, a single click places the marker.
Add name and description
Click your new feature to select it. In the Edit tab on the right panel, type a name and description. This text is preserved when you export to KML.
Set the style
In the Style tab, choose your fill colour, border colour, opacity and line width. Style data is exported as KML StyleMap elements.
Export as KML or KMZ
Click Export in the top toolbar. Choose KML or KMZ, enter a file name (default: xrtechgroup), and click Download. The file saves directly to your computer.
How to Create AOI Polygons for Satellite Imagery Orders Using KML
When you order high-resolution satellite imagery from a provider, you define your Area of Interest (AOI) — the geographic boundary of the area you want captured. KML and KMZ are the standard format for submitting AOIs to satellite imagery providers.
Use this tool to draw your AOI polygon precisely over your project area on the satellite basemap. The tool calculates the exact area in km² as you draw, so you know the cost before you submit. Export your polygon as KMZ and attach it to your enquiry.
AOI Tips for Satellite Imagery Orders
- Draw a tight polygon around your actual area of interest, not a large bounding box. You are charged per km².
- Use a single closed polygon. Multiple disconnected polygons may be treated as separate orders.
- Ensure coordinates are in WGS 84 (EPSG:4326). KML requires decimal degree geographic coordinates. This tool always outputs WGS84.
- Archive imagery minimum is 25 km². New satellite tasking minimum is 100 km².
- The last coordinate pair must equal the first to close the ring correctly.
XRTech Group accepts KML and KMZ for all satellite imagery orders — optical imagery at 25cm to 2m resolution, SAR radar data, hyperspectral imagery and multispectral data. Archive imagery from $1/km², delivered in 48 hours. Learn more about ordering satellite imagery →
Created Your AOI? Order Satellite Imagery for That Area.
Export your KMZ polygon from this tool and submit it with your satellite imagery enquiry. Archive 25cm imagery from $20/km², delivered in 48 hours. Free sample tile included with every formal quote.