Download 10 MB PDF file for testing
Open the single page and check document-upload behavior. The preset is 10 MiB (10,485,760 bytes); choose MB for decimal megabytes.
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 this PDF fixture
- Keep the original file for size tests. Optimizing or re-saving can remove its unreferenced padding stream and change the byte count.
- Boundary-testing upload forms that say "up to 10 MB".
- Checking Spring Boot's total request cap, which matches this size by default.
- Measuring download and virus-scan times for a typical large office document.
Limits it lands on
- Spring Boot: spring.servlet.multipart.max-request-size defaults to 10MB, so this file plus its headers exceeds the request limit.
- API Gateway REST APIs accept payloads up to 10 MB, so this file sits right on that limit.
What is inside the file
The padding stream measures 10,485,038 bytes; the structural part grows by two bytes compared with smaller sizes because the length values gain a digit.
Opens instantly in browsers — the viewer reads the xref table at the end and never touches the filler.
Questions
Is it exactly 10 MB?
It is exactly 10 MiB, 10,485,760 bytes. Services that define 10 MB as 10,000,000 bytes will treat it as about 4.9% too big.
Can I get a 10 MB PDF with real pages?
This generator keeps one page and pads the rest; for multi-page content, merge documents with the PDF merge tool.
Does 10 MB on this page mean 10000000 bytes?
This legacy URL selects 10 MiB: 10,485,760 bytes. A decimal 10 MB cap is 10,000,000 bytes. Select decimal MB or enter exact bytes on the PDF format page.
Reference and checks
Format reference: PDF 32000-1.
Preset target: 10 MiB (10,485,760 bytes). Verify the downloaded file's byte count.
Generate another size in this format · Technical notes for every format · Guide to testing file upload limits · Data processing and privacy
Related tools: Merge PDF · Compress PDF.
Noticed an issue with this test file? Report an issue →
