Sample 3-page PDF with images
A three-page PDF in which every page carries a caption, a paragraph of selectable text and one embedded RGB image: widescreen, 4:3 and square.
Download
sample-pdf-with-images.pdf
1.45 MB1,520,010 bytes
Download PDF sampleCreated in your browser in a few seconds, then checked against the SHA-256 checksum. The file is not uploaded anywhere. No sign-up.
- Type
- application/pdf
- SHA-256
ceaf32f4f2747e3b01e0dbcdb9384e85c6d97c110c4ddd6cb25ef5b04d6c8b8d- Delivery
- Created in your browser, so nothing is downloaded from our server (how it works).
Why test with this file
For testing image extraction, page rendering and PDF compression. The images are stored uncompressed, so a compressor has a great deal to remove and its effect is easy to measure.
| Pages | 3 |
|---|---|
| Images | 3: 640 × 360, 480 × 360, 320 × 320 px |
| Image encoding | Uncompressed 8-bit RGB (no filter) |
| Page size | A4 (595 × 842 pt) |
| PDF version | 1.4 |
| Text selectable | Yes |
| Encrypted | No |
What to check
After your application has processed sample-pdf-with-images.pdf, confirm that:
- An image extractor finds 3 images with the pixel dimensions listed above.
- A rendered thumbnail of page 2 shows the grainy test card, not a blank rectangle.
- A PDF compressor makes the file several times smaller, and the text is still selectable afterwards.
First bytes of the file
The first 64 bytes of sample-pdf-with-images.pdf as a hex dump: offset, bytes, then the same bytes as text. The PDF signature is 25 50 44 46 2D.
00000000 25 50 44 46 2d 31 2e 34 0a 25 e2 e3 cf d3 0a 31 |%PDF-1.4.%.....1|
00000010 20 30 20 6f 62 6a 0a 3c 3c 20 2f 54 79 70 65 20 | 0 obj.<< /Type |
00000020 2f 43 61 74 61 6c 6f 67 20 2f 50 61 67 65 73 20 |/Catalog /Pages |
00000030 32 20 30 20 52 20 3e 3e 0a 65 6e 64 6f 62 6a 0a |2 0 R >>.endobj.|Preview
Loads the whole 1.45 MB file in your browser.
Technical details
| File name | sample-pdf-with-images.pdf |
|---|---|
| Format | PDF (Portable Document Format) |
| Extension | |
| MIME type | application/pdf |
| Size | 1,520,010 bytes (1.45 MB) |
| Kind | Binary |
| Signature | 25 50 44 46 2D |
| SHA-256 | ceaf32f4f2747e3b01e0dbcdb9384e85c6d97c110c4ddd6cb25ef5b04d6c8b8d |
| Created | 2026-10-21 |
| Validation | Exact size, signature bytes and structure checked when the generator was built; your copy is checked against the SHA-256 after it is created |
| Preview | Available on this page |
| Source | Generated in your browser by this site's generator; not copied from elsewhere |
| Licence | Free to use, modify and redistribute (terms) |
| Category | Documents |
Validated for expected format and integrity. As with any download, scan the file with your own security tools before opening it. How files are made and checked
Verify your copy
This file is created in your browser, so it has no direct URL for curl or wget. The bytes are the same every time and in every browser, so after saving it you can compare its checksum with the SHA-256 value above.
sha256sum sample-pdf-with-images.pdf # Linux
shasum -a 256 sample-pdf-with-images.pdf # macOSOn Windows, run Get-FileHash sample-pdf-with-images.pdf -Algorithm SHA256 in PowerShell. For scripts and pipelines, save the file once and keep your own copy.
About PDF
Fixed-layout documents that look the same on every device. The most common format for upload forms that accept documents.
Where it fits
- File upload testing
Test an upload form or endpoint with files of every size and type it should accept, and several it should refuse.
- File parser testing
Well-formed files and deliberate edge cases for testing code that reads CSV, JSON, XML, PDF and more.