ReadAnyDoc: open-source document parsing and intelligent document processing (IDP) for LLMs, a Reducto alternative. Parses PDFs, scans and forms into Markdown, tables and typed data with a citation for every value. Claude Haiku or any model. Python library, MCP server, Reducto-compatible API.
Reducto, but open source. ReadAnyDoc is open-source document parsing for LLMs, a Reducto alternative: parse and extract documents with vision models, on your own machine and your own model account. Reducto-compatible, built by Unmute. Website: https://readanydoc.com/
The name is one word, ReadAnyDoc (PyPI: readanydoc). It is not AnyDoc, Firecrawl's anydoc or Read AI;
those are unrelated projects.
Head to head: ReadAnyDoc vs Reducto (85.4 against 80.9 on olmOCR-bench, about a third of the price, and where Reducto still wins).
ReadAnyDoc reads every page of a PDF, scan, photo or Office file with a vision model (Claude Haiku 5.5 by default) and returns typed blocks, tables, Markdown, or the fields of your schema, each with the place on the page it came from. Around the model sits an engine that adds what a model alone does not give you: block types and positions, form fields, headers and footers, table checks, word-level citations. It runs as a Python library or as a server that speaks Reducto's HTTP API, so existing Reducto integrations work by changing one URL.
import readanydoc
result = readanydoc.parse("invoice.pdf")
print(result.markdown)

A real document, unedited: the US government's sample Loan Estimate, extracted in one call for about 1 cent. All 11 fields are right, and every box is a citation ReadAnyDoc returned. A yes/no answer that is not printed as one word is marked low confidence instead of pretending. A faded 1904 invoice is in the same folder: examples/showcase. If it looks useful, ⭐ star the repo.
Small projects to copy from:
invoice-to-json-with-citations (an invoice to JSON,
with the box each value was read from) and
bank-statement-to-csv (a statement to CSV, with the running
balance checked row by row). Two short recipes:
PDF to RAG chunks with page numbers and
a folder of PDFs with a budget cap.
For LangChain there is langchain-readanydoc.
On accuracy and price, yes on most of what we measured; on speed, no.
Same documents and same requests to both, scored by each benchmark's own grader. Full head-to-head: ReadAnyDoc vs Reducto.
ReadAnyDoc against Reducto on public benchmarks (olmOCR-bench with 0.4.7, OmniDocBench with 0.4.8, the others with 0.4.5), same documents and same requests, every score from the benchmark's own grader or from code (no AI judge). Details, per-document scores and caveats: BENCHMARKS.md.
Scores change between versions. This table is as of 4 December 2026 (version 0.4.12). If you are reading an older copy of this page, such as an earlier version's page on PyPI, the current numbers are at readanydoc.com/docs/resources/benchmarks.
Parsing
| Benchmark | Reducto | ReadAnyDoc |
|---|---|---|
| olmOCR-bench, overall (1,403 pages) | 80.9 | 85.4 |
| OmniDocBench, text error, lower is better (1,651 pages) | 0.095 | 0.050 |
| OmniDocBench, layout: block types right | 84.6% | 83.4% |
| RD-TableBench (1,000 tables) | 88.85 | 88.84 |
| FUNSD, form question/answer pairs (199 forms) | 78.6 | 77.4 |
| Cost per page | $0.010 | $0.003-0.005 |
Extraction (share of the answer key found, cost per document)
| Test set | Reducto | ReadAnyDoc |
|---|---|---|
| Long reports, table rows (LongExtract, 6 documents) | 9.1%, $1.02 | 56.4%, $0.44 |
| 10-Q and 10-K filings (ExtractBench, 5) | 48.9%, $1.24 | 79.1%, $0.34 |
| Research pa |
Benchmark a second model (GPT or a self-hosted vision model)
https://github.com/arpitpatel25/ReadAnyDoc/issues/8
Labels: help wanted
Haystack integration: a ReadAnyDoc converter
https://github.com/arpitpatel25/ReadAnyDoc/issues/7
Labels: enhancement, help wanted
MCP server: accept https URLs as well as local paths
https://github.com/arpitpatel25/ReadAnyDoc/issues/6
Labels: enhancement, help wanted
LangChain / LlamaIndex: load a whole folder or glob
https://github.com/arpitpatel25/ReadAnyDoc/issues/5
Labels: enhancement, good first issue
CLI: accept a pydantic class for --schema (module:Class)
https://github.com/arpitpatel25/ReadAnyDoc/issues/4
Labels: enhancement, good first issue
Use-case page: purchase orders and shipping documents
https://github.com/arpitpatel25/ReadAnyDoc/issues/3
Labels: documentation, good first issue
Thanks for helping. Issues and pull requests are welcome.
git clone <this repo> && cd readanydoc
uv sync --extra engine # Python 3.12; installs the dev tools too
uv run pytest -q # about 900 tests, no network, no API key needed
About 160 tests skip without the cached benchmark data (READANYDOC_SPIKE_DIR, READANYDOC_REFERENCE_DIR); that is
expected. Tests never call a model provider: they use recorded outputs and fake HTTP.
| Path | What |
|---|---|
readanydoc/library.py | readanydoc.parse and readanydoc.extract |
readanydoc/profiles.py | the two shipped profiles, engine and model-only |
readanydoc/pipeline/ | the stages: intake, triage, layout, read, verify, ground, assemble, shape |
readanydoc/readers/ | model adapters (Anthropic, OpenAI, OpenAI-compatible) and the model spec grammar |
readanydoc/tasks/ | extract, split, classify, edit |
readanydoc/api/ | the Reducto-compatible server, jobs, storage, webhooks |
research/ | benchmark scripts, experimental profiles, the research log |
tests/test_pipeline.py fails when a
shipped profile changes, on purpose: update it together with the numbers.research/ as a new profile, not as a flag on a shipped one.Ask questions, propose ideas and share what you built in GitHub Discussions. Issues are for bugs and concrete feature requests.
Include the ReadAnyDoc version, the mode and model, the command or code you ran, and what you expected. If you can, attach a page that shows the problem (only documents you are allowed to share). Security problems: see SECURITY.md, not a public issue.