Sample PDF Generator (Dummy PDF File Creator)

Generate and download a sample PDF filled with placeholder text right in your browser, just by choosing a page count and paper size. Handy for testing PDF upload features or checking print layouts.

Supported paper sizes

Name Size (mm)
A4 210 × 297 mm
A5 148 × 210 mm
B5 (JIS) 182 × 257 mm
US Letter 215.9 × 279.4 mm
US Legal 215.9 × 355.6 mm

Five sizes are supported: A4, A5, B5 (JIS), US Letter, and US Legal.

What a sample PDF is

A sample PDF is a file for testing that satisfies only one requirement — that it be a PDF — and carries no meaning in its contents. To check that an upload works, that page navigation behaves as expected, or how a page comes out in print, there is no need to reach for a real document. Using a real one, indeed, risks letting information that must not leave the organisation slip into a test environment.

Give this tool a page count and a paper size and it builds a dummy PDF on the spot and saves it. The count runs from 1 to 20, and the paper may be A4, A5, B5 (JIS), US Letter or US Legal. The body text is the customary filler used for checking layout (Lorem Ipsum) and means nothing as prose. Everything is generated inside the browser; neither what you enter nor the finished PDF is sent to a server.

How to make a sample PDF

  1. Settle the page count Choose anything from 1 to 20. When you mean to exercise behaviour across several pages, erring on the generous side makes it easier to see.
  2. Choose the paper size Take A4, A5, B5 (JIS), US Letter or US Legal, according to the printing you have in mind or the party you are submitting to.
  3. Generate and download Press the button and the PDF is built and saved straight to your machine. The work happens on your device alone.
  4. Exercise what you meant to test Upload the file, open it in a viewer, and put the behaviour you wanted to check to the actual test.

Tips for getting more out of it

  • Because the PDF is built entirely in your browser, the page count and paper size you enter are never uploaded to a server.
  • Use it as a realistically sized dummy PDF when testing an upload feature or previewing a print layout.
  • You can generate up to 20 pages at once, which is plenty for testing scroll behavior or multi-page rendering.
  • The body text is standard placeholder filler (Lorem Ipsum) meant purely for layout checks — it carries no real meaning.
  • Choose from A4, A5, B5 (JIS), US Letter, or US Legal depending on which layout you need to verify.

Where a sample PDF helps

Checking an upload feature

Try the accepted extensions, the limit on file size and the handling of several files at once, without a real document. Nothing confidential is left behind in a test environment.

Exercising multi-page handling

Page navigation, a thumbnail list, a page counter — none of these can be properly tested with a single-page file. Vary the page count and watch how they behave.

Comparing the page across paper sizes

A4 and US Letter differ in proportion, so the same design leaves different margins. Making both and setting them side by side brings the difference out.

Standing in for a PDF in a design comp

It serves as the placeholder file where “a PDF goes here”. Since the contents mean nothing, there is no harm in showing it to anyone.

When you want to work on a real PDF

Reordering and merging pages is done in the PDF organiser, and making a file lighter in PDF compression. For the paper dimensions themselves, see the paper size table.

Terms used with sample PDFs

PDF
Short for Portable Document Format, a document format built so that a page holds its layout whatever the viewing environment. It is widely used for handing printed matter about.
Lorem Ipsum
Latin-looking filler text, deliberately altered so as to carry no meaning. Because the reader is not drawn into the content and can look only at arrangement and texture, it has long served for checking a page.
A and B series paper
The paper standards used in Japan. A4 belongs to the international standard (ISO 216); B5 follows the JIS dimensions particular to Japan, which differ in size from the international B series.
US Letter and US Legal
The paper sizes standard in North America. Letter is a little shorter and wider than A4, and Legal is that shape stretched further lengthways.
Dummy file
A file prepared purely for testing, with nothing meaningful inside. It is the means by which production data need never be carried into a test environment.
Glyph
The shape a font holds for a character. The standard fonts of PDF-generating libraries carry no glyphs for Japanese, Chinese or Korean, which is why the body text here is in the Latin alphabet.

Frequently asked questions

It's useful whenever you need to test PDF handling without a real document on hand — verifying an upload feature, checking a print layout, or using it as a placeholder file in a design mockup. Since the generated file has no meaning beyond its page count and paper size, there's no risk of accidentally including sensitive information.

This tool focuses purely on quickly producing a dummy PDF for testing, so it doesn't include a text-editing feature. If you need specific wording, open the generated file in a dedicated PDF editor afterward.

The standard fonts built into PDF-generation libraries don't include glyphs for Japanese, Chinese, or Korean characters, so that text wouldn't render correctly. Using the classic Lorem Ipsum placeholder, a convention borrowed from the print and design industry, guarantees the text displays correctly in every environment.

You can generate anywhere from 1 to 20 pages, which is enough to test scrolling behavior and page-turning in a multi-page PDF viewer.
Tool-kun

Side Note — Why "Lorem Ipsum" Refuses to Go Out of Style

Lorem Ipsum, the go-to filler text whenever someone just needs "something in there" for a web page or print layout, actually traces back more than 2,000 years to a passage from Cicero's "De Finibus Bonorum et Malorum," scrambled just enough that it no longer reads as coherent Latin. Because it's deliberately stripped of meaning, readers never get distracted by the words themselves — letting designers focus purely on layout, which is exactly why it has remained the placeholder of choice for so long.

The text became an industry standard in the 1960s after the typesetting company Letraset used it in its sample sheets, and it exploded in popularity once desktop-publishing software like PageMaker adopted it as the default dummy text. Today, Lorem Ipsum still shows up everywhere from web mockup tools to PDF-generation libraries as shorthand for "meaningless placeholder text."

The PDF this tool generates follows that same tradition, filling its body with Lorem Ipsum-style text rather than anything meant to be read. By playing the role of pure filler, it lets the resulting file keep the spotlight exactly where it belongs — on the page count and layout you actually came here to test.