Sample PDF files

Ready-made files for testing an upload form, a document viewer, or a download button. Each one is a valid PDF with a real cross-reference table, so anything that parses PDFs will accept it. Click to open, or right-click to save.

Pick a file

Why these are small

A one page file is roughly two kilobytes and the twenty page maximum is around twenty-five. That is because the documents are assembled directly as PDF objects using the standard built-in fonts, so nothing is embedded: no font programs, no images, no compression streams.

Small is usually what you want for testing. If you specifically need a large file to exercise an upload limit or a progress bar, these are the wrong samples and you will want a real document instead: something likepdf-lib will build one at whatever size you like.

Name the file whatever you like

The title in the URL becomes both the heading on page one and the download filename, slugged to lowercase with dashes. So/pdf/Signed+Contract+2026.pdf saves as signed-contract-2026.pdf. That matters more than it sounds when you are checking a downloads list and every file is otherwise called document.pdf.

Non-ASCII characters are stripped rather than transliterated, so accents will not survive the trip. Everything else you can change is on thehome page.