2 MB PDF test file
A PDF document of exactly 2,097,152 bytes, created instantly in your browser. Nothing is uploaded, and there is no sign-up.
Testing a limit? Grab the edge cases too
Need another size or name? Open it in the generator.
What’s inside the file
A valid one-page PDF 1.4 that reads “Dummy PDF”. Extra size is stored inside the document, so it opens in any PDF viewer at every size.
- Size: 2,097,152 bytes = 2 MB (binary) ≈ 2.10 MB (decimal)
- MIME type:
application/pdf - File name:
dummy-2mb.pdf
Will a 2 MB file upload?
How a 2 MB file compares with published limits (verified 2026-09-27):
| Service | Limit | 2 MB file |
|---|---|---|
| Gmail — email attachments (total per message) | 25 MB | Fits |
| Outlook.com — email attachments | 25 MB | Fits |
| Yahoo Mail — email attachments (total per message) | 25 MB | Fits |
| WhatsApp — documents / files | 2 GB | Fits |
| Discord (free) — file attachments | 20 MB | Fits |
| Slack — file upload | 1 GB | Fits |
| Facebook Messenger — files in chats | 100 MB | Fits |
| Notion (Free) — file upload | 5 MB | Fits |
| Trello (Free) — card attachment from computer | 10 MB | Fits |
| X (Twitter) — image | 5 MB | Fits |
| LinkedIn — document post (pdf, docx, pptx) | 100 MB | Fits |
| Shopify — product image | 20 MB | Fits |
| Typeform — file upload question | 10 MB | Fits |
Sources and 40+ more limits (servers, frameworks, cloud storage): file upload limits reference.
Good for testing
- Document upload forms and attachment limits
- PDF preview and thumbnail pipelines
- Virus-scan and storage-quota queues
Questions
Is this 2 MB PDF exactly 2,097,152 bytes?
Yes. The file is exactly 2,097,152 bytes (2 MB with 1 MB = 1,024 × 1,024 bytes). If the system you test counts 1 MB as 1,000,000 bytes, use the 2,000,000-byte button instead.
Will the PDF file open?
A valid one-page PDF 1.4 that reads “Dummy PDF”. Extra size is stored inside the document, so it opens in any PDF viewer at every size.
Is it safe? Where does the file come from?
The file is created by JavaScript in your own browser when you click the button. Nothing is uploaded or downloaded from a server, and the file contains no macros, scripts or personal data.
More about the format: PDF format guide.
