DataBrighten

    Sample PDF files

    7files · 115 KB in all · CC0

    PDF files that open in any reader and behave predictably: a plain one-page file, 10- and 100-page files with page numbers, an A4 invoice with a table, a page with an embedded image, a fillable form and a password-protected file. Free, no sign-up. Updated 19 November 2026.

    textnumberdateyes/no
    Files7to download
    Total size115 KBall files
    Format.pdfapplication/pdf
    LicenceCC0use for anything

    What these files are

    PDF files that open in any reader and behave predictably: a plain one-page file, 10- and 100-page files with page numbers, an A4 invoice with a table, a page with an embedded image, a fillable form and a password-protected file.

    The invoice's 12 line totals add up to 4,604.34, the total printed on the page, so you can test that a text extractor reads the numbers correctly.

    Every file was generated by our own code, so nothing in them is copied from anyone, and we release them under CC0: use them for anything. The facts in the table were read back from each file after it was written, not typed in by hand.

    About the format

    PDF (Portable Document Format) was created by Adobe and is now the ISO 32000 standard. A file starts with %PDF- and a version number and ends with %%EOF; in between are numbered objects and a cross-reference table that tells a reader where each object starts, which is why a truncated PDF usually fails to open. Page size is given in points, 72 to the inch: US Letter is 612 × 792 and A4 is 595 × 842.

    These files open in web browsers, Adobe Acrobat Reader and macOS Preview. A web server should send them with the header Content-Type: application/pdf.

    7 files to download

    FileSizeWhat it is
    sample-1-page.pdf2 KB1 page, US Letter, text only
    pages: 1; page size: 612 × 792 pt; form fields: 0; encrypted: no; pdf version: PDF-1.3
    sample-10-pages.pdf14 KB10 pages, US Letter, page numbers in the footer
    pages: 10; page size: 612 × 792 pt; form fields: 0; encrypted: no; pdf version: PDF-1.3
    sample-100-pages.pdf81 KB100 pages, US Letter, for load and paging tests
    pages: 100; page size: 612 × 792 pt; form fields: 0; encrypted: no; pdf version: PDF-1.3
    sample-invoice-a4.pdf2 KB1 page, A4, a fictional invoice with a 12-line table
    pages: 1; page size: 595 × 842 pt; form fields: 0; encrypted: no; pdf version: PDF-1.3
    sample-with-image.pdf6 KB1 page, US Letter, text plus an embedded PNG chart
    pages: 1; page size: 612 × 792 pt; form fields: 0; encrypted: no; pdf version: PDF-1.3
    sample-fillable-form.pdf8 KB1 page with 3 text fields and 1 checkbox (AcroForm)
    pages: 1; page size: 612 × 792 pt; form fields: 4; encrypted: no; pdf version: PDF-1.3
    sample-password-protected.pdf2 KB1 page, encrypted (RC4 128-bit, PDF standard security); open password: databrighten
    pages: 1; page size: 612 × 792 pt; form fields: 0; encrypted: yes; pdf version: PDF-1.3

    MIME type: application/pdf. Total 115 KB.

    Good for testing

    • Upload forms that accept PDF and check page count or size
    • PDF viewers, thumbnailers and text extraction
    • Form-filling code (the fillable file has 3 text fields and a checkbox)
    • Error handling when a file needs a password

    Check a file

    pdfinfo sample-10-pages.pdf
    python -c "from pypdf import PdfReader; print(len(PdfReader('sample-10-pages.pdf').pages))"

    Compare the SHA-256 checksum to make sure the download is complete and unchanged (sha256sum file on Linux, shasum -a 256 file on macOS, certutil -hashfile file SHA256 on Windows):

    FileSHA-256
    sample-1-page.pdfb656d5cba8cdcabe95a434d9f62521054f6e3c2f416fb008fd628d22cf40aac0
    sample-10-pages.pdfe098643ccb9129931ece0cc86ae00601cd75b7e3016cf41ffe1e05459f2e599c
    sample-100-pages.pdf78790db687f58e35a1af95bec90bd360efe196b8f7a606e53ce263caf72aeb2f
    sample-invoice-a4.pdf892ebc9e86b56bdb0adaaf0493fdfd8f965057199c6be267ea0ca1ab26eef1fb
    sample-with-image.pdf4fa605e953e3225bfc4fb98a83c68183acf170f25732c44d6c5c3e04b36cc8cd
    sample-fillable-form.pdfcf4f8a2031e75bacddb06b46be45d9bc541fd42dd9cfc1c676f9f50184e45090
    sample-password-protected.pdfdc7730c23c23ce44cf6615a48550ff76836bedade4e72447ac40059fca7e27bc