Skip to content

A 50 MB PDF test file

100% Free No signup Instant download Browser-only 5 languages
Free download(50 MB)

pdf-50mb.pdf

File info

File Format PDF
File Size 50 MB(52,428,800 bytes)
MIME Type application/pdf
MD5 2e49ed6f38becc7e765a75c9763c0947
SHA-1 a2b0550c7a39dbc775e2cce1245179a03a898803
SHA-256 1dbd9a7bae1a55aa74b5ed66709566c7954766d4c079b458f3c721ab7ae83516

Download via command line

curl
curl -O https://devlab.itlibra.com/files/pdf/pdf-50mb.pdf
wget
wget https://devlab.itlibra.com/files/pdf/pdf-50mb.pdf
PowerShell
Invoke-WebRequest -Uri "https://devlab.itlibra.com/files/pdf/pdf-50mb.pdf" -OutFile "pdf-50mb.pdf"

About this file

A 50 MB test file in PDF format, sized to exactly 52,428,800 bytes. Free to download with no signup, for verifying upload limits and file-handling behaviour.

The MD5, SHA-1 and SHA-256 values listed above are the real digests of this file. Recomputing them after download confirms the transfer was not corrupted, and they double as known-good expected values when testing a hashing library.

What this size means in practice

50 MB is the point where GitHub starts warning you on push (it hard-rejects above 100 MB). In practice it is the decision line for whether a binary belongs in Git directly or should move to Git LFS.

At this scale, an implementation that buffers the whole request in memory burns 50 MB or more per worker process — ten concurrent uploads means 500 MB. It is a good size for verifying that streaming or spill-to-temp-file actually works.

Getting a feel for this size

On a 10 Mbps link the transfer takes roughly 41.9 seconds, and about 4.2 seconds at 100 Mbps. Base64-encoded it grows to roughly 68,267 KB.

Assuming a text-oriented PDF with embedded fonts runs about 80 KB per page, this size is on the order of 640 pages. Image-heavy PDFs will hold far fewer pages at the same size.

What to check for this format

PDF starts with the %PDF- signature and keeps a cross-reference table (xref) at the end that points to every object. Because of that layout, losing the tail of the file makes the whole document unreadable — which makes PDF a good subject for truncation-detection tests.

  • Whether page-count extraction and text extraction finish without timing out on large files
  • The time and memory cost of thumbnail generation, i.e. rasterising the first page
  • Because PDF can embed JavaScript and external references, whether your sanitisation path runs when accepting user uploads

FAQ

Is this file free to use?
Yes — fully free and no signup required. Use it for any commercial or non-commercial test/verification purpose.
What is inside the file?
Dummy data generated for testing — sized to match the listed size exactly.
What are the hash values for?
Verify integrity after download or use them as test data for hashing libraries.