Dummy PDF generator.
Multi-page sample PDFs with placeholder content, target sizes from 50 KB to 100 MB, and a corruption mode for testing error handling. Free, no sign-up.
About generating PDF files
What you get
A structurally valid PDF, generated entirely in your browser, with headings and paragraphs in your choice of content theme — lorem ipsum, business, or tech. Set the number of sections to control length, or set a target file size and the generator pads the document to land close to it: useful when the test is about size, not content. Every file opens in any standard PDF reader.
The part other generators don’t do: broken PDFs
The PDF integrity dropdown can deliberately damage the file in three distinct ways. Truncated cuts the file off mid-body so the trailer never arrives — how a failed download or interrupted upload looks. Corrupt header destroys the %PDF magic bytes, so parsers refuse to recognize the file at all. Invalid xref overwrites the cross-reference pointer, producing a file that looks like a PDF but falls apart when a reader tries to navigate it. Three different failure modes, because your error handling probably treats them differently — and finding a real corrupted PDF to test with is surprisingly annoying.
What people test with it.
Upload validation
Feed your file-upload flow valid PDFs of controlled sizes — then feed it the three broken variants and watch what your validator actually does.
Preview components
Test in-app PDF viewers and thumbnail generators against multi-page documents, large files, and corrupt input.
Size limits & quotas
Generate PDFs just under and just over your limit using the target-size control.
Email & attachment flows
Realistic-looking attachments for testing send limits, virus-scan pipelines, and storage handling.
PDF generator FAQ
How does the target file size work?
The generator builds the document from your content settings first, then pads the PDF’s internal structure until the file lands close to the requested size. The result stays a valid, openable PDF — the padding is invisible to readers.
Will the broken PDFs open in a reader?
Mostly no — that’s the point. A corrupt-header file is rejected immediately by almost everything. A truncated file fails partway through parsing. An invalid-xref file may partially open in lenient readers and fail in strict ones, which makes it the most interesting test case of the three.
How many pages can I generate?
Page count follows from the number of sections (up to 50) and the content theme. If you need a specific page count, generate, check, and adjust the section count — or use the target file size if what you really need is a specific size.