Create a sample PDF file at your chosen size
Choose a size and download a one-page PDF for document uploads and basic reader checks. The extra bytes do not add pages or scanned images.
1 MB = 1,000,000 B · 1 MiB = 1,048,576 B
Advanced: test an upload limit
Enter the byte limit above, then choose one byte below, the exact limit or one byte above. Each choice uses the same base: 10,485,760 B. Generate and download each file to test your endpoint.
What to test with a PDF fixture
Open the saved PDF, check its one-page count and compare the exact bytes with your upload limit. Use representative image-heavy documents for compression tests.
Merge PDFs · Compress a PDF · 2 MB PDF test guide · 10 MB PDF test guide
Choose a size here
These options set the generator above. Separate size guides explain how to test a particular upload boundary.
Guides for specific upload limits
1 MB PDF
1,048,576 bytes
2 MB PDF
2,097,152 bytes
3 MB PDF
3,145,728 bytes
4 MB PDF
4,194,304 bytes
5 MB PDF
5,242,880 bytes
6 MB PDF
6,291,456 bytes
7 MB PDF
7,340,032 bytes
8 MB PDF
8,388,608 bytes
9 MB PDF
9,437,184 bytes
10 MB PDF
10,485,760 bytes
15 MB PDF
15,728,640 bytes
20 MB PDF
20,971,520 bytes
40 MB PDF
41,943,040 bytes
100 MB PDF
104,857,600 bytes
File structure and testing limits
One A4 page with two lines of text; an unreferenced stream supplies the extra bytes. File size does not represent a long document or scanned pages.
Format reference: PDF 32000-1.
This generator assembles the file in your browser; file content is not sent to a server. Site analytics may make network requests. Office ↔ PDF conversion uses a separate server workflow. Data processing and privacy.
Measured regression fixture (2026-10-13): 1,048,576 bytes. Validation method and limits.
Technical notes for every format · Guide to testing file upload limits
Related tools: Merge PDF · Compress PDF.
Questions
How small can a PDF file be?
About 772 bytes. Below that the format cannot carry its mandatory structure, let alone padding.
What does this sample PDF contain?
One A4 page with two lines of text and an unreferenced padding stream. A 2 MiB or 10 MiB download still contains one page; use a separate scanned document to test OCR or image-heavy compression.
Can I ask for an unusual size?
Any byte count above the minimum works — for example 3,145,728 bytes (exactly 3 MB) or 27.5 MB. Drag the caliper or type the number.
Noticed an issue with this test file? Report an issue →
