Skip to content

A 25 MB PDF test file

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

pdf-25mb.pdf

File info

File Format PDF
File Size 25 MB(26,214,400 bytes)
MIME Type application/pdf
MD5 65f616609c9d600fd8fd93e36806110e
SHA-1 1995192f737d264f60d79d69375bfec310bc462c
SHA-256 62910c5be47aebed5f89f4ca8d06a95f6524a4140a732f8031a7080199d78615

Download via command line

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

About this file

A 25 MB test file in PDF format, sized to exactly 26,214,400 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

25 MB is widely known as the Gmail attachment limit. In practice, though, mail attachments are Base64-encoded and grow about 33%, so a 25 MB file becomes roughly 33 MB on the wire and usually will not send as-is.

That gap between the advertised limit and the post-encoding size is a pitfall every mail-sending feature eventually hits. Use this file to check whether your size validation runs before or after encoding.

Getting a feel for this size

On a 10 Mbps link the transfer takes roughly 21 seconds, and about 2.1 seconds at 100 Mbps. Base64-encoded it grows to roughly 34,133 KB.

Assuming a text-oriented PDF with embedded fonts runs about 80 KB per page, this size is on the order of 320 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.