100 KB KML sample file
A KML file of exactly 102,400 bytes. It is a valid Keyhole Markup Language file, generated for this site and checked with an independent parser. Use it wherever you need a 100 KB sample, test or dummy KML file.
Download
sample-kml-100kb.kml
100 KB102,400 bytes
Download 100 KB KMLDirect download. No sign-up and no waiting.
- Type
- application/vnd.google-earth.kml+xml
- SHA-256
d420721b18562604303deb98751c12b482c984afcecf989e05e3fac142dab0b2- Direct URL
https://www.sampletestfiles.com/downloads/kml/sample-kml-100kb.kml
What is in this file
A Document of 401 placemarks around real cities, mostly points, with a line string and a polygon in every ten, and two shared styles. An XML comment before the closing tags brings the file to the exact size.
| Placemarks | 401 |
|---|---|
| Geometry types | Point, LineString, Polygon |
| Coordinate order | Longitude, latitude, altitude (WGS 84) |
| Version | KML 2.2 |
| Encoding | UTF-8 (ASCII characters only) |
How the file begins
The opening lines of sample-kml-100kb.kml, exactly as they appear in the file.
<?xml version="1.0" encoding="UTF-8"?>
<kml xmlns="http://www.opengis.net/kml/2.2">
<Document>
<name>Sample KML file (100 KB)</name>
<description>Fictional places for testing map imports.</description>
<Style id="pin"><IconStyle><scale>1.1</scale></IconStyle></Style>
<Style id="outline"><LineStyle><color>ff0055d6</color><width>3</width></LineStyle><PolyStyle><color>4d0055d6</color></PolyStyle></Style>
<Placemark id="p1">
<name>Jaipur place 1</name>
<description>Category: team. Country: IN.</description>
<styleUrl>#pin</styleUrl>
<Point><coordinates>75.76522,26.98449,0</coordinates></Point>
</Placemark>
<Placemark id="p2">Preview
Shows the first 64 KB of the file.
Where 100 KB matters
A 102,400-byte file that sits exactly on the default request-body limit of Express. These are the default limits a file of this size is useful for testing:
| System | Limit | Note |
|---|---|---|
| Express body parsers | 100 KB (102,400 bytes) by default | A request body of exactly this size passes; anything larger returns 413 Payload Too Large. |
| Gmail message clipping | About 102 KB of HTML | Longer messages are truncated behind a "view entire message" link. |
| Amazon DynamoDB items | 400 KB per item | 100 KB fits; the 500 KB sample does not. |
Use this file for
- Checking email size handling
- Checking conversion between KML, GPX and GeoJSON
- Verifying coordinate-order handling
Testing notes for KML
- KML can pull in remote content through network links and icon URLs. An importer should not fetch them blindly. The samples here refer to nothing outside the file.
- Longitude comes first. Reading the pair the other way round moves every point to a different part of the world.
Technical details
| File name | sample-kml-100kb.kml |
|---|---|
| Format | KML (Keyhole Markup Language) |
| Extension | .kml |
| MIME type | application/vnd.google-earth.kml+xml |
| Size | 102,400 bytes (100 KB) |
| Kind | Text |
| SHA-256 | d420721b18562604303deb98751c12b482c984afcecf989e05e3fac142dab0b2 |
| Created | 2026-10-10 |
| Validation | Exact size, signature bytes and structure checked when the file was generated |
| Preview | Available on this page |
| Source | Generated for this site; not copied from elsewhere |
| Licence | Free to use, modify and redistribute (terms) |
| Category | GIS |
Validated for expected format and integrity. As with any download, scan the file with your own security tools before opening it. How files are made and checked
Download from the command line and verify
Fetch the file with curl, then compare its checksum with the SHA-256 value above.
curl -o sample-kml-100kb.kml 'https://www.sampletestfiles.com/downloads/kml/sample-kml-100kb.kml'
sha256sum sample-kml-100kb.kml # Linux
shasum -a 256 sample-kml-100kb.kml # macOSOn Windows, run Get-FileHash sample-kml-100kb.kml -Algorithm SHA256 in PowerShell. A matching value proves that the download is complete and unaltered.
Related files
Questions about this file
- Is this file exactly 100 KB?
- Yes. It is 102,400 bytes, which is 100 KB in the binary units that operating systems and server limits use (1 KB = 1,024 bytes).
- What is inside the 100 KB KML file?
- A Document of 401 placemarks around real cities, mostly points, with a line string and a polygon in every ten, and two shared styles. An XML comment before the closing tags brings the file to the exact size.
- Is there a KMZ sample?
- Not at present. A KMZ file is a ZIP archive with a KML file inside, so you can make one by zipping any sample and renaming the result.