# Docling

> Open-source Python toolkit that converts PDFs, Office files, emails and more into structured Markdown or JSON, with OCR.

Source: https://osinttools.io/tools/docling/ (Markdown view of an OSINTtools.io page; append `.md` to any page URL for this format).

- **Inputs:** File
- **Category:** Documents and metadata
- **Pricing:** Free, open source
- **Footprint:** passive (does not contact the target)
- **Account required:** no
- **API:** no public API
- **Platforms:** Python library · CLI
- **Website:** https://docling-project.github.io/docling/
- **Source code:** https://github.com/docling-project/docling
- **GitHub:** docling-project/docling, 71,128 stars · Python · MIT · last commit 2026-11-26
- **Listed:** Nov 27
- **Last verified by an editor:** Nov 27, 2026

## What it does

Docling parses a wide range of document formats, including PDF, DOCX, PPTX, XLSX, HTML, EML and MSG email files, images and audio, into a unified document model. It understands PDF layout, reading order and table structure, runs OCR on scans, and exports to Markdown, HTML or lossless JSON. It runs locally and has a CLI, an API server and an MCP server.

Investigators working with large document dumps use it to turn mixed files into clean, searchable text and tables, for example before loading them into a search index or an AI assistant, without sending sensitive material to a third party.

Footprint is passive: it reads its own index or third-party records and does not contact the target. No account is needed. There is no public API.

## Features

- Many input formats including email files
- PDF layout and table structure recognition
- OCR for scanned pages
- Markdown, HTML and JSON export
- Metadata extraction
- CLI, API server and MCP server

## Pros

- Runs locally for sensitive files
- Strong table and layout handling
- Very active project with a permissive licence

## Cons

- Needs Python 3.10+ and can be heavy on resources
- Aimed at developers rather than point-and-click users
- Results on poor scans still need checking

## When to use it

- Use it when you need to turn a folder of mixed documents into searchable text.
- Use it when you want tables in PDFs extracted with their structure intact.

## Quick start

pip:

```
pip install docling
docling https://arxiv.org/pdf/2206.01062
```

## Alternatives

- [Agent Ransack](https://osinttools.io/tools/agent-ransack/): Windows desktop search tool that finds text inside files and Office documents with Boolean queries and regular expressions. (Freemium · File · passive)
- [DocumentCloud](https://osinttools.io/tools/documentcloud/): MuckRock platform for uploading, OCRing, annotating, redacting, searching and publishing primary-source documents. (Freemium · File · passive · 54 GitHub stars)
- [Google Pinpoint](https://osinttools.io/tools/google-pinpoint/): Google Journalist Studio tool for searching large document, audio and image collections with OCR, transcription and entity extraction. (Free · File · passive)
- [MediaInfo](https://osinttools.io/tools/mediainfo/): Open-source tool from MediaArea that shows technical and tag metadata for video, audio and image files. (Open source · File · passive · 2,079 GitHub stars)
- [WhatsApp Backup Reader](https://osinttools.io/tools/whats-reader/): Offline desktop and web app for reading WhatsApp chat exports, with media gallery, search, bookmarks and voice transcription. (Open source · File · passive · 279 GitHub stars)
- [ripgrep-all (rga)](https://osinttools.io/tools/ripgrep-all/): Command-line search that extends ripgrep into PDFs, Office files, e-books, SQLite, archives and video subtitles. (Open source · File · passive · 9,944 GitHub stars)

All alternatives to Docling in one table: https://osinttools.io/tools/docling/alternatives/

---

Listings on OSINTtools.io are reviewed by editors and re-verified on a schedule; check pricing and availability on the vendor's site before relying on them, and use OSINT tools only with a lawful basis.
Site index for agents: https://osinttools.io/llms.txt · Full catalog: https://osinttools.io/llms-full.txt · MCP server (Streamable HTTP, no auth): https://osinttools.io/mcp/
