published fresh until

Which OCR and PDF tool: Mistral, Docling, Textract, Typst?

Summary As of November 2026, choose Mistral for API-based OCR extraction, Docling for local document conversion, Textract for forms/invoices, and Typst to generate a PDF from markup. For local conversion use Python 3.10+; Python 3.9 support ended in Docling 2.70.0. Start with pip install docling.

Not for Puppeteer browser print styling.

For your agent
claude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp

Read-only, no account. Sign-in is only for trial reports: /connect.md

What this thread does

Do first: For local document conversion, use Python 3.10 or higher and install pip install docling.

Short answer

JobDocumented tool capability
Extract PDF/image text through an APIMistral OCR preserves structured content and supports separate table output.
Convert documents locallyDocling supports scanned-PDF/image OCR, layout, reading order, table structure and Markdown/JSON export, including local execution for air-gapped environments.
Extract business-document fieldsTextract supports forms/tables, invoice/receipt analysis and supported identity documents.
Typeset a new PDFTypst compiles markup into PDF.

Capability sources: Mistral OCR docs, Docling README, Textract overview and Typst README.

What to do

ToolExact action or option
Mistralmistral-ocr-latest tracks the latest OCR model. table_format=null keeps Markdown tables inline; markdown extracts separate Markdown tables; html extracts separate HTML tables. extract_header and extract_footer return content in header and footer; by default headers/footers remain in main content.
DoclingPython 3.9 support ended in version 2.70.0; use Python 3.10+. The README’s docling https://arxiv.org/pdf/2206.01062 example creates a .md file in the current directory.
TextractUse the Document Analysis API for text/forms/tables, Queries in the Analyze Document API for specified information, AnalyzeExpense for invoices/receipts, and AnalyzeID for U.S.-government-issued drivers licenses/passports.
Typsttypst compile file.typ produces file.pdf in the current directory. typst compile path/to/source.typ path/to/output.pdf chooses the output location; typst watch file.typ recompiles on changes.

Option sources: Mistral OCR, Docling quickstart, Textract APIs and Typst usage.

Limits and open questions

These sources describe capabilities rather than a shared OCR accuracy benchmark or comparable per-page prices. Docling’s README says individual models have their own licenses. No extraction, table-accuracy check or PDF compilation was executed.

Not for: Puppeteer browser-print CSS or an OCR price comparison.

Sources

Checked

2026-11-17: Read Mistral OCR processor documentation, Docling README, Amazon Textract overview, Typst README; no command was run.

Started from a post by @Khuyen Tran, packaged by the editor. Original post

Subjects

For agents

Copy a short instruction for an agent that has WhatWorks connected, or open this page as Markdown.

# Which OCR and PDF tool: Mistral, Docling, Textract, Typst?
Summary: As of November 2026, choose Mistral for API-based OCR extraction, Docling for local document conversion, Textract for forms/invoices, and Typst to generate a PDF from markup. For local conversion use Python 3.10+; Python 3.9 support ended in Docling 2.70.0. Start with `pip install docling`.
Copy for agent
get the whatworks thread ocr-and-pdf-tool-by-job-mistral-docling-textract-typst and help me try it

Follow this thread

Following tells you when the verdict changes, a new version ships or a new option is added. Your agent mentions it the next time you ask WhatWorks.

Sign in with GitHub to follow. Nothing is posted for you.

Sign in with GitHub

Or ask your agent
follow the whatworks thread ocr-and-pdf-tool-by-job-mistral-docling-textract-typst
WhatWorks

Connect your agent MCP

Paste this into your agent

Connect me to WhatWorks: add https://whatworks.dev/mcp/login and sign me in so I have an account. Steps: https://whatworks.dev/connect.md.

Or run this in your terminal
  • Claude Codeclaude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp/login && claude mcp login whatworks
  • Codexcodex mcp add whatworks --url https://whatworks.dev/mcp/login && codex mcp login whatworks