Password-protected PDF (encrypted)
An encrypted PDF protected with the openly-published sample password “novus-sample” — printing is allowed, editing denied. A fixture for testing password-prompt handling, decryption, and permission flags. There is nothing secret inside.
application/pdf
- Pages
- 1
- Encryption
- PDF standard security
- User Password
- novus-sample
- Permissions
- print allowed, edit denied
Binary pdf — no in-browser preview. Download it above to open in a compatible application.
Specifications
- Pages
- 1
- Encryption
- PDF standard security
- User Password
- novus-sample
- Permissions
- print allowed, edit denied
What is a .pdf file?
PDF (Portable Document Format) is a page-oriented document format that preserves fixed layout, fonts, vector and raster graphics, and text across platforms. It can also embed forms, annotations, attachments, and digital signatures. It is the de facto standard for finished, print-ready documents.
How to use this file
Use an example PDF to test text extraction, rendering, page-count and metadata parsing, form-field handling, and conversion or OCR pipelines.
Code examples
import pdfplumber # pip install pdfplumber
with pdfplumber.open("password-protected.pdf") as pdf:
print(len(pdf.pages), "pages")
print(pdf.pages[0].extract_text())Related files
- pdfIntentionally Corrupt — Truncated PDFAn intentionally corrupt PDF, truncated to 60% of its bytes, for testing how a PDF parser handles a damaged file. Not a valid document by design.

- pdfSignature Block PDF (fillable)A one-page agreement with a signature line and fillable AcroForm fields for the signer's name and date. A fixture for testing form-field detection, filling, and signature-workflow tooling.

- pdf10-Page PDF with Bookmarked TOCA ten-page PDF with a table of contents and a full bookmark outline (10 entries) — for testing PDF navigation, outline parsing, and page extraction.

- pdf50-Page PDF (text-light)A 50-page, text-light PDF — for testing page-count handling, pagination, and large-document navigation without a large file.

- pdfAirline Boarding Pass (PDF)An airline boarding pass laid out as a landscape PDF — passenger, flight, gate, seat, PNR, and a decorative barcode strip. A fixture for testing document-layout parsing and field extraction. Synthetic; the barcode is decorative.

- pdfBank Statement (PDF)A one-page monthly bank statement — account summary and a dated transaction table with running balances. Synthetic data for testing PDF statement parsers, table extraction, and OCR.

Generated by generation/docs_realworld.py. Free for any use, no attribution required — license.