pdf
What is a .pdf file?
application/pdf
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 a .pdf file
Use an example PDF to test text extraction, rendering, page-count and metadata parsing, form-field handling, and conversion or OCR pipelines.
Download example .pdf files
- Simple 1-Page PDFA single-page PDF with a title and body text — the simplest valid document for testing PDF viewers, parsers, and text extraction. Paired with an image-only scanned twin for OCR testing.
- 10-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.
- Fillable Form (AcroForm)A one-page PDF with a six-field AcroForm (full_name, email, phone, date, subject, comments) — a fixture for testing form fillers, parsers, and field extraction.
- Image-Only 'Scanned' PDF (OCR twin)An image-only PDF containing a rasterised 'scan' of the simple document, with no text layer. Paired with the text version so you can score OCR output against a known ground truth.
- Tables PDFA PDF containing a 12-row, 5-column table — for testing table extraction and layout parsing.
- Landscape PDFA landscape-orientation PDF — for testing whether your viewer or converter respects non-portrait page geometry.
- 50-Page PDF (text-light)A 50-page, text-light PDF — for testing page-count handling, pagination, and large-document navigation without a large file.
- Intentionally 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.
and 8 more in the library.