Pick a file
- Smallest useful file, about 2 KB, one page
/pdf/Sample+Document.pdf - Two pages, for testing a page-turn control
/pdf/Two+Page+Sample.pdf?pages=2 - Ten pages, enough to scroll through
/pdf/Ten+Page+Sample.pdf?pages=10 - Twenty pages, the maximum, around 25 KB
/pdf/Twenty+Page+Sample.pdf?pages=20 - US Letter instead of A4, for North American layouts
/pdf/Letter+Size+Sample.pdf?size=letter - Legal size, the long one
/pdf/Legal+Size+Sample.pdf?size=legal - Forced download, never opens in the viewer
/pdf/Download+Test.pdf?download=1 - Long filename, for testing truncation in a file list
/pdf/Consolidated+Statement+Of+Financial+Position+Year+Ended+March.pdf
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.