Get document loading right.
Route every page, trace every step and check what reaches your model.

complydoc reads your documents the way your pipeline does, and shows you what it got wrong.

complydoc runs on your machine, needs no account or API key, and is MIT licensed.
What happens to every document
Route
Each page goes to the cheapest reader that keeps its content.
Check
Rules find personal data, hidden text and instructions written to an AI.
Trace
The report records every page's text, findings, route and timing.
Close to a vision model, at less than half the cost
| Method | Tests passed | Per 1,000 pages |
|---|---|---|
| Unstructured auto | 56.9% | $0.00 |
| complydoc router | 75.0% | $0.28 |
| Vision model on every page | 77.2% | $0.64 |
- Text layer
- 69.2%
- Vision model, table with merged headers
- 12.1%
- Vision model, no text on the page
- 11.7%
- Vision model, mostly picture
- 4.8%
- Vision model, unreadable text
- 2.2%
See what your model receives
Two loaders read the same page differently
PyPDF reads each column in turn. PDFPlumber reads across both and mixes the clauses. Compare yours
master-services-agreement.pdf, page 2
- PyPDFLoader kept clause 1.1 whole
- PDFPlumberLoader split clause 1.1 with the other column
A CV with a hidden instruction
The line is set at half a point. complydoc finds it and says why. How hidden text is found
cv-data-engineer.pdf, as a person sees it and as the model reads it
Works with your existing loaders
Pass complydoc a loader, a folder or a list of documents.
Any loader with load(), load_data() or lazy_load() works, as does any callable that returns documents.
Run it on your own folder
complydoc blocks network access while it reads documents, and each report records that.
uv tool install complydoc complydoc audit ./documents complydoc ui





