Sample PDF File Download — Free Test PDFs for Development
Download free sample PDF files from 1KB to 10MB — including password-protected, fillable forms, tables, landscape orientation, and A4/US Letter paper sizes. Use these PDF test files for upload APIs, viewers, email attachments, and parser testing. No signup.
sample-1kb.pdf
1 pages
File details and verification
- Filename
- sample-1kb.pdf
- Exact size
- 6,120 bytes
- Displayed size
- 6.0 KB
- Catalog status
- Valid catalog fixture
- SHA-256
- c870e8cdf9dd0e2efa03956ce27f3d130c28ac9dc9c433a9dedcab02ba6339a6
- Header signature
- Matched (%PDF-)
- Verified on
- 2026-08-10
- MIME type
- application/pdf
- Pages
- 1
- License
- CC0 / Public Domain
- Download URL
- https://cdn.truefilesize.com/pdf/sample-1kb.pdf
See how TrueFileSize generates and measures sample files, or review the editorial policy.
sample-10kb.pdf
1 pages
File details and verification
- Filename
- sample-10kb.pdf
- Exact size
- 12,439 bytes
- Displayed size
- 12.1 KB
- Catalog status
- Valid catalog fixture
- SHA-256
- 71f3a914af0fe5a37dee639cadf776751deeb324f916a2bdd9836893ffa451ab
- Header signature
- Matched (%PDF-)
- Verified on
- 2026-08-10
- MIME type
- application/pdf
- Pages
- 1
- License
- CC0 / Public Domain
- Download URL
- https://cdn.truefilesize.com/pdf/sample-10kb.pdf
See how TrueFileSize generates and measures sample files, or review the editorial policy.
sample-50kb.pdf
2 pages
File details and verification
- Filename
- sample-50kb.pdf
- Exact size
- 55,173 bytes
- Displayed size
- 53.9 KB
- Catalog status
- Valid catalog fixture
- SHA-256
- 82a2492fabc09475366e29a06cf029991bcd93f4add665f75c326bebfff3006e
- Header signature
- Matched (%PDF-)
- Verified on
- 2026-08-10
- MIME type
- application/pdf
- Pages
- 2
- License
- CC0 / Public Domain
- Download URL
- https://cdn.truefilesize.com/pdf/sample-50kb.pdf
See how TrueFileSize generates and measures sample files, or review the editorial policy.
sample-100kb.pdf
5 pages
File details and verification
- Filename
- sample-100kb.pdf
- Exact size
- 102,433 bytes
- Displayed size
- 100 KB
- Catalog status
- Valid catalog fixture
- SHA-256
- dba8b4303e52ab7d39a2eac90d59face545e7507cba393b823cd02c905e1c57c
- Header signature
- Matched (%PDF-)
- Verified on
- 2026-08-10
- MIME type
- application/pdf
- Pages
- 5
- License
- CC0 / Public Domain
- Download URL
- https://cdn.truefilesize.com/pdf/sample-100kb.pdf
See how TrueFileSize generates and measures sample files, or review the editorial policy.
sample-500kb.pdf
10 pages
File details and verification
- Filename
- sample-500kb.pdf
- Exact size
- 515,798 bytes
- Displayed size
- 504 KB
- Catalog status
- Valid catalog fixture
- SHA-256
- e87a15849ef15debb2500c7f7b4ef5680147eb51d074546954ae8e7a24b73558
- Header signature
- Matched (%PDF-)
- Verified on
- 2026-08-10
- MIME type
- application/pdf
- Pages
- 10
- License
- CC0 / Public Domain
- Download URL
- https://cdn.truefilesize.com/pdf/sample-500kb.pdf
See how TrueFileSize generates and measures sample files, or review the editorial policy.
sample-1mb.pdf
20 pages
File details and verification
- Filename
- sample-1mb.pdf
- Exact size
- 1,053,319 bytes
- Displayed size
- 1.00 MB
- Catalog status
- Valid catalog fixture
- SHA-256
- 778a3e941f3e338c99b4de5fa7df0e466bafeeef49cc19b02c46bab393e0ae8c
- Header signature
- Matched (%PDF-)
- Verified on
- 2026-08-10
- MIME type
- application/pdf
- Pages
- 20
- License
- CC0 / Public Domain
- Download URL
- https://cdn.truefilesize.com/pdf/sample-1mb.pdf
See how TrueFileSize generates and measures sample files, or review the editorial policy.
sample-3mb.pdf
50 pages
File details and verification
- Filename
- sample-3mb.pdf
- Exact size
- 3,151,717 bytes
- Displayed size
- 3.01 MB
- Catalog status
- Valid catalog fixture
- SHA-256
- 4f9468043bd63631ae14699d8394cf7dafcfdfd835099e9e9631e7a9f134b906
- Header signature
- Matched (%PDF-)
- Verified on
- 2026-08-10
- MIME type
- application/pdf
- Pages
- 50
- License
- CC0 / Public Domain
- Download URL
- https://cdn.truefilesize.com/pdf/sample-3mb.pdf
See how TrueFileSize generates and measures sample files, or review the editorial policy.
sample-5mb.pdf
100 pages
File details and verification
- Filename
- sample-5mb.pdf
- Exact size
- 5,248,999 bytes
- Displayed size
- 5.01 MB
- Catalog status
- Valid catalog fixture
- SHA-256
- 86b971af93185c38bbfae66241c5c77ce9a346e773e4e9b887072b5b07b6b084
- Header signature
- Matched (%PDF-)
- Verified on
- 2026-08-10
- MIME type
- application/pdf
- Pages
- 100
- License
- CC0 / Public Domain
- Download URL
- https://cdn.truefilesize.com/pdf/sample-5mb.pdf
See how TrueFileSize generates and measures sample files, or review the editorial policy.
sample-10mb.pdf
100 pages
File details and verification
- Filename
- sample-10mb.pdf
- Exact size
- 10,486,942 bytes
- Displayed size
- 10.00 MB
- Catalog status
- Valid catalog fixture
- SHA-256
- 2450a3aad0f7592393992c48ea00df1917630c8361dc23e6a00da7d9f53ac474
- Header signature
- Matched (%PDF-)
- Verified on
- 2026-08-10
- MIME type
- application/pdf
- Pages
- 100
- License
- CC0 / Public Domain
- Download URL
- https://cdn.truefilesize.com/pdf/sample-10mb.pdf
See how TrueFileSize generates and measures sample files, or review the editorial policy.
sample-100mb.pdf
1 pages
File details and verification
- Filename
- sample-100mb.pdf
- Exact size
- 104,857,600 bytes
- Displayed size
- 100 MB
- Catalog status
- Valid catalog fixture
- SHA-256
- a05316b90f645af182969ff518dc5ddbda9e9bc47c325d23d0874cffd743c238
- Header signature
- Matched (%PDF-)
- Verified on
- 2026-08-10
- MIME type
- application/pdf
- Pages
- 1
- Note
- One readable page with an embedded generated padding payload
- License
- CC0 / Public Domain
- Download URL
- https://cdn.truefilesize.com/pdf/sample-100mb.pdf
See how TrueFileSize generates and measures sample files, or review the editorial policy.
sample-pdf-with-password.pdf
1 pages · pw: test123
File details and verification
- Filename
- sample-pdf-with-password.pdf
- Exact size
- 901 bytes
- Displayed size
- 901 B
- Catalog status
- Valid catalog fixture
- SHA-256
- cd4d687eaca063c811ab3f205d39c3fb653302567a4592e1cfa20bbe731e65bd
- Header signature
- Matched (%PDF-)
- Verified on
- 2026-08-10
- MIME type
- application/pdf
- Pages
- 1
- Test password
- test123
- License
- CC0 / Public Domain
- Download URL
- https://cdn.truefilesize.com/pdf/sample-pdf-with-password.pdf
See how TrueFileSize generates and measures sample files, or review the editorial policy.
sample-pdf-landscape.pdf
1 pages
File details and verification
- Filename
- sample-pdf-landscape.pdf
- Exact size
- 30,868 bytes
- Displayed size
- 30.1 KB
- Catalog status
- Valid catalog fixture
- SHA-256
- 942e1d1527aaa79655bd2ceb06df847e6485596c67105dc86dbbfb73856e3c20
- Header signature
- Matched (%PDF-)
- Verified on
- 2026-08-10
- MIME type
- application/pdf
- Pages
- 1
- License
- CC0 / Public Domain
- Download URL
- https://cdn.truefilesize.com/pdf/sample-pdf-landscape.pdf
See how TrueFileSize generates and measures sample files, or review the editorial policy.
sample-pdf-with-form.pdf
2 pages
File details and verification
- Filename
- sample-pdf-with-form.pdf
- Exact size
- 1,874 bytes
- Displayed size
- 1.8 KB
- Catalog status
- Valid catalog fixture
- SHA-256
- aa4f4be4a69ca516870322cf0178639ccea285f03444dc66a297b24a52c3f37f
- Header signature
- Matched (%PDF-)
- Verified on
- 2026-08-10
- MIME type
- application/pdf
- Pages
- 2
- License
- CC0 / Public Domain
- Download URL
- https://cdn.truefilesize.com/pdf/sample-pdf-with-form.pdf
See how TrueFileSize generates and measures sample files, or review the editorial policy.
sample-pdf-with-table.pdf
3 pages
File details and verification
- Filename
- sample-pdf-with-table.pdf
- Exact size
- 11,911 bytes
- Displayed size
- 11.6 KB
- Catalog status
- Valid catalog fixture
- SHA-256
- a6b4054cd97c8c333f7bd033d7977ac65043d21f02ca1f57e96d404a3fb8a212
- Header signature
- Matched (%PDF-)
- Verified on
- 2026-08-10
- MIME type
- application/pdf
- Pages
- 3
- License
- CC0 / Public Domain
- Download URL
- https://cdn.truefilesize.com/pdf/sample-pdf-with-table.pdf
See how TrueFileSize generates and measures sample files, or review the editorial policy.
sample-a4.pdf
5 pages
File details and verification
- Filename
- sample-a4.pdf
- Exact size
- 53,097 bytes
- Displayed size
- 51.9 KB
- Catalog status
- Valid catalog fixture
- SHA-256
- 23276aaef755ff2e9e12b8cb0a850bd34fa8a095b914cf49d3ca7c210b21d1ba
- Header signature
- Matched (%PDF-)
- Verified on
- 2026-08-10
- MIME type
- application/pdf
- Pages
- 5
- License
- CC0 / Public Domain
- Download URL
- https://cdn.truefilesize.com/pdf/sample-a4.pdf
See how TrueFileSize generates and measures sample files, or review the editorial policy.
sample-us-letter.pdf
5 pages
File details and verification
- Filename
- sample-us-letter.pdf
- Exact size
- 53,143 bytes
- Displayed size
- 51.9 KB
- Catalog status
- Valid catalog fixture
- SHA-256
- e7db9f9ad2fc41c9f03815671136e64b28d802c8f3ca3cc28edd29537b8203cb
- Header signature
- Matched (%PDF-)
- Verified on
- 2026-08-10
- MIME type
- application/pdf
- Pages
- 5
- License
- CC0 / Public Domain
- Download URL
- https://cdn.truefilesize.com/pdf/sample-us-letter.pdf
See how TrueFileSize generates and measures sample files, or review the editorial policy.
How to use these sample PDF files
- Testing file upload functionality in web apps
- QA testing PDF viewers and readers
- Load testing with different file sizes
- Placeholder content for demos and presentations
- Testing email attachment handling
Best PDF test file for each task
| Task | Recommended file | Proof | What to verify |
|---|---|---|---|
| Basic upload limit | sample-1mb.pdf | 1,051,915 bytes | Use for happy-path upload, MIME sniffing, and progress UI. |
| Encrypted document handling | sample-pdf-with-password.pdf | password: test123 | Verify unlock prompts, failed passwords, and parser errors. |
| Table extraction | sample-pdf-with-table.pdf | 3 pages | Test Camelot, Tabula, pdfplumber, and spreadsheet export flows. |
| Fillable fields | sample-pdf-with-form.pdf | 2 pages | Check form-field detection and viewer compatibility. |
| Print layout | sample-a4.pdf / sample-us-letter.pdf | A4 and US Letter | Validate margins, paper-size detection, and print preview behavior. |
PDF automation examples
Download verified PDF fixtures
curl -L -o sample-1mb.pdf https://cdn.truefilesize.com/pdf/sample-1mb.pdf
curl -L -o encrypted.pdf https://cdn.truefilesize.com/pdf/sample-pdf-with-password.pdf
curl -L -o table.pdf https://cdn.truefilesize.com/pdf/sample-pdf-with-table.pdfPlaywright response check
const response = await request.get('https://cdn.truefilesize.com/pdf/sample-1mb.pdf');
expect(response.status()).toBe(200);
expect(response.headers()['content-type']).toContain('application/pdf');
expect(Number(response.headers()['content-length'])).toBe(1051915);PDF variants available
| Variant | File | Use case |
|---|---|---|
| Size variants | 1KB–10MB (9 sizes) | Upload limits, progress bars, stress testing |
| Password protected | sample-pdf-with-password.pdf | Password protected PDF test file (pw: test123) |
| Fillable form | sample-pdf-with-form.pdf | Interactive form fields, PDF form parsing |
| With tables | sample-pdf-with-table.pdf | Table extraction, data scraping |
| Landscape | sample-pdf-landscape.pdf | Orientation detection, print layout testing |
| A4 / US Letter | sample-a4.pdf, sample-us-letter.pdf | PDF paper sizes testing, print margins |
Technical specifications
| PDF version | 1.4–1.7 |
| Encoding | Latin-1 / UTF-8 |
| Compliance | PDF/A-1b (archival standard) for selected files |
| Created with | Open-source libraries only |
Frequently Asked Questions
What PDF variants are available?
How do I test password-protected PDFs?
What PDF paper sizes are included?
How do I test file upload with different PDF sizes?
Are these PDF files safe to download?
Can I extract tables from the sample PDFs?
You might also need
Other document formats
Related reading
How to Handle Large File Uploads — Performance Guide
Complete guide to handling large file uploads (100MB+). Covers chunked upload, resumable transfers, progress tracking, and testing with sample files.
PDF Parsing and Text Extraction — A Practical Guide
Extract text, metadata, and structure from PDF files with pdf.js and pdf-parse. Handle scanned PDFs with OCR. Use sample PDFs plus large test files for stress cases.
Resumable Uploads with the tus Protocol
Production-grade file uploads that survive network drops. tus-js-client, server implementations, and large test files to validate your setup.