Dummy 10 MB PDF File

Generate and download a dummy 10 MB PDF file. The download is exactly 10,485,760 bytes, created in your browser and never uploaded.

Format

10,485,760 bytes · max 100 MB

Options10 pages · dummy-document.pdf

1 to 200, default 10

.pdf

Need a different size? Make a dummy PDF file of any size from 4 KB to 100 MB.

Testing with a 10 MB PDF file

Ten megabytes matches the Amazon API Gateway REST payload quota and the default Exchange attachment limit for Outlook. Test files at, just below and just above it: exactly 10 MB usually fails once request overhead is added.

It is a good size for checking upload progress indicators, since the transfer takes long enough on a slow connection to see them.

To find out which definition of “10 MB” your stack uses, generate one PDF at 10,485,759 bytes and one at 10,000,000 bytes. A system that counts decimal megabytes accepts the second and rejects anything above it, while one that counts binary megabytes accepts both.

Exact size (binary)
10,485,760 bytes
Decimal equivalent
10,000,000 bytes
Base64-encoded size
13,981,016 bytes
Pages
10 (default; choose 1 to 200 in Options)

Exact size and boundary files for 10 MB

Set the unit to B and enter these byte counts to test either reading of 10 MB.

Boundary file sizes in bytes for a 10 MB limit
Limit defined as One under (should pass)At the limitOne over (should fail)
Binary 10 MB One under (should pass) 10,485,759 B At the limit 10,485,760 B One over (should fail) 10,485,761 B
Decimal 10 MB One under (should pass) 9,999,999 B At the limit 10,000,000 B One over (should fail) 10,000,001 B

Limits closest to 10 MB

A 10 MB file is over nginx (1 MB), PHP (2 MB) and AWS Lambda (6 MB); exactly at API Gateway (10 MB) and Outlook with Exchange (10 MB); under Outlook with internet accounts (20 MB), Gmail (25 MB) and Cloudflare Free and Pro (100 MB). Sent as base64 text it grows past API Gateway and Outlook with Exchange.

Common upload and attachment limits and their sizes in bytes
Limit Size Notes
Amazon API Gateway REST API payload 10 MB 10,485,760 B Hard quota for REST APIs.
Outlook default attachment limit (Exchange accounts) 10 MB 10,485,760 B Administrators can change it.
Outlook attachment limit (internet accounts) 20 MB 20,971,520 B Per Microsoft Outlook guidance.

Other dummy PDF file sizes

Smaller: 5 MB PDF. Larger: 20 MB PDF. Or see the full dummy PDF file generator.

Other 10 MB dummy files

The same size in another file type.

10 MB PDF file FAQ

Is the 10 MB PDF file exactly 10 MB?

Yes: 10,485,760 bytes in binary units. For a decimal 10 MB, set the unit to B and enter 10,000,000.

How many pages does a 10 MB dummy PDF have?

10 pages of A4 text by default. The page count is an option and does not depend on the file size: choose 1 to 200 pages in Options and the file stays exactly 10,485,760 bytes. If the pages need more than 10 MB, the tool says the minimum size they need.

Is a 10 MB dummy PDF mostly filler?

With the default 10 pages, yes. The document is about 23 KB, so most of the 10,485,760 bytes is a PDF comment after the final %%EOF marker, outside the document structure. More pages mean less filler.

Will a 10 MB PDF file pass the Amazon API Gateway REST API payload?

Probably not. At exactly 10,485,760 bytes it equals the 10 MB limit in binary units, and a form upload adds a few hundred bytes of multipart boundary and headers, so the body ends up over. Counted in decimal megabytes (10,000,000 bytes) the file is 485,760 bytes over. Test one byte under to see it pass. As base64 it is 13,981,016 characters, over the limit, and that is the size that counts in a JSON body or an email.

Is the file uploaded anywhere?

No. It is generated in your browser and never leaves your device.

Send feedback

Request a feature or tell us what is not working.

What is it about?

We store your message to read it and, if you add an email, to reply. Privacy policy