Sample .pdf (PDF) Test Files & Edge Cases
Deterministic Portable Document Format (ISO 32000) fixtures engineered for automated unit tests, parser fuzzing, and upload validation pipelines. Pull directly in GitHub Actions with immutable SHA-256 verification.
minimal-1page.pdf
Real single-page PDF generated by reportlab and parseable by pypdf.
curl -fsSL https://fileformat.co/fixtures/v1/pdf/minimal-1page.pdf -o minimal-1page.pdf \
&& echo "3d510c3e24ce7b489b9861769c0643c75e13c5364754a752186baaf68546a0d7 minimal-1page.pdf" | shasum -a 256 -crag-two-column-financial-table.pdf
Real 2-page reportlab PDF with financial Table cells, heading hierarchy and rule lines for RAG extractor benchmarking.
curl -fsSL https://fileformat.co/fixtures/v1/pdf/rag-two-column-financial-table.pdf -o rag-two-column-financial-table.pdf \
&& echo "d547e41d47d805961980567b9776216f65f3744ea2906789dfa6bb629c40569a rag-two-column-financial-table.pdf" | shasum -a 256 -cbenign-js-dictionary-canary.pdf
Real reportlab PDF with an inert /JavaScript name tree added via pypdf (FILEFORMAT_CO_BENIGN_TEST_MARKER) for security scanner verification.
curl -fsSL https://fileformat.co/fixtures/v1/pdf/benign-js-dictionary-canary.pdf -o benign-js-dictionary-canary.pdf \
&& echo "dc38f4be9c4ba992b60254dab44878c1c111e7d7bd06169e6a3836a48850cfc3 benign-js-dictionary-canary.pdf" | shasum -a 256 -cIn-Browser Edge-Case & Malformed Fixture Mutator
Need negative test fixtures for parser fuzzing or upload gateway validation? Mutate minimal-1page.pdf directly in your browser without hosting unsafe payloads on public URLs.
Tests graceful EOF / footer corruption handling without process panic or OOM.