title: Open-source
Unstructured alternatives in 2026 for parsing documents
description: Open-source alternatives to Unstructured.io for parsing PDFs, scans and Office files: ReadAnyDoc,
Docling, Marker, MinerU, MarkItDown and Apache Tika, with licence, GPU needs, cost and public benchmark scores. Which to pick for RAG, tables and scans.
Unstructured alternatives, open source¶
Unstructured's free library is not its best parser. The vision-model strategy that handles scans and hard layouts is on the hosted API at $0.030 a page (unstructured.io/pricing). These alternatives are open source all the way down.
We make ReadAnyDoc, one of the tools on this list, so read it the way you would read any vendor's list: the table gives the same facts for every row, ours included, and says where each number comes from. Last checked: 1 December 2026.
At a glance¶
| Tool | Licence | Reads pages with | GPU needed | Cost per page | Typed extraction with citations | |
|---|---|---|---|---|---|---|
| Unstructured (library) | Apache-2.0 | local models and OCR | no | free | no (elements for chunking) | not published |
| ReadAnyDoc | Apache-2.0 | a vision LLM you choose, plus local layout and OCR | no | about $0.003-0.005 to your model provider | yes | 85.4, measured by us |
| Docling | MIT | local layout, table and OCR models | no, faster with one | free | no | not published |
| Marker | Apache-2.0 code; weights free under $5M funding or revenue | local models, optional LLM | recommended | free | no | 76.1, published by the benchmark's authors |
| MinerU | Apache-2.0 with extra terms | local pipeline or its own 1.2B vision model | recommended | free | no | 75.2, published by the benchmark's authors |
| MarkItDown | MIT (Microsoft) | text layer and file converters; OCR only with a plugin and an LLM | no | free | no | not published |
| Apache Tika | Apache-2.0 | text extraction from a thousand file types | no | free | no | not published |
Scores from different sources are not a ranking. olmOCR-bench is 1,403 pages of hard PDFs scored by unit tests.
Decide what you are replacing¶
- The partitioner (PDF into text and tables): any tool here.
- The pipeline (connectors to S3, SharePoint, vector stores, scheduling): nothing here replaces that. Keep
Unstructured for moving files and swap only the reader, or use a framework such as
LlamaIndex or LangChain.
1. ReadAnyDoc: best when the hard pages matter¶
A vision model reads every page, so scans, multi-column pages, handwriting and dense tables come out right, and extraction into your own schema returns a citation for every value. No GPU. About $0.003-0.005 a page, paid to your model provider. Ships LangChain and LlamaIndex loaders. Weak spots: pages go to a model provider unless you host the model; 20-50 seconds a page; no connectors.
2. Docling: best fully local default¶
MIT, no GPU required, good layout and tables on digital documents, an active project. Weak spots: hard scans and handwriting.
3. MinerU and Marker: best with a GPU¶
Fast local conversion; MinerU is strong on scientific papers and formulas. Weak spots: GPU, and licence terms to read (MinerU's thresholds, Marker's model weights). Open-source parsers compared
4. MarkItDown and Apache Tika: best for plain text from many file types¶
Small, fast and dependable for digital files. Weak spots: no layout model, so tables and scans are where they stop.
How to test a switch¶
- Take 50 of your own worst documents, not a public sample.
- Run them through two candidates with default settings.
- Check the three things that break downstream work: tables, reading order on multi-column pages, text from scans.
- Compare cost for your real monthly volume, then decide.
Questions¶
What is the best open-source alternative to Unstructured? For hard documents and typed fields: ReadAnyDoc. For a fully local parser: Docling. For plain text from many file types: MarkItDown or Tika.
Is Unstructured open source? The library is (Apache-2.0). The hosted platform, where the vision-model strategy lives, is not.
Can I keep Unstructured's connectors and change only the parser? Yes. Parsing is one step; send the files it collects to another reader and keep the rest. ReadAnyDoc vs Unstructured