10 KB sample files
A 10,240-byte file that still arrives in the first round trip of a new connection. Available in 43 formats.
Download a 10 KB file
Each file is exactly 10,240 bytes and is a valid file of its format. Any of them works as a 10 KB dummy file or test file.
| File | Format | Size | Contents | Download |
|---|---|---|---|---|
| 10 KB PDF samplesample-pdf-10kb.pdf | 10 KB10,240 bytes | Pages: 2 | Download PDF | |
| 10 KB TXT samplesample-txt-10kb.txt | TXT | 10 KB10,240 bytes | Lines: 97 | Download TXT |
| 10 KB CSV samplesample-csv-10kb.csv | CSV | 10 KB10,240 bytes | Data rows: 76 | Download CSV |
| 10 KB JSON samplesample-json-10kb.json | JSON | 10 KB10,240 bytes | Records: 27 | Download JSON |
| 10 KB XML samplesample-xml-10kb.xml | XML | 10 KB10,240 bytes | Records: 29 | Download XML |
| 10 KB PNG samplesample-png-10kb.png | PNG | 10 KB10,240 bytes | 67 × 50 px | Download PNG |
| 10 KB JPG samplesample-jpg-10kb.jpg | JPG | 10 KB10,240 bytes | 105 × 79 px | Download JPG |
| 10 KB ZIP samplesample-zip-10kb.zip | ZIP | 10 KB10,240 bytes | Entries: 4 | Download ZIP |
| 10 KB BIN samplesample-bin-10kb.bin | BIN | 10 KB10,240 bytes | Incompressible pseudo-random bytes | Download BIN |
| 10 KB JSONL samplesample-jsonl-10kb.jsonl | JSONL | 10 KB10,240 bytes | Lines: 29 | Download JSONL |
| 10 KB SQL samplesample-sql-10kb.sql | SQL | 10 KB10,240 bytes | INSERT statements: 43 | Download SQL |
| 10 KB LOG samplesample-log-10kb.log | LOG | 10 KB10,240 bytes | Lines: 54 | Download LOG |
| 10 KB GZ samplesample-gz-10kb.gz | GZ | 10 KB10,240 bytes | Expands to 48,595 bytes | Download GZ |
| 10 KB TAR samplesample-tar-10kb.tar | TAR | 10 KB10,240 bytes | Entries: 2 | Download TAR |
| 10 KB XLSX samplesample-xlsx-10kb.xlsx | XLSX | 10 KB10,240 bytes | Data rows: 50 | Download XLSX |
| 10 KB EPUB samplesample-epub-10kb.epub | EPUB | 10 KB10,240 bytes | Chapters: 1 | Download EPUB |
| 10 KB GIF samplesample-gif-10kb.gif | GIF | 10 KB10,240 bytes | Frames: 1 | Download GIF |
| 10 KB WebP samplesample-webp-10kb.webp | WebP | 10 KB10,240 bytes | 66 × 49 px | Download WebP |
| 10 KB BMP samplesample-bmp-10kb.bmp | BMP | 10 KB10,240 bytes | 66 × 50 px | Download BMP |
| 10 KB SVG samplesample-svg-10kb.svg | SVG | 10 KB10,240 bytes | Shapes: 134 | Download SVG |
| 10 KB HTML samplesample-html-10kb.html | HTML | 10 KB10,240 bytes | Sections: 12 | Download HTML |
| 10 KB Markdown samplesample-md-10kb.md | Markdown | 10 KB10,240 bytes | Sections: 26 | Download Markdown |
| 10 KB RTF samplesample-rtf-10kb.rtf | RTF | 10 KB10,240 bytes | Sections: 27 | Download RTF |
| 10 KB YAML samplesample-yaml-10kb.yaml | YAML | 10 KB10,240 bytes | Records: 41 | Download YAML |
| 10 KB TOML samplesample-toml-10kb.toml | TOML | 10 KB10,240 bytes | Records: 62 | Download TOML |
| 10 KB INI samplesample-ini-10kb.ini | INI | 10 KB10,240 bytes | Sections: 89 | Download INI |
| 10 KB CSS samplesample-css-10kb.css | CSS | 10 KB10,240 bytes | Rules: 104 | Download CSS |
| 10 KB JS samplesample-js-10kb.js | JS | 10 KB10,240 bytes | Records: 79 | Download JS |
| 10 KB SRT samplesample-srt-10kb.srt | SRT | 10 KB10,240 bytes | Cues: 87 | Download SRT |
| 10 KB VTT samplesample-vtt-10kb.vtt | VTT | 10 KB10,240 bytes | Cues: 86 | Download VTT |
| 10 KB ICS samplesample-ics-10kb.ics | ICS | 10 KB10,240 bytes | Events: 28 | Download ICS |
| 10 KB EML samplesample-eml-10kb.eml | EML | 10 KB10,240 bytes | Paragraphs: 30 | Download EML |
| 10 KB GeoJSON samplesample-geojson-10kb.geojson | GeoJSON | 10 KB10,240 bytes | Features: 54 | Download GeoJSON |
| 10 KB OBJ samplesample-obj-10kb.obj | OBJ | 10 KB10,240 bytes | Triangles: 396 | Download OBJ |
| 10 KB TSV samplesample-tsv-10kb.tsv | TSV | 10 KB10,240 bytes | Data rows: 76 | Download TSV |
| 10 KB Avro samplesample-avro-10kb.avro | Avro | 10 KB10,240 bytes | Records: 78 | Download Avro |
| 10 KB ODT samplesample-odt-10kb.odt | ODT | 10 KB10,240 bytes | Sections: 110 | Download ODT |
| 10 KB ODS samplesample-ods-10kb.ods | ODS | 10 KB10,240 bytes | Data rows: 39 | Download ODS |
| 10 KB TIFF samplesample-tiff-10kb.tiff | TIFF | 10 KB10,240 bytes | 66 × 50 px | Download TIFF |
| 10 KB KML samplesample-kml-10kb.kml | KML | 10 KB10,240 bytes | Placemarks: 42 | Download KML |
| 10 KB GPX samplesample-gpx-10kb.gpx | GPX | 10 KB10,240 bytes | Track points: 96 | Download GPX |
| 10 KB STL samplesample-stl-10kb.stl | STL | 10 KB10,240 bytes | Facets: 60 | Download STL |
| 10 KB glTF samplesample-gltf-10kb.gltf | glTF | 10 KB10,240 bytes | Triangles: 338 | Download glTF |
What is a 10 KB test file?
Ten kilobytes is a meaningful threshold for web performance. A new TCP connection usually starts with a congestion window of ten segments, roughly 14.6 KB, so a response of 10 KB can be delivered without waiting for an acknowledgement.
For upload testing it is the smallest size at which buffering starts to matter, and it is larger than the 8 KB that many servers allow for a single request header.
In everyday terms: Three to four pages of plain text, or a small thumbnail image.
Limits near 10 KB
Default limits in widely used software that a 10 KB file is useful for testing. Defaults change between versions, so confirm them in the documentation for the version you run.
| System | Limit | What happens at 10 KB |
|---|---|---|
| TCP initial congestion window | About 14.6 KB (10 segments) | A 10 KB response fits in the first flight of packets; the 25 KB sample does not. |
| nginx and Apache request headers | 8 KB per header line by default | Data this large must go in the request body. |
| webpack asset modules | 8 KB by default | Assets over the threshold are emitted as files instead of data URIs. |
Good for
- Testing critical-path payload budgets
- Unit tests for parsers with a few dozen records
- Checking thumbnail and icon handling
Transfer time
How long 10,240 bytes take to move, before any compression.
| 1 Mbit/s (slow mobile or uplink) | under 1 second |
|---|---|
| 10 Mbit/s (basic broadband) | under 1 second |
| 100 Mbit/s (fast broadband) | under 1 second |
Related
Next sizes: 5 KB sample files and 25 KB sample files.
10 KB files: questions
- How many records are in a 10 KB data file?
- It depends on the format. A 10 KB CSV holds roughly a hundred rows, while XML of the same size holds far fewer. The exact count is on each download page.
- How many bytes is 10 KB?
- 10 KB is 10,240 bytes on this site. Sizes use binary units, in which 1 KB is 1,024 bytes and 1 MB is 1,048,576 bytes.