Now with Text + Images in every PDF

Sample PDF Files
With Text & Images — Any Size

Free test PDFs with real text content and embedded images. Each page contains both text blocks and a generated image. Perfect for testing uploads, renderers, and viewers.

8 File Sizes

100KB up to 100MB — every size for testing

Text + Images

Every page has real content & embedded PNG images

Browser Generated

Built instantly in your browser — no server

Exact File Sizes

Padded precisely to hit the target byte count

Choose Your File Size

Each PDF includes text & images on every page

File Size Comparison

File NameExact SizeRelative SizeBest ForStatus

Why Use These Sample PDF Files?

Each PDF contains real text content and embedded images — ideal for realistic testing.

Realistic Image Content

Each PDF contains Canvas-generated PNG images alongside text — not just blank padded files.

Benchmark Download Speed

Use 10MB, 50MB and 100MB files to measure download throughput and CDN performance.

PDF Viewer Testing

Verify that your PDF viewer renders both text layout and embedded images correctly.

Upload Limit Testing

Check whether your web app, CMS, or API accepts mixed-content files of a given size.

Safe & Private

Files are generated entirely in your browser — no data is sent to any server.

QA & Integration Testing

Test document management systems with realistic PDF content including images and formatted text.

Frequently Asked Questions

Everything about sample PDF files with text and images.

What content is inside each PDF?
Each PDF contains 2 pages. Page 1 is a cover page with a header banner, file metadata table, a description block, and an embedded color PNG image (generated via HTML Canvas). Page 2 is a content page with multiple text sections and a second embedded image showing a chart/pattern. All content is real and renders correctly in any PDF viewer.
How are the images generated?
Images are drawn using an HTML Canvas element in your browser, then exported as PNG data. The canvas draws colorful geometric shapes, gradients, and patterns unique to each file size. This PNG is then embedded directly into the PDF using pdf-lib's image embedding API — no external images or servers are involved.
Are these valid, openable PDF files?
Yes. Every file is a fully valid PDF that opens correctly in Adobe Acrobat, Chrome, Firefox, Edge, Preview on macOS, and all other standard PDF viewers. The embedded images display correctly alongside the text content.
Why does the 50MB or 100MB file take longer?
Large files require generating a significant amount of padding data in your browser's JavaScript engine. The PDF content (text + images) is built first, then padding is appended as a raw data stream to reach the exact target size. The progress bar shows real-time generation status.
Are these files safe to download?
Yes. Everything is generated entirely in your browser using JavaScript — nothing is downloaded from an external server, and no data leaves your device. The PDFs contain only text, PNG images drawn on a canvas, and padding data. No scripts, no macros, no executable code.

More Free PDF Tools

Everything you need for working with PDF files — all free and browser-based.