# Sample PDF files for testing, free, CC0 and hotlinkable

14 PDF test files from 586 B to 9.9 MB: form fields, encrypted, scanned (no text layer), table, images, 10 pages. Direct URLs, SHA-256 per file, CC0.

The page: <https://loremfile.dev/pdf>.

`pdf/scanned-1page.pdf` is one page of image with 0 characters of text, so extraction returns
an empty string and a pipeline that expects text from every PDF needs OCR for it.
`pdf/form-fields-1page.pdf` has 6 form fields, 3 of them filled, for form extraction and
filling. `pdf/a4-encrypted-1page.pdf` is encrypted, PDF 1.5, and opens with the password
loremfile, published so the test can pass.

`pdf/a4-landscape-1page.pdf` measures 841.89 by 595.28 points and `pdf/letter-1page.pdf` 612 by
792: a renderer that assumes A4 portrait crops both. `pdf/blank-1page.pdf` is a valid page with
nothing on it, and `pdf/minimal.pdf` is the smallest valid PDF here at 586 bytes, for parsers
that must not crash on the minimum.

`pdf/a4-with-table-1page.pdf` holds a table and `pdf/a4-with-images-2pages.pdf` 2 pages that
embed images, for extractors that must keep structure and pull pictures out.
`pdf/a4-1page.pdf`, `pdf/a4-3pages.pdf` and `pdf/a4-10pages.pdf` are 1, 3 and 10 pages of text,
for page counting. `pdf/1mb.pdf` and `pdf/10mb.pdf` are 976,137 and 9,924,917 bytes over 4 and
42 pages, for upload limits.

## Files

| Path | Size | MIME | Properties |
|---|---|---|---|
| [`pdf/10mb.pdf`](https://loremfile.dev/pdf/10mb.pdf) | 9.9 MB (9,924,917 bytes) | `application/pdf` |  |
| [`pdf/1mb.pdf`](https://loremfile.dev/pdf/1mb.pdf) | 976.1 KB (976,137 bytes) | `application/pdf` |  |
| [`pdf/a4-10pages.pdf`](https://loremfile.dev/pdf/a4-10pages.pdf) | 11.2 KB (11,246 bytes) | `application/pdf` |  |
| [`pdf/a4-1page.pdf`](https://loremfile.dev/pdf/a4-1page.pdf) | 1.8 KB (1,795 bytes) | `application/pdf` |  |
| [`pdf/a4-3pages.pdf`](https://loremfile.dev/pdf/a4-3pages.pdf) | 4.4 KB (4,351 bytes) | `application/pdf` |  |
| [`pdf/a4-encrypted-1page.pdf`](https://loremfile.dev/pdf/a4-encrypted-1page.pdf) | 1.9 KB (1,875 bytes) | `application/pdf` |  |
| [`pdf/a4-landscape-1page.pdf`](https://loremfile.dev/pdf/a4-landscape-1page.pdf) | 1.7 KB (1,682 bytes) | `application/pdf` |  |
| [`pdf/a4-with-images-2pages.pdf`](https://loremfile.dev/pdf/a4-with-images-2pages.pdf) | 27.5 KB (27,542 bytes) | `application/pdf` |  |
| [`pdf/a4-with-table-1page.pdf`](https://loremfile.dev/pdf/a4-with-table-1page.pdf) | 2.1 KB (2,059 bytes) | `application/pdf` |  |
| [`pdf/blank-1page.pdf`](https://loremfile.dev/pdf/blank-1page.pdf) | 966 B | `application/pdf` |  |
| [`pdf/form-fields-1page.pdf`](https://loremfile.dev/pdf/form-fields-1page.pdf) | 5 KB (4,999 bytes) | `application/pdf` |  |
| [`pdf/letter-1page.pdf`](https://loremfile.dev/pdf/letter-1page.pdf) | 1.9 KB (1,860 bytes) | `application/pdf` |  |
| [`pdf/minimal.pdf`](https://loremfile.dev/pdf/minimal.pdf) | 586 B | `application/pdf` |  |
| [`pdf/scanned-1page.pdf`](https://loremfile.dev/pdf/scanned-1page.pdf) | 107 KB (107,030 bytes) | `application/pdf` |  |

The same list as JSON: <https://loremfile.dev/pdf/index.json>.
