Comparisons

Docling vs. Unstructured

Docling is better as a free, self-hosted parser for complex PDFs and tables. Unstructured is better as a managed ingestion platform with 40+ connectors and compliance.

Last updated December 2026

Docling is the better choice for teams that want a free, MIT-licensed parser they run themselves, with strong layout and table understanding on PDFs and clean Markdown or JSON output. Unstructured is the better choice for teams that want a managed ingestion platform with 40+ source and destination connectors, per-page pricing and enterprise compliance, with an Apache 2.0 library behind it for local work.

We make Exabase, which appears as a short third option near the end. This is a neutral comparison of Docling and Unstructured, based on the Docling and Unstructured GitHub pages and the Unstructured pricing page, all checked on 4 December 2026.

Quick verdict

Choose Docling if you want to parse documents on your own hardware, including in air-gapped environments, care most about reading order and tables in complex PDFs, and are happy to build the rest of the pipeline yourself.

Choose Unstructured if you want a hosted service that pulls documents from sources such as SharePoint, S3 or Google Drive, parses and chunks them, and writes the result to a vector database, with SOC 2 Type 2 and HIPAA listed on its pricing page.

Consider Exabase if you want parsing, storage and search for an AI agent in one hosted API, so documents become searchable the moment they are stored.

Comparison table

Feature

Docling

Unstructured

What it is

Open-source document conversion library

Hosted ingestion platform plus open-source library

Licence

MIT

Apache 2.0 (library); platform is commercial

Maintainer

Started at IBM Research Zurich; hosted by the LF AI and Data Foundation

Unstructured (company)

Price

Free; you pay for your own compute

Library free; platform from $0.002 to $0.030 per page by strategy

Free allowance

Unlimited (self-hosted)

$150 one-time credit on the Personal plan

Input formats

PDF, DOCX, PPTX, XLSX, HTML, EPUB, images, audio, email, LaTeX and more

PDFs, Office documents, HTML, images, email, text; audio and video on the platform

Output

Markdown, HTML, JSON, DocTags

JSON elements; chunks and embeddings on the platform

Connectors

None built in; integrates with LangChain, LlamaIndex, CrewAI and Haystack

40+ sources and destinations on the platform

Deployment

Local, CLI, API server (docling-serve), MCP server

SaaS, marketplace listings, or your VPC on Business

Compliance

Your own environment

SOC 2 Type 2, ISO 27001, HIPAA and GDPR listed

GitHub stars

About 69,800

About 15,700 (library)

What each tool does

Docling is a Python library that converts documents into a single structured representation, the DoclingDocument, and exports it as Markdown, HTML, lossless JSON or DocTags. It was started by IBM Research Zurich and is now hosted by the LF AI and Data Foundation. Its focus is PDF parsing that keeps page layout, reading order, tables, code and formulas, with OCR for scans, optional vision language models such as GraniteDocling, and speech recognition for audio files. It runs locally, so documents never leave your machine.

Unstructured started as an open-source library that partitions documents into typed elements such as titles, narrative text, list items and tables. The company now sells a hosted platform on top: it connects to your sources, partitions and chunks the content, optionally embeds it, and writes the output to a destination such as Pinecone, Qdrant, Weaviate or Snowflake. The library remains free, and Unstructured’s own README says the hosted Transform API produces more accurate output than the library.

Both turn unstructured data into text an LLM can use. Docling is a parser. Unstructured, in its hosted form, is a data ingestion pipeline.

Parsing quality on PDFs

Docling’s strength is layout analysis of hard PDFs. It identifies reading order across columns, rebuilds table structure, recognises code blocks and formulas, classifies images, and converts bar, pie and line charts into tables. Its Markdown output keeps headings and tables in place, which makes it a common choice in the best open-source document parsers shortlists.

Unstructured’s library parses well on clean digital files and is weaker on complex layouts, which the company acknowledges: its README reports text accuracy of 0.878 for the hosted Transform API against 0.715 for the open-source library, on its own benchmark. The platform’s strategies span Fast (text from digital PDFs), Hi-Res (adds tables, layout and coordinates), VLM (for scanned and complex documents), and the newer Balanced and Best strategies.

For table extraction in particular, Docling’s free output is closer to the hosted Unstructured tiers than to the Unstructured library. Our post on tables in PDFs explains why tables are the hardest part.

Winner: Docling, among the free options; test the paid Unstructured strategies on your own documents before deciding.

File formats

Both read the common office formats. Docling’s list is long for a library: PDF, Word, PowerPoint, Excel, HTML, EPUB, Apple Pages, Numbers and Keynote, email, LaTeX, images, WAV and MP3 audio, and recently ODF files and video. The Unstructured library covers PDFs, Word, PowerPoint, HTML, XML, CSV, email and images through optional install extras, and the platform adds audio at $0.015 a minute and video at $0.045 a minute.

