10 KB sample files

A 10,240-byte file that still arrives in the first round trip of a new connection. Available in 34 formats.

Download a 10 KB file

Each file is exactly 10,240 bytes and is a valid file of its format.

10 KB sample files in every available format
FileFormatSizeContentsDownload
10 KB PDF samplesample-pdf-10kb.pdf PDF 10 KB10,240 bytes Pages: 2 Download PDF
10 KB TXT samplesample-txt-10kb.txt TXT 10 KB10,240 bytes Numbered lines: 101 Download TXT
10 KB CSV samplesample-csv-10kb.csv CSV 10 KB10,240 bytes Data rows: 78 Download CSV
10 KB JSON samplesample-json-10kb.json JSON 10 KB10,240 bytes Records: 29 Download JSON
10 KB XML samplesample-xml-10kb.xml XML 10 KB10,240 bytes Elements: 31 <customer> records 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 152 × 113 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 Pseudo-random bytes Download BIN
10 KB JSONL samplesample-jsonl-10kb.jsonl JSONL 10 KB10,240 bytes Lines: 31 Download JSONL
10 KB SQL samplesample-sql-10kb.sql SQL 10 KB10,240 bytes Statements: 1 CREATE TABLE, 44 INSERT Download SQL
10 KB LOG samplesample-log-10kb.log LOG 10 KB10,240 bytes Lines: 64 Download LOG
10 KB GZ samplesample-gz-10kb.gz GZ 10 KB10,240 bytes Uncompressed size: 111,533 bytes Download GZ
10 KB TAR samplesample-tar-10kb.tar TAR 10 KB10,240 bytes Entries: 2 (README.txt, payload.bin) Download TAR
10 KB XLSX samplesample-xlsx-10kb.xlsx XLSX 10 KB10,240 bytes Data rows: 95 Download XLSX
10 KB EPUB samplesample-epub-10kb.epub EPUB 10 KB10,240 bytes Chapters: 2 Download EPUB
10 KB GIF samplesample-gif-10kb.gif GIF 10 KB10,240 bytes 64 × 48 px Download GIF
10 KB WebP samplesample-webp-10kb.webp WebP 10 KB10,240 bytes 66 × 48 px Download WebP
10 KB BMP samplesample-bmp-10kb.bmp BMP 10 KB10,240 bytes 67 × 49 px Download BMP
10 KB SVG samplesample-svg-10kb.svg SVG 10 KB10,240 bytes Shapes: 135 circles and rectangles Download SVG
10 KB HTML samplesample-html-10kb.html HTML 10 KB10,240 bytes Sections: 17 Download HTML
10 KB Markdown samplesample-md-10kb.md Markdown 10 KB10,240 bytes Sections: 21 Download Markdown
10 KB RTF samplesample-rtf-10kb.rtf RTF 10 KB10,240 bytes Sections: 28 Download RTF
10 KB YAML samplesample-yaml-10kb.yaml YAML 10 KB10,240 bytes Records: 42 Download YAML
10 KB TOML samplesample-toml-10kb.toml TOML 10 KB10,240 bytes Tables: 63 [[record]] entries Download TOML
10 KB INI samplesample-ini-10kb.ini INI 10 KB10,240 bytes Sections: 90 Download INI
10 KB CSS samplesample-css-10kb.css CSS 10 KB10,240 bytes Features: Custom properties, class selectors, rem and px units Download CSS
10 KB JS samplesample-js-10kb.js JS 10 KB10,240 bytes Array entries: 81 Download JS
10 KB SRT samplesample-srt-10kb.srt SRT 10 KB10,240 bytes Cues: 89 Download SRT
10 KB VTT samplesample-vtt-10kb.vtt VTT 10 KB10,240 bytes Cues: 88 Download VTT
10 KB ICS samplesample-ics-10kb.ics ICS 10 KB10,240 bytes Events: 29 Download ICS
10 KB EML samplesample-eml-10kb.eml EML 10 KB10,240 bytes Body paragraphs: 29 Download EML
10 KB GeoJSON samplesample-geojson-10kb.geojson GeoJSON 10 KB10,240 bytes Features: 53 Download GeoJSON
10 KB OBJ samplesample-obj-10kb.obj OBJ 10 KB10,240 bytes Vertices: 231 Download OBJ

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.

SystemLimitWhat happens at 10 KB
TCP initial congestion windowAbout 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 headers8 KB per header line by defaultData this large must go in the request body.
webpack asset modules8 KB by defaultAssets 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.