Cookies for analytics and advertising
We use cookies for analytics and advertising, both sent to Google. Refusing changes nothing you can see.Read the privacy page
KML
The Google Earth and Maps format for places, lines and areas.
KML is a plain-text format you can open in any editor. It is used for mapping.
The extension is .kml, and the full name is Keyhole Markup Language. Both matter less than what the file can hold, which is what the rest of this page is about.
Open Geospatial Consortium published it in 2008. The specification is OGC KML 2.3.
Age is worth knowing here for one practical reason: the older a format is, the more programs have had time to learn it.
Anyone can implement it without asking permission or paying a licence, which is why it turns up in so many programs and why files written twenty years ago still open.
KML stores its content exactly. Saving it again changes nothing, so it can be opened, edited and re-saved as often as you like without accumulating damage — which is what makes it a working format rather than a delivery one.
Google Earth, QGIS and ArcGIS read it, and so do most programs of the same kind.
If a file will not open, the format is rarely the problem — it is more often that the program predates it. Converting to something older is the reliable way past that, and it is what the rest of this site is for.
No browser reads it.
That is the single most common reason to convert it: not that the format is bad, but that the place you want to show the file cannot read it.
KML is meant to be opened and changed. Keep the file in this format for as long as the work is going on, and export from it whenever a finished copy is needed.
| Extension | .kml |
|---|---|
| Media type | application/vnd.google-earth.kml+xml |
| Published by | Open Geospatial Consortium |
| First published | 2008 |
| Specification | OGC KML 2.3 |