Winner: a tie, with Docling slightly broader in the free tier.

Output and chunking

Docling exports a document object you can serialise to Markdown, HTML or JSON, which suits teams that want to control chunking themselves or feed Markdown straight to a model; see JSON vs Markdown for LLMs. Its integrations with LangChain, LlamaIndex, CrewAI and Haystack make it a drop-in document loader.

Unstructured returns a list of typed elements with metadata (page number, coordinates, parent section), and both the library and the platform can chunk by section title, which keeps headings with their text. The platform can also embed the chunks, so the output arrives ready for a vector database.

Winner: Unstructured, for output that is ready to load into a RAG pipeline without extra code.

Connectors and orchestration

This is where the two differ most. Docling has no source or destination connectors: you fetch files, call the converter, and write the output wherever you like. Unstructured’s platform lists more than 40 connectors, including S3, Azure Blob, Google Drive, OneDrive, SharePoint, Confluence, Jira, Salesforce, Slack and Zendesk as sources, and Pinecone, Qdrant, Weaviate, MongoDB, Astra DB and Snowflake as destinations. It runs scheduled workflows, so new documents in a source are picked up and processed without a separate job runner.

Winner: Unstructured.

Deployment and privacy

Docling runs wherever Python runs, including air-gapped environments, and ships a CLI, an API server called docling-serve and an MCP server for agents. Nothing leaves your network unless you send it. Unstructured’s library runs locally too, but the platform is SaaS by default, with marketplace listings on AWS and Azure. Dedicated instances, in-VPC deployment on AWS, Azure or GCP, and bare metal are on the Business plan, where zero data retention also applies (excluding audio and video).

Unstructured lists SOC 2 Type 2, ISO 27001, HIPAA and GDPR on its pricing page. With Docling, compliance depends on the environment you run it in.

Winner: Docling for full control; Unstructured for buyers who need a vendor with certifications.

Pricing

Docling is free under the MIT licence. Its cost is compute: CPU is enough for many documents, while OCR, vision language models and large volumes run faster on a GPU.

The Unstructured library is free under Apache 2.0. The hosted platform is prepaid: the Personal plan gives a $150 one-time credit with no card, the Team plan is pay-as-you-go from a $50 balance with a shared workspace and role-based access, and the Business plan is custom. Per-page rates are $0.010 for Balanced (the default), $0.015 for Best, and on the legacy strategies $0.002 for Fast, $0.020 for Hi-Res and $0.030 for VLM. Processing 100,000 pages a month would cost about $1,000 on Balanced or $3,000 on VLM. Our Unstructured pricing page has the detail.

Winner: Docling, if you have the engineering time to run it.

Who should choose Docling

Choose Docling if you want an MIT-licensed parser with strong layout and table handling, need to keep documents on your own infrastructure, or are building a pipeline in LangChain or LlamaIndex and only need the conversion step. It suits research teams, regulated environments that cannot send documents to a SaaS, and anyone processing large volumes where per-page fees add up.

Who should choose Unstructured

Choose Unstructured if you want a managed pipeline from source to vector database, need connectors to enterprise systems, and prefer to buy SOC 2 and HIPAA from a vendor rather than build them. It also suits teams that started on the open-source library and want better accuracy without changing the element format.

A third option: Exabase

Exabase is infrastructure for AI agents. Its Extract API parses PDFs, Word documents, images, audio, video and web pages through one endpoint and returns text chunks with page numbers or timestamps, with a Markdown format option for prompts. Store a file as a Resource and it is indexed on arrival and searchable with Deep Search, so there is no separate chunking, embedding or vector database step. Each customer can have an isolated Base, and a Worker can re-extract documents when they change. Exabase is a hosted API, not open source, so teams that need to run a parser on their own hardware should look at Docling. See file extraction or the extraction guide.

How we compared

We read the Docling and Unstructured GitHub READMEs and the Unstructured pricing page on 4 December 2026. Prices are prepaid per page or per minute as listed. Accuracy figures for Unstructured are the company’s own. Cost examples are our calculations from list prices. We did not run our own parsing benchmark.

Frequently asked questions

Is Docling better than Unstructured?

Docling is better as a free parser for complex PDFs that you run yourself. Unstructured is better as a managed ingestion platform with connectors and compliance.

Is Docling free?

Yes. Docling is open source under the MIT licence. You pay only for the compute you run it on.

Is Unstructured free?

