Documents
PDF test files, any size.
Set a size and generate a structurally valid PDF immediately. Nothing is uploaded and nothing is stored.
PDF, built to spec.
Each file is a single-page PDF 1.7 document sized to A4. The size you ask for is reached with an unreferenced content stream, the same mechanism PDF writers use for incremental updates, so the result opens in Acrobat, Preview, Chrome, pdf.js and pypdf. Most people generate these for testing PDF upload limits, print pipelines and document parsers.
Common sizes
Pick a size to jump straight to it, or set your own on the caliper above.
1 KB PDF
1,024 bytes
5 KB PDF
5,120 bytes
10 KB PDF
10,240 bytes
50 KB PDF
51,200 bytes
100 KB PDF
102,400 bytes
500 KB PDF
512,000 bytes
1 MB PDF
1,048,576 bytes
2 MB PDF
2,097,152 bytes
3 MB PDF
3,145,728 bytes
5 MB PDF
5,242,880 bytes
10 MB PDF
10,485,760 bytes
15 MB PDF
15,728,640 bytes
20 MB PDF
20,971,520 bytes
25 MB PDF
26,214,400 bytes
50 MB PDF
52,428,800 bytes
100 MB PDF
104,857,600 bytes
200 MB PDF
209,715,200 bytes
500 MB PDF
524,288,000 bytes
1 GB PDF
1,073,741,824 bytes
2 GB PDF
2,147,483,648 bytes
Questions.
How small can a PDF file be?
About 772 bytes. Below that the format cannot carry its mandatory structure, let alone padding.
Will the file open normally?
Yes — it opens in Acrobat, Preview, Chrome, pdf.js and pypdf, because the padding lives in an unreferenced content stream, the same mechanism PDF writers use for incremental updates.
Can I ask for an unusual size?
Any byte count above the minimum works, including values like 3,145,728 or 27.5 MB. Drag the caliper or type the number.
Noticed an issue with this test file? Report an issue →