A 10 KB PDF test file
File info
| File Format | |
|---|---|
| File Size | 10 KB(10,240 bytes) |
| MIME Type | application/pdf |
| MD5 | 395dbc9bd5cb3b4031d3ac361afdb9ba |
| SHA-1 | 6c926e8eb90d7b8fa8e51c8c4695e1ffd56492f2 |
| SHA-256 | 21030e7a420013289f8e1aee3eaa4bf8e4752700bd433b13be30e8d33c252e35 |
Download via command line
curl -O https://devlab.itlibra.com/files/pdf/pdf-10kb.pdf
wget https://devlab.itlibra.com/files/pdf/pdf-10kb.pdf
Invoke-WebRequest -Uri "https://devlab.itlibra.com/files/pdf/pdf-10kb.pdf" -OutFile "pdf-10kb.pdf"
About this file
A 10 KB test file in PDF format, sized to exactly 10,240 bytes. Free to download with no signup, for verifying upload limits and file-handling behaviour.
The MD5, SHA-1 and SHA-256 values listed above are the real digests of this file. Recomputing them after download confirms the transfer was not corrupted, and they double as known-good expected values when testing a hashing library.
What this size means in practice
10 KB sits below virtually every upload limit, which makes it the baseline "happy path" case. Confirm this file goes through first, then move up in size to probe where your limits actually bite.
It also fits inside the AWS Lambda asynchronous invocation payload cap (256 KB) and typical API JSON body limits. The size is convenient for CI fixtures and unit-test data you commit to a repository.
Getting a feel for this size
On a 10 Mbps link the transfer takes roughly 8 ms, and about 1 ms at 100 Mbps. Base64-encoded it grows to roughly 13 KB.
Assuming a text-oriented PDF with embedded fonts runs about 80 KB per page, this size is on the order of 0 pages. Image-heavy PDFs will hold far fewer pages at the same size.
What to check for this format
PDF starts with the %PDF- signature and keeps a cross-reference table (xref) at the end that points to every object. Because of that layout, losing the tail of the file makes the whole document unreadable — which makes PDF a good subject for truncation-detection tests.
- Whether page-count extraction and text extraction finish without timing out on large files
- The time and memory cost of thumbnail generation, i.e. rasterising the first page
- Because PDF can embed JavaScript and external references, whether your sanitisation path runs when accepting user uploads
FAQ
- Is this file free to use?
- Yes — fully free and no signup required. Use it for any commercial or non-commercial test/verification purpose.
- What is inside the file?
- Dummy data generated for testing — sized to match the listed size exactly.
- What are the hash values for?
- Verify integrity after download or use them as test data for hashing libraries.
Other sizes in the same format
102,400 bytes
application/pdf
104,857,600 bytes
application/pdf
10,485,760 bytes
application/pdf
1,048,576 bytes
application/pdf
26,214,400 bytes
application/pdf
512,000 bytes
application/pdf
52,428,800 bytes
application/pdf
5,242,880 bytes
application/pdf