DataBrighten

    Sample KML files

    2files · 17 KB in all · CC0

    KML 2.2 files: one Placemark per large US airport with scheduled service, each with its IATA code, name and coordinates (OurAirports, public domain), and a made-up line and polygon near Denver. Free, no sign-up. Updated 19 November 2026.

    textnumberdateyes/no
    Files2to download
    Total size17 KBall files
    Format.kmlapplication/vnd.google-earth
    LicenceCC0use for anything

    What these files are

    KML 2.2 files: one Placemark per large US airport with scheduled service, each with its IATA code, name and coordinates (OurAirports, public domain), and a made-up line and polygon near Denver.

    Every file was generated by our own code, so nothing in them is copied from anyone, and we release them under CC0: use them for anything. The facts in the table were read back from each file after it was written, not typed in by hand.

    About the format

    KML (Keyhole Markup Language) is an XML format that began with Google Earth and became an OGC standard in 2008. Coordinates are written longitude,latitude,altitude separated by commas, with no spaces inside one point. A .kmz file is the same KML zipped together with any images it uses.

    These files open in Google Earth, Google My Maps and QGIS. A web server should send them with the header Content-Type: application/vnd.google-earth.kml+xml.

    2 files to download

    FileSizeWhat it is
    sample-us-airports.kml15 KB95 Placemarks (points) for large US airports, KML 2.2
    placemarks: 95
    sample-line-polygon.kml1 KBone LineString (40 points) and one Polygon, the same made-up shapes as the GeoJSON sample
    placemarks: 2

    MIME type: application/vnd.google-earth.kml+xml. Total 17 KB.

    Good for testing

    • Google Earth and My Maps imports
    • KML to GeoJSON conversion
    • XML parsing with a namespace

    Check a file

    grep -c '<Placemark>' sample-us-airports.kml

    Compare the SHA-256 checksum to make sure the download is complete and unchanged (sha256sum file on Linux, shasum -a 256 file on macOS, certutil -hashfile file SHA256 on Windows):

    FileSHA-256
    sample-us-airports.kml4030209c5e7598d3f94b9b6bb97c9c1a7a0b522f9cb8fb96a9de42259b5f33f2
    sample-line-polygon.kml9549d0a2f0aa82610852261c38b7353fc66a860d878af03ab116bfe819a4c775