The open-source library is free under Apache 2.0. The hosted platform gives a $150 one-time credit, then charges per page from $0.002 to $0.030 depending on the strategy.

Who makes Docling?

Docling was started by IBM Research Zurich and is hosted by the LF AI and Data Foundation.

Which handles tables better?

Docling, among the free options. Unstructured’s hosted strategies close the gap; compare both on your own documents.

Can Docling read scanned PDFs?

Yes. Docling includes OCR for scanned PDFs and images, and can use vision language models such as GraniteDocling.

Does Unstructured connect to SharePoint and S3?

Yes, on the hosted platform, which lists more than 40 connectors, including SharePoint, S3, Google Drive and Confluence.

Can I use Docling with LangChain or LlamaIndex?

Yes. Docling lists integrations with LangChain, LlamaIndex, CrewAI and Haystack.

Can I self-host Unstructured?

The library runs anywhere. The platform runs in your own VPC or on bare metal on the Business plan.

How do I move from the Unstructured library to Docling?

Swap the partition call for Docling’s converter, export to JSON or Markdown, and map Docling’s headings, paragraphs and tables to the element types your code expects. Re-run your chunking and compare retrieval on a sample set.

Is Exabase an alternative to Docling and Unstructured?

For teams that want extraction, storage and search in one hosted API, yes. For self-hosted parsing, Docling fits better; for a connector-led pipeline into an existing vector database, Unstructured does.

Related pages: Docling alternatives, Unstructured alternatives, Exabase vs Docling, Exabase vs Unstructured, LlamaParse vs Unstructured, Reducto vs Unstructured, Docling vs Marker, LlamaParse vs Docling, Best PDF parser, Document extraction use case

Compare similar apps and tools:

LangGraph vs. OpenAI Agents SDK

CrewAI vs. AutoGen

n8n vs. Zapier

Relevance AI vs. Lindy

Temporal vs. Inngest

Inngest vs. Trigger.dev

E2B vs. Modal

E2B vs. Modal

E2B vs. Daytona

People Data Labs vs. Apollo

ScreenshotOne vs. Urlbox

Microlink vs. Iframely

AWS Rekognition vs. Google Cloud Vision

Twelve Labs vs. Mixpeek

Twelve Labs vs. Google Video Intelligence

ElevenLabs vs. Deepgram

Deepgram vs. Speechmatics

AssemblyAI vs. Gladia

Zyte vs. ScrapingBee

Bright Data vs. Oxylabs

Google Document AI vs. Azure Document Intelligence

Rossum vs. Nanonets

Mindee vs. Veryfi

Reducto vs. Extend

LlamaParse vs. Mistral OCR

LlamaParse vs. Docling

Bedrock Knowledge Bases vs. Vertex AI Search

Vectara vs. Ragie

LanceDB vs. Chroma

MongoDB Atlas vs. Pinecone

Weaviate vs. Milvus

Vespa vs. Elasticsearch

Algolia vs. Typesense

Typesense vs. Meilisearch

Elasticsearch vs. OpenSearch

LangMem vs. Zep

Vertex AI Memory Bank vs. AWS AgentCore Memory

AWS AgentCore Memory vs. Mem0

Letta vs. Cognee

Zep vs. Cognee

Bedrock Knowledge Bases vs. Azure AI Search

OpenAI file search vs. Pinecone

Docling vs. Unstructured

Azure Document Intelligence vs. Textract

Mistral OCR vs. Textract

Reducto vs. Unstructured

Apify vs. ScraperAPI

Firecrawl vs. ScraperAPI

turbopuffer vs. Pinecone

pgvector vs. Qdrant

Chroma vs. Weaviate

Qdrant vs. Milvus

Letta vs. LangMem

Cognee vs. Mem0

Supermemory vs. Zep

CrewAI vs. LangGraph

LangChain vs. LlamaIndex

Whisper vs. Deepgram

Deepgram vs. AssemblyAI

Textract vs. Google Document AI

Docling vs. Marker

LlamaParse vs. Reducto

LlamaParse vs. Unstructured

Firecrawl vs. Apify

Firecrawl vs. Jina

LangMem vs. Mem0

Mem0 vs. Supermemory

Zep vs. Letta

Mem0 vs. Letta

pgvector vs. Pinecone

Mem0 vs. Zep

Milvus vs. Pinecone

Chroma vs. Qdrant

Weaviate vs. Qdrant

Pinecone vs. Qdrant

Pinecone vs. Chroma

Pinecone vs. Weaviate

Cut your token spend and give your agent precise context.

Get started in minutes.

Cut your token spend and give your agent precise context.

Get started in minutes.

Cut your token spend and give your agent precise context.

Get started in minutes.