Sample KML files

KML (.kml) is an XML format for geographic data for Google Earth, Google Maps and GIS: placemarks, lines, polygons, styles. Below are sample .kml files to download

Sample file: Placemark with a point
Placemark with a point
312 bytes
Sample file: Line/path (LineString)
Line/path (LineString)
324 bytes
Sample file: Polygon — an area
Polygon — an area
408 bytes
Sample file: With styles (IconStyle, LineStyle)
With styles (IconStyle, LineStyle)
526 bytes
Sample file: Folder with several placemarks
Folder with several placemarks
735 bytes
Sample file: Large KML: 500 placemarks
Large KML: 500 placemarks
71 Kb

🧠 How KML works

KML is XML for geography (Google Earth/Maps). The basic object is a Placemark: name + geometry (Point, LineString, Polygon). Coordinates are in longitude, latitude, altitude order. Style sets the appearance (icons, line color), and Folder and Document group objects.

📍 Coordinates lon, lat, alt 🏷️ Placemark name + geometry 🎨 Style icons, lines 🗂️ Folder grouping 💾 .kml ready file