# pdfmux blog > Engineering notes on PDF extraction, OCR, and LLM document pipelines. ## Posts - [Extract text from a PDF in Python: pypdf, PyMuPDF, pdfplumber, and OCR](https://pdfmux.com/blog/extract-text-from-pdf-python/): How to extract text from a PDF in Python: pypdf for simple cases, PyMuPDF for speed, pdfplumber for layout, pytesseract for scanned pages, and when none of them are enough. - [PDFMux MCP Server: Intelligent PDF Extraction Inside Claude, Cursor, and Windsurf](https://pdfmux.com/blog/pdfmux-mcp-server-claude-cursor/): The only PDF MCP server with confidence scoring, output certification, and structured extraction. Install in 30 seconds with npx -y pdfmux. Works in Claude, Cursor, Windsurf. - [PyMuPDF vs Marker: Which PDF Extraction Library to Use in Python](https://pdfmux.com/blog/pymupdf-vs-marker/): PyMuPDF vs Marker compared: license, speed, GPU needs, table and OCR handling, and which one to pick for fast text extraction vs scanned/academic documents. - [pdfmux vs LlamaParse vs Docling vs Unstructured: Which PDF extractor for RAG in 2026?](https://pdfmux.com/blog/pdfmux-vs-llamaparse-vs-docling-vs-unstructured-2026/): pdfmux vs LlamaParse vs Docling vs Unstructured for RAG in 2026: benchmark scores, pricing, and which extractor to pick for your pipeline. - [Merging PDF tables that span a page break in Python](https://pdfmux.com/blog/merge-pdf-tables-across-page-breaks-python/): A table split across a page break extracts as two disconnected tables. How to detect the continuation and merge the fragments into one DataFrame in Python. - [pdfmux vs PaddleOCR-VL: OCR model or extraction orchestrator?](https://pdfmux.com/blog/compare/pdfmux-vs-paddleocr-vl/): PaddleOCR-VL is Baidu's open-weight vision-language OCR model, SOTA on OmniDocBench. pdfmux is a multi-backend orchestrator with an audit manifest. - [pdfmux vs OpenDataLoader: why an orchestrator beats a single extractor for RAG](https://pdfmux.com/blog/pdfmux-vs-opendataloader/): OpenDataLoader PDF tops open-source benchmarks at 0.90 accuracy — but production RAG needs more than one extractor. How pdfmux uses it as one backend among several. - [AutoGen + pdfmux: a PDF tool your agents can trust](https://pdfmux.com/blog/autogen-pdf-extraction-tool/): Build a custom AutoGen function tool that wraps pdfmux's confidence-scored extraction, so a multi-agent crew knows when a PDF read is reliable and when to escalate. - [Extracting structured data from SEC 10-K filings in Python](https://pdfmux.com/blog/sec-10k-filing-extraction-python/): How to pull financial tables and narrative sections out of SEC 10-K PDFs with pdfmux — CPU-only, table-aware extraction, and where to use EDGAR's XBRL data instead. - [pdfmux vs Kreuzberg: PDF extraction comparison (2026 benchmark)](https://pdfmux.com/blog/pdfmux-vs-kreuzberg/): Head-to-head comparison of pdfmux and Kreuzberg for Python PDF extraction. Benchmark results on 200 PDFs, code examples, feature comparison, and which to use for RAG - [The hard 20% of PDF extraction (and why every tool handles it differently)](https://pdfmux.com/blog/the-hard-20-percent-of-pdf-extraction/): Most PDF tools handle the easy 80% of documents the same way. The other 20% — multi-column layouts, cross-page tables, hybrid scans, odd fonts — breaks each tool differently. - [PDF to ChromaDB: a local-first embeddings pipeline in Python](https://pdfmux.com/blog/pdf-to-chromadb/): Extract PDFs with pdfmux and load them into Chroma with confidence-gated inserts and metadata filtering — no server to run, no cloud bill. - [PDF to Weaviate: hybrid search ingestion in Python](https://pdfmux.com/blog/pdf-to-weaviate/): Extract PDFs with pdfmux and index them in Weaviate with confidence-filtered inserts, so hybrid vector-plus-keyword search never surfaces an unreliable extraction. - [Best AWS Textract Alternatives in 2026](https://pdfmux.com/blog/alternatives/textract-alternatives/): Compare AWS Textract alternatives on real 2026 pricing, open-source benchmark scores, and self-hosting — pdfmux, Google Document AI, Azure, marker, and Unstructured. - [The true cost of Stripe fees: a calculator for SaaS](https://pdfmux.com/blog/true-cost-of-stripe-fees/): Calculate what Stripe actually costs your SaaS once international cards and currency conversion stack on top of the base 2.9% + $0.30 rate. - [Extract a signature from a PDF with Python (digital, scanned, e-signature)](https://pdfmux.com/blog/extract-signature-from-pdf-python/): Extract signatures from PDFs in Python: verify cryptographic /Sig fields with pyHanko, crop scanned signature images with PyMuPDF, or detect handwritten marks with OpenCV. - [PDF to DOCX in Python: Convert PDFs to Editable Word Documents](https://pdfmux.com/blog/pdf-to-docx-python/): Convert a PDF to an editable Word .docx in Python with pdf2docx: layout, tables, and images preserved. Covers scanned-PDF limits and when you want markdown instead. - [PDF extraction for RAG pipelines: from messy PDFs to accurate retrieval](https://pdfmux.com/blog/pdf-extraction-for-rag-pipeline/): Build a production RAG pipeline with pdfmux, LangChain, and ChromaDB: extraction code, heading-based chunking, and confidence-gated indexing. - [Chandra OCR: what it is, how it works, and when to use it](https://pdfmux.com/blog/chandra-ocr/): Chandra is Datalab's vision-language OCR model — full-page decoding, open weights, olmOCR benchmark leader. What it does, how to run it, and its limits. - [PDF extraction with Gemini: native PDF support, JSON mode, and the limits](https://pdfmux.com/blog/gemini-pdf-extraction/): How to extract structured data from PDFs with Gemini's native PDF input and response_schema, what it costs, and where a dedicated extractor still wins. - [The Adobe Tax: why PDF tools default to a subscription](https://pdfmux.com/blog/the-adobe-tax-why-pdf-tools-default-to-a-subscription/): Most PDF tools bill monthly for something you use twice a year. pdfmux is a pip install: no account, no subscription, no per-page meter. - [Claude PDF Parsing: Native Vision vs a Dedicated Extraction Pipeline](https://pdfmux.com/blog/claude-pdf-parsing/): When Claude's native PDF reading is enough, when it silently degrades on tables and scans, and how to route only the hard pages to it. - [Claude Agent Skills for PDF extraction: SKILL.md, walked through](https://pdfmux.com/blog/claude-agent-skills-pdf-extraction/): How Claude's Agent Skills format works — progressive disclosure, SKILL.md frontmatter rules — plus a working pdfmux skill for PDF extraction in Claude Code. - [PDF extraction with OpenAI: structured outputs, vision, and the limits](https://pdfmux.com/blog/openai-pdf-extraction/): How to extract structured data from PDFs with OpenAI's GPT-4o and response_format json_schema, what it costs, and where a dedicated extractor still wins. - [PDF data extraction for AI agents: the missing infrastructure layer](https://pdfmux.com/blog/pdf-data-extraction-for-ai-agents/): AI agents need to read PDFs to do real work — invoices, contracts, reports. But most extraction tools return text with no quality signal. Here is the pattern emerging across - [PDF to Pinecone: a production ingestion pipeline in Python](https://pdfmux.com/blog/pdf-to-pinecone/): Extract PDFs with pdfmux and index them in Pinecone with namespace-per-tenant isolation, confidence-gated upserts, and metadata filtering for real query volume. - [6 Reducto alternatives for PDF and document extraction (2026)](https://pdfmux.com/blog/reducto-alternatives/): Comparing Reducto against open-source and API alternatives for PDF extraction — Unstructured, Docling, LlamaParse, Marker, and pdfmux — on cost, accuracy, and self-hosting. - [We ran pdfmux on 433 of our own customer's PDFs. The first run failed silently.](https://pdfmux.com/blog/when-our-own-pdf-extractor-failed-silently/): We ran pdfmux on a real 433-PDF batch and our own script silently dropped 11 documents. Here's the audit, the fix, and how to check your own pipeline. - [Detect checkboxes in a PDF with Python (digital and scanned forms)](https://pdfmux.com/blog/detect-checkbox-pdf-python/): Detect and read checkbox states in PDF forms with Python: AcroForm field values with pypdf, and pixel-based detection for scanned or flattened checkboxes. - [Gemini vs Mistral OCR for PDF Extraction: Which One to Use](https://pdfmux.com/blog/gemini-vs-mistral-ocr-pdf/): Gemini is a general vision-language model; Mistral OCR is a dedicated document API. Compare architecture, pricing, output shape, and when to use each. - [pdfmux vs Google Document AI: PDF Extraction for LLM and RAG Pipelines (2026)](https://pdfmux.com/blog/pdfmux-vs-google-document-ai/): How pdfmux and Google Document AI compare for PDF extraction: output format, pricing, setup, data residency, and which fits LLM and RAG pipelines in 2026. - [What Is Entity Extraction? Definition and Guide](https://pdfmux.com/blog/glossary/what-is-entity-extraction/): Entity extraction pulls named things — people, dates, amounts, organizations — out of unstructured text and labels each one. A developer's guide to how it works on PDFs. - [Which PDF extractor should you actually use in 2026?](https://pdfmux.com/blog/pdf-extractor-comparison-2026/): There are now 7+ serious PDF extraction tools — OpenDataLoader, Docling, Marker, MinerU, pymupdf4llm, MarkItDown, pdfmux, and more. Here is when to use each one, with real - [Convert a scanned PDF to a searchable PDF in Python](https://pdfmux.com/blog/convert-scanned-pdf-to-searchable-pdf-python/): How to add an invisible OCR text layer to a scanned PDF in Python with ocrmypdf, so it stays visually identical but becomes searchable and selectable. - [Extract handwritten text from PDF in Python (2026 guide)](https://pdfmux.com/blog/extract-handwritten-text-from-pdf-python/): Standard OCR fails on handwriting. Compares Tesseract, TrOCR, and vision LLMs for extracting handwritten text from PDFs in Python, with code and accuracy notes. - [What "self-healing" PDF extraction actually looks like](https://pdfmux.com/blog/self-healing-pdf-extraction/): Most PDF extractors run once and hope for the best. pdfmux extracts, audits every page with 5 quality checks, and re-extracts failures automatically — here is exactly how - [CrewAI + pdfmux: a PDF tool that tells your agent when it's wrong](https://pdfmux.com/blog/crewai-pdf-extraction-tool/): Build a custom CrewAI tool that wraps pdfmux's confidence-scored extraction, so your agent knows when to trust a PDF read instead of guessing. - [PDF to Qdrant: a production vector-ingestion pipeline in Python](https://pdfmux.com/blog/pdf-to-qdrant/): Extract PDFs with pdfmux and index them in Qdrant with payload filtering, confidence-gated ingestion, and HNSW tuning for real query volume. - [pdfmux confidence scoring explained: how we measure extraction quality](https://pdfmux.com/blog/pdfmux-confidence-scoring-explained/): A deep dive into pdfmux's five-check confidence scoring system — how it measures PDF extraction quality per page and routes bad pages to better extractors. - [PDF extraction with Haystack 2.x: a custom converter that handles tables and scans](https://pdfmux.com/blog/pdf-extraction-with-haystack/): Haystack ships PyPDFToDocument for PDFs, which drops tables and can't OCR scans. Build a custom Haystack 2.x component around pdfmux instead, with full pipeline code. - [PDF to pgvector: an end-to-end embeddings pipeline in Python](https://pdfmux.com/blog/pdf-to-pgvector/): Extract PDFs, chunk by heading, embed, and store in Postgres with pgvector. Full pipeline with confidence-gated ingestion and a cosine-similarity search query. - [Which PDF extractor should you use? An honest guide.](https://pdfmux.com/blog/which-pdf-extractor-should-you-use/): I maintain a tool that uses PyMuPDF, Docling, Surya, RapidOCR, and Gemini Flash internally. Here is when each one wins, when each one fails, and how to pick the right one - [Extract financial statement data from PDF in Python (balance sheet, income statement)](https://pdfmux.com/blog/extract-financial-statement-data-pdf-python/): Parse balance sheets and income statements from PDF into structured JSON in Python: multi-year comparative tables, arithmetic validation, and custom schema extraction. - [PDF extraction in n8n: wiring pdfmux into a workflow with the MCP Client node](https://pdfmux.com/blog/pdf-extraction-n8n-workflow/): Connect pdfmux to n8n with the native MCP Client node over Streamable HTTP — extract tables, invoices, and scanned PDFs inside any workflow, no custom code node. - [How to Extract Data from Arabic PDFs: A Complete Guide for GCC Logistics](https://pdfmux.com/blog/arabic-pdf-extraction-gcc-logistics/): Extract bilingual Arabic and English data from Bills of Lading, commercial invoices, and customs forms. How BiDi reordering, Arabic-aware routing, and confidence gating work. - [Multilingual PDF to Markdown: extract non-English documents in Python](https://pdfmux.com/blog/multilingual-pdf-to-markdown/): Extract text from PDFs in 100+ languages and convert to clean Markdown. Detect the language, pick the right OCR engine, and handle mixed-script pages in Python. - [Extract contract data from PDFs in Python: parties, dates, and key clauses](https://pdfmux.com/blog/contract-data-extraction-python/): Extract structured data from contract PDFs in Python: parties, dates, and renewal terms. Working code with confidence-based review routing for legal risk. - [pdfmux vs Reducto: self-hosted library or hosted agentic API?](https://pdfmux.com/blog/compare/pdfmux-vs-reducto/): Reducto is a hosted, credit-priced agentic document API. pdfmux is a self-hosted Python library with free local backends. Compare pricing and when each wins. - [How to give your AI agent the ability to read any PDF](https://pdfmux.com/blog/mcp-server-pdf-ai-agent/): Most PDF MCP servers wrap basic text extraction and fail on scanned or table-heavy files. Here's how to give any MCP client production-grade PDF processing. - [Certify Anything: verify any PDF extractor for silently dropped pages](https://pdfmux.com/blog/certify-any-pdf-extractor/): pdfmux verify is a free second opinion on any PDF extractor. Point it at your source PDF plus Reducto, LlamaParse, Docling, or your own parser's output and it reports which - [Detect and redact PII in PDFs before sending them to an LLM (Python)](https://pdfmux.com/blog/detect-redact-pii-pdf-python/): Redact names, emails, cards, and IDs from PDF text before it reaches an LLM: the three detection tiers, redaction strategies, and where PII actually leaks. - [Garbled PDF text in Python: fixing CID fonts, ligatures, and missing spaces](https://pdfmux.com/blog/fix-garbled-pdf-text-python/): PDF text extracts as mojibake, glued words, or missing letters? The root causes — CID fonts, glyph positioning, ligatures — and how to fix each in Python. - [Docling vs LlamaParse: Which PDF Parser to Pick for RAG (2026)](https://pdfmux.com/blog/docling-vs-llamaparse/): Docling vs LlamaParse for RAG PDF extraction: open-source vs hosted, setup, tables, OCR, output, self-hosting, pricing, and when to pick each. - [Mistral OCR for PDF-to-Markdown Conversion (2026 Review)](https://pdfmux.com/blog/mistral-ocr-pdf-markdown/): A developer look at Mistral OCR for PDF-to-Markdown: what it extracts, pricing per page, language support, limits, and when a local tool fits better. - [PyMuPDF vs pdfplumber (2026): the speed-vs-license tradeoff, benchmarked](https://pdfmux.com/blog/pymupdf-vs-pdfplumber/): PyMuPDF is 10x faster but AGPL-licensed. pdfplumber is MIT but slow. Benchmarks on 1,422 real pages, TEDS table scores, and a third option that beats both. - [Unstructured vs LlamaParse: Which PDF Parser to Pick for RAG (2026)](https://pdfmux.com/blog/unstructured-vs-llamaparse/): Unstructured vs LlamaParse for RAG PDF extraction: open-source vs hosted, setup, tables, OCR, output, self-hosting, pricing, and when to pick each. - [Arabic PDF OCR in Python: extract right-to-left text from scanned documents](https://pdfmux.com/blog/arabic-pdf-ocr/): How to OCR Arabic PDFs in Python. Handle right-to-left order, bidirectional text, and ligature reshaping with Tesseract, and when to reach for multimodal OCR. - [Docling vs Marker: Which Open-Source PDF-to-Markdown Library to Pick (2026)](https://pdfmux.com/blog/docling-vs-marker/): A developer comparison of Docling (IBM) and Marker (VikParuchuri) for PDF-to-Markdown extraction: install, speed, table and equation accuracy, GPU needs, OCR, license, and - [We ran pdfmux on Tesla 10-Ks, Uber S-1s, and Supreme Court opinions. Here is what happened.](https://pdfmux.com/blog/real-world-pdf-benchmark/): Real-world benchmark of pdfmux vs PyMuPDF and pymupdf4llm across 11 public documents — 1,422 pages of SEC filings, academic papers, legal opinions, and government reports. - [PDF extraction routing in Python: pick the right parser per page](https://pdfmux.com/blog/pdf-extraction-routing-python/): How to route each PDF page to the best extractor in Python using text density, font embedding, and scan detection — so you stop OCR-ing pages that already have clean text. - [How to process large PDFs in Python without running out of memory](https://pdfmux.com/blog/process-large-pdf-python/): Extract text from 1,000+ page PDFs in Python without OOM crashes. Compares load-everything, page iteration, and streaming approaches with memory benchmarks and code. - [OCR PDF extraction in Python: extract text from scanned PDFs (2026 guide)](https://pdfmux.com/blog/ocr-pdf-extraction-python/): How to extract text from scanned and image-based PDFs in Python using OCR. Compares pytesseract, EasyOCR, Surya, and pdfmux with code examples and accuracy benchmarks. - [Extract text from multi-column PDFs in Python (in the right reading order)](https://pdfmux.com/blog/multi-column-pdf-extraction-python/): Multi-column PDFs scramble text in naive extractors. How reading order breaks, how to detect column layout in Python, and how to get clean output. - [Extract PDF metadata in Python: document info, XMP, and what pipelines need](https://pdfmux.com/blog/pdf-metadata-extraction-python/): Read PDF metadata in Python: the /Info dictionary, XMP, page count, and the extraction metadata (confidence, extractor) that actually matters for AI pipelines. - [pdfmux vs MarkItDown — specialist or universal?](https://pdfmux.com/blog/compare/pdfmux-vs-markitdown/): MarkItDown is Microsoft's 153K-star universal-to-markdown converter. pdfmux is a PDF specialist with per-page confidence + audit manifest. Honest tradeoff, side-by-side. - [PDF to Excel in Python: Convert Tables to Multi-Sheet XLSX](https://pdfmux.com/blog/pdf-to-excel-python/): Convert PDF tables to a multi-sheet Excel .xlsx in Python: extract structured JSON with pdfmux, write each table to its own sheet with pandas + openpyxl, fix number types. - [pdfmux vs PyMuPDF vs marker vs docling vs pdfplumber: 200-PDF benchmark](https://pdfmux.com/blog/pdfmux-vs-pymupdf-vs-marker-vs-docling/): Head-to-head benchmark of 5 Python PDF extraction libraries on 200 real-world PDFs. Scores, runnable code for each tool, license traps, and which to pick for RAG. - [Extract data from bank statements (PDF) in Python: a 2026 guide](https://pdfmux.com/blog/extract-bank-statement-data-python/): Parse bank statement PDFs into structured transactions in Python: multi-page tables, running-balance reconciliation, scanned OCR, and the code to do it. - [Extract text from password-protected (encrypted) PDFs in Python](https://pdfmux.com/blog/extract-text-encrypted-pdf-python/): Decrypt and extract text from password-protected PDFs in Python with pikepdf and PyMuPDF: user vs owner passwords, AES-256, batch decryption, and clean text. - [PDF to CSV in Python: 4 Methods (Tables to Clean CSV)](https://pdfmux.com/blog/pdf-to-csv-python/): Convert PDF tables to CSV in Python with pdfplumber, camelot, tabula-py, and pdfmux. Runnable code examples, a comparison table, and common pitfalls to avoid. - [PDF to Markdown for RAG pipelines: the complete guide](https://pdfmux.com/blog/pdf-to-markdown-for-rag/): Convert PDFs to clean Markdown for RAG and LLM pipelines: chunking, tables, OCR, confidence scoring, and production patterns. Updated June 2026. - [pdfmux vs Chandra — model or orchestrator?](https://pdfmux.com/blog/compare/pdfmux-vs-chandra/): Chandra is Datalab's newest VLM for PDF extraction — SOTA accuracy, SOC 2 Type 2, OpenRAIL-M model license. pdfmux is an orchestrator with an audit manifest. Honest - [How to extract embedded images and figures from a PDF in Python](https://pdfmux.com/blog/extract-images-from-pdf-python/): Extract embedded images and figures from PDFs in Python with PyMuPDF, pdfplumber, pdf2image, and pdfmux. Code for raw bytes, bounding boxes, CMYK, and dedup. - [pdfmux vs Azure Document Intelligence: cost, privacy, and accuracy in 2026](https://pdfmux.com/blog/pdfmux-vs-azure-document-intelligence/): Honest 2026 comparison of pdfmux and Azure AI Document Intelligence on accuracy, cost, privacy, and prebuilt models. Where each one wins, with the cost math. - [How to extract tables from PDF in Python (3 methods compared)](https://pdfmux.com/blog/extract-tables-from-pdf-python/): Extract tables from PDF files in Python using pdfmux, PyMuPDF, and Docling. Code examples, accuracy benchmarks, and the best approach for each use case. - [pdfmux vs LiteParse — library or product?](https://pdfmux.com/blog/compare/pdfmux-vs-liteparse/): LiteParse is a 8.4K-star OSS PDF parser from LlamaIndex. pdfmux is a product with audit-correctness + Cloud quotas. Honest tradeoff, side-by-side. - [Best PDF extraction library for Python in 2026 (benchmarked)](https://pdfmux.com/blog/best-pdf-extraction-library-python/): We benchmarked 8 Python PDF libraries on 200 real-world PDFs. Ranked by table accuracy, reading order, and heading structure. Updated May 2026. - [PDF extraction with Node.js in 2026: libraries, benchmarks, and the pdfmux MCP path](https://pdfmux.com/blog/pdf-extraction-with-nodejs/): Extract text, tables, and structured data from PDFs in Node.js. Library comparison (pdf-parse, unpdf, pdf2json), benchmarks, code, and the pdfmux MCP path. - [PDF to JSON for LLM pipelines: structured extraction patterns in 2026](https://pdfmux.com/blog/pdf-to-json-for-llm-pipelines/): PDF to JSON for LLM tool use, function calling, and structured outputs. 3-layer schema, bounding boxes, confidence scoring, and the pdfmux pattern. - [PDF extraction without GPU or API keys: how pdfmux does it](https://pdfmux.com/blog/pdf-extraction-without-gpu/): How pdfmux achieves 99% of AI-powered extraction accuracy with zero GPU, zero API keys, and zero cost per page. Architecture explained. - [How to detect if a PDF is scanned (and what to do about it)](https://pdfmux.com/blog/detect-scanned-pdf-python/): Three reliable ways to detect a scanned PDF in Python, plus a routing pattern that runs OCR only on the pages that need it. With code and benchmarks. - [PDF chunking strategies for RAG: page, heading, and semantic compared](https://pdfmux.com/blog/pdf-chunking-strategies-rag/): Four chunking strategies for PDF-backed RAG pipelines, benchmarked on retrieval recall. With code, a comparison table, and a recommendation by document type. - [Use pdfmux inside Claude Code (and Claude Desktop, Cursor, any MCP agent)](https://pdfmux.com/blog/pdfmux-for-claude-code/): Two-minute setup to give Claude Code, Claude Desktop, and Cursor any-PDF parsing via the pdfmux MCP server. Local, offline, no API keys. - [Loading PDFs into LlamaIndex: SimpleDirectoryReader, custom parsers, and confidence-aware ingestion](https://pdfmux.com/blog/loading-pdfs-into-llamaindex/): Three ways to load PDFs into LlamaIndex in 2026: SimpleDirectoryReader, PDFReader, and a custom file_extractor. Plus the pdfmux integration that gives you a confidence score - [pdfmux vs AWS Textract: when self-hosted PDF extraction beats the cloud](https://pdfmux.com/blog/pdfmux-vs-aws-textract/): Honest 2026 comparison of pdfmux and AWS Textract on accuracy, cost, privacy, and integration. Where Textract still wins, and where the cost math has flipped against it. - [I benchmarked every PDF-to-Markdown tool. Then I built a router.](https://pdfmux.com/blog/benchmarking-pdf-extractors/): No single PDF extraction tool wins at every category. I tested PyMuPDF, Docling, Marker, Surya, Mistral OCR, Gemma 3, and Gemini Flash across digital, table-heavy, scanned, - [PDF extraction with LangChain: loaders, splitters, and the pdfmux integration](https://pdfmux.com/blog/pdf-extraction-with-langchain/): How to load PDFs into LangChain. PyPDFLoader, UnstructuredPDFLoader, PyMuPDFLoader, and the pdfmux loader compared on speed, table fidelity, and cost. - [pdfmux 1.6 — three new backends, smart cache, streaming, watch mode](https://pdfmux.com/blog/pdfmux-1-6-released/): What shipped in pdfmux 1.6.0: Mistral OCR, Marker, Gemma 3, hash-keyed result cache, NDJSON streaming, configuration profiles, watch mode, cost prediction, diff, retry with - [Batch PDF processing in Python: handle 10,000 PDFs without a crash](https://pdfmux.com/blog/batch-pdf-processing-python/): Process thousands of PDFs in Python: memory-safe batching, parallel workers, and error recovery. Benchmarked patterns for production PDF pipelines. - [How to extract data from fillable PDF forms in Python](https://pdfmux.com/blog/pdf-form-data-extraction-python/): Extract form data from PDFs in Python: AcroForms, XFA, and mixed docs covered. Code for pypdf, pdfrw, pdfmux with real-world examples. - [Extract invoice data from PDFs in Python: a complete guide for AP automation](https://pdfmux.com/blog/pdf-invoice-extraction-python/): How to extract invoice data from PDFs in Python. Benchmarks on 1,200 real invoices, production code for field extraction, and a working AP automation pipeline. - [pdfmux vs LlamaParse: accuracy, cost, and privacy compared (2026)](https://pdfmux.com/blog/pdfmux-vs-llamaparse/): Head-to-head: pdfmux versus LlamaParse on accuracy, cost, and privacy. Which PDF extractor fits your RAG pipeline in 2026 — and when does the cost math flip? - [Running PDF Extraction Locally with Gemma 4: Zero API Costs, Full Privacy](https://pdfmux.com/blog/local-pdf-extraction-gemma-4/): Replace cloud LLM extraction with Gemma running locally via Ollama. Zero API costs, full privacy, 140+ language OCR. Model sizing, hardware guidance, and setup. - [The LiteLLM supply chain attack: what every AI engineer should learn from it](https://pdfmux.com/blog/litellm-security-lessons/): LiteLLM, the most popular open-source LLM proxy, was compromised via a poisoned security scanner in its CI/CD pipeline. Here is what happened, why it matters, and what it - [Best AWS Textract Alternatives in 2026](https://pdfmux.com/blog/alternatives/aws-textract-alternatives/): Looking for AWS Textract alternatives? Compare the top PDF extraction tools that work without cloud dependencies or per-page pricing. - [Best Google Document AI Alternatives in 2026](https://pdfmux.com/blog/alternatives/google-document-ai-alternatives/): Looking for Google Document AI alternatives? Compare local and cloud PDF extraction tools with lower cost and complexity. - [Best LlamaParse Alternatives in 2026](https://pdfmux.com/blog/alternatives/llamaparse-alternatives/): Looking for LlamaParse alternatives? Compare the top PDF extraction tools that run locally without cloud dependencies. - [Best PyMuPDF Alternatives in 2026](https://pdfmux.com/blog/alternatives/pymupdf-alternatives/): Looking for PyMuPDF alternatives? Compare the top PDF extraction tools including pdfmux, pdfplumber, Marker, Docling, and more. - [Best Unstructured.io Alternatives in 2026](https://pdfmux.com/blog/alternatives/unstructured-alternatives/): Looking for Unstructured.io alternatives? Compare lighter, faster PDF extraction tools for your document processing pipeline. - [pdfmux vs AWS Textract: PDF Extraction Compared](https://pdfmux.com/blog/compare/pdfmux-vs-aws-textract/): Side-by-side comparison of pdfmux and AWS Textract — accuracy, cost, latency, operational complexity, and the tradeoffs that matter in production. - [pdfmux vs Docling: PDF Extraction Compared](https://pdfmux.com/blog/compare/pdfmux-vs-docling/): Compare pdfmux and Docling for PDF text extraction. Features, benchmarks, pricing, and when to use each. - [pdfmux vs Google Document AI: PDF Extraction Compared](https://pdfmux.com/blog/compare/pdfmux-vs-google-document-ai/): Compare pdfmux and Google Document AI for PDF text extraction. Features, benchmarks, pricing, and when to use each. - [pdfmux vs LlamaParse: PDF Extraction Compared](https://pdfmux.com/blog/compare/pdfmux-vs-llamaparse/): Compare pdfmux and LlamaParse for PDF text extraction. Features, benchmarks, pricing, and when to use each. - [pdfmux vs Marker: PDF Extraction Compared](https://pdfmux.com/blog/compare/pdfmux-vs-marker/): Compare pdfmux and Marker for PDF text extraction. Features, benchmarks, pricing, and when to use each. - [pdfmux vs pdfplumber: PDF Extraction Compared](https://pdfmux.com/blog/compare/pdfmux-vs-pdfplumber/): Compare pdfmux and pdfplumber for PDF text extraction. Features, benchmarks, pricing, and when to use each. - [pdfmux vs PyMuPDF: PDF Extraction Compared](https://pdfmux.com/blog/compare/pdfmux-vs-pymupdf/): Compare pdfmux and PyMuPDF for PDF text extraction. Features, benchmarks, pricing, and when to use each. - [pdfmux vs pymupdf4llm: PDF Extraction Compared](https://pdfmux.com/blog/compare/pdfmux-vs-pymupdf4llm/): Compare pdfmux and pymupdf4llm for PDF text extraction. Features, benchmarks, pricing, and when to use each. - [pdfmux vs Apache Tika: PDF Extraction Compared](https://pdfmux.com/blog/compare/pdfmux-vs-tika/): Compare pdfmux and Apache Tika for PDF text extraction. Features, benchmarks, pricing, and when to use each. - [pdfmux vs Unstructured: PDF Extraction Compared](https://pdfmux.com/blog/compare/pdfmux-vs-unstructured/): Compare pdfmux and Unstructured for PDF text extraction. Features, benchmarks, pricing, and when to use each. - [What Is Document Ingestion? Definition and Guide](https://pdfmux.com/blog/glossary/what-is-document-ingestion/): Document ingestion is the process of loading, extracting, and preparing documents for downstream processing. A complete guide for developers. - [What Is Document Intelligence? Definition and Guide](https://pdfmux.com/blog/glossary/what-is-document-intelligence/): Document intelligence uses AI to understand, classify, and extract structured data from documents. A complete guide for developers. - [What Is Layout Analysis? Definition and Guide](https://pdfmux.com/blog/glossary/what-is-layout-analysis/): Layout analysis detects the spatial structure of document pages — columns, headers, tables, and reading order. A complete guide for developers. - [What Is OCR? Definition and Guide](https://pdfmux.com/blog/glossary/what-is-ocr/): OCR (Optical Character Recognition) converts images of text into machine-readable characters. A complete guide for developers. - [What Is PDF Extraction? Definition and Guide](https://pdfmux.com/blog/glossary/what-is-pdf-extraction/): PDF extraction is the process of pulling text, tables, images, and metadata from PDF files programmatically. A complete guide for developers. - [What Is PDF Parsing? Definition and Guide](https://pdfmux.com/blog/glossary/what-is-pdf-parsing/): PDF parsing is the process of reading and interpreting the internal structure of PDF files. A complete guide for developers. - [What Is a RAG Pipeline? Definition and Guide](https://pdfmux.com/blog/glossary/what-is-rag-pipeline/): A RAG pipeline (Retrieval-Augmented Generation) combines document retrieval with AI generation for accurate, grounded answers. A complete guide for developers. - [What Is Table Extraction? Definition and Guide](https://pdfmux.com/blog/glossary/what-is-table-extraction/): Table extraction is the process of detecting and converting tables in documents into structured data. A complete guide for developers. - [What Is Text Chunking? Definition and Guide](https://pdfmux.com/blog/glossary/what-is-text-chunking/): Text chunking splits documents into appropriately sized segments for embedding, retrieval, and AI processing. A complete guide for developers. - [What Is a Vector Embedding? Definition and Guide](https://pdfmux.com/blog/glossary/what-is-vector-embedding/): Vector embeddings convert text into numerical representations that capture semantic meaning. A complete guide for developers. ## About - [pdfmux](https://pdfmux.com) - [GitHub](https://github.com/NameetP/pdfmux)