.kml KML geographic data
Other formats
| MIME type | application/vnd.google-earth.kml+xml |
|---|---|
| Description | KML geographic data |
| Acronym | KML – Keyhole Markup Language |
| Category | Other formats |
| Based on | application/xml |
Frequently asked questions
What is a .kml file?
A .kml file is a “KML geographic data” (MIME type application/vnd.google-earth.kml+xml). KML stands for Keyhole Markup Language.
How do I open a .kml file?
With the program that created the file. On Linux, xdg-mime query default with the MIME type shows the default application, and xdg-open opens the file with it.
How can you tell a genuine .kml file?
No fixed signature at the start of the file is registered for this format; it is recognised mainly by its extension. On Linux and macOS, file --mime-type example.kml shows the guessed type.
Which format is .kml based on?
Technically a .kml file is a subtype of “XML document” (application/xml), so programs for that base format can often read it too.
Which MIME type belongs to .kml?
The MIME type is application/vnd.google-earth.kml+xml. In the Apache web server: AddType application/vnd.google-earth.kml+xml .kml; in nginx: types { application/vnd.google-earth.kml+xml kml; }.