Dummy 50 MB PDF File

Generate and download a dummy 50 MB PDF file. The download is exactly 52,428,800 bytes, created in your browser and never uploaded.

Format

52,428,800 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 50 MB PDF file

At 50 MB you are at half of Cloudflare’s 100 MB request limit for Free and Pro plans. Use the file to check chunked or resumable uploads, progress reporting and timeout settings.

Loading a file this size fully into memory is a common cause of server out-of-memory errors, so watch memory during the upload as well as the response code.

Use this size to check that a chunked or resumable upload reassembles to exactly the right byte count. This tool cannot split a file, so split it with your own client and compare the stored size with 52,428,800 bytes.

Exact size (binary)
52,428,800 bytes
Decimal equivalent
50,000,000 bytes
Base64-encoded size
69,905,068 bytes
Pages
10 (default; choose 1 to 200 in Options)

Exact size and boundary files for 50 MB

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

Boundary file sizes in bytes for a 50 MB limit
Limit defined as One under (should pass)At the limitOne over (should fail)
Binary 50 MB One under (should pass) 52,428,799 B At the limit 52,428,800 B One over (should fail) 52,428,801 B
Decimal 50 MB One under (should pass) 49,999,999 B At the limit 50,000,000 B One over (should fail) 50,000,001 B

Limits closest to 50 MB

A 50 MB file is over nginx (1 MB), PHP (2 MB), AWS Lambda (6 MB), API Gateway (10 MB), Outlook with Exchange (10 MB), Outlook with internet accounts (20 MB) and Gmail (25 MB); under Cloudflare Free and Pro (100 MB). Sent as base64 text it stays on the same side of every limit.

Common upload and attachment limits and their sizes in bytes
Limit Size Notes
Outlook attachment limit (internet accounts) 20 MB 20,971,520 B Per Microsoft Outlook guidance.
Gmail message size limit 25 MB 26,214,400 B Attachments grow about a third when encoded, so a 20 MB file can already be too big.
Cloudflare proxy request body (Free and Pro plans) 100 MB 104,857,600 B Larger requests return HTTP 413.

Other dummy PDF file sizes

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

Other 50 MB dummy files

The same size in another file type.

50 MB PDF file FAQ

Is the 50 MB PDF file exactly 50 MB?

Yes: 52,428,800 bytes in binary units. For a decimal 50 MB, set the unit to B and enter 50,000,000.

How many pages does a 50 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 52,428,800 bytes. If the pages need more than 50 MB, the tool says the minimum size they need.

Is a 50 MB dummy PDF mostly filler?

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

Will a 50 MB PDF file pass the Cloudflare proxy request body (Free and Pro plans)?

Yes, as a raw binary upload: it is 52,428,800 bytes under the 100 MB limit (104,857,600 bytes), which leaves room for the few hundred bytes of multipart headers. As base64 it is 69,905,068 characters, under 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