Docling vs Unstructured
Both are alternatives to AWS Textract. Here's how they stack up — verified facts, no spin.
Also searched as Unstructured vs Docling — same comparison, one verdict.
Docling
TOP PICKIBM's document converter. Layout-aware PDF to clean Markdown, MIT.
Docling parses PDFs, Office documents, images and HTML into a structured representation that preserves reading order, tables, figures and headings, then exports to Markdown or JSON. It uses purpose-trained layout and table models rather than heuristics, which is why it holds up on multi-column academic papers and financial statements where simpler extractors interleave columns into nonsense. It integrates directly with LlamaIndex and Haystack, is MIT licensed, and runs entirely locally including on CPU.
Unstructured
One interface for every document format you will actually be handed.
Unstructured normalises an unusually wide range of inputs — PDF, Word, PowerPoint, Excel, HTML, email, EPUB, images — into a consistent element structure of titles, narrative text, tables and lists, ready for chunking. Breadth is the point: real corpora are never one format, and writing a parser per type is where ingestion projects stall. The open library is Apache-2.0 and runs locally; the company also sells a hosted API with additional models.
Side by side
| Docling | Unstructured | |
|---|---|---|
| Sovereignty Score | 94 | 90 |
| Open source | Yes | Yes |
| Self-hostable | Yes | Yes |
| Local-first | Yes | Yes |
| License | MIT | Apache-2.0 |
| Pricing | Free, MIT. Runs on your own hardware, CPU or GPU. | Open library free under Apache-2.0; a paid hosted API is offered separately. |
Docling is Macrostack's recommended AWS Textract alternative, so it's our pick here.
Docling
Strengths
- +Layout-aware — preserves reading order, tables and structure
- +Outputs clean Markdown/JSON that drops into a RAG pipeline
- +Direct integrations with LlamaIndex and Haystack
- +MIT, fully local, no per-page cost
Trade-offs
- −Slower per page than cloud OCR on very large batches
- −Handwriting support is weak compared with Textract
- −No specialised invoice or receipt models
Unstructured
Strengths
- +Widest input-format coverage of anything here
- +Consistent element output regardless of source format
- +Chunking strategies built in for RAG pipelines
- +Apache-2.0 open library
Trade-offs
- −Best-quality models sit in the paid hosted tier
- −Local install pulls in heavy system dependencies
- −Depth on complex PDFs is below Docling's
Related alternative guides
Facts verified 2026-08-11. Licenses and pricing change — spotted something out of date? That's a correction we want.