The Challenge of Unstructured Data in PDFs
The central development is this: In today’s data-driven world, a significant portion of valuable enterprise information remains trapped within unstructured formats like PDFs, scanned documents, and slide decks. Large Language Models (LLMs) and intelligent agents cannot effectively utilize this data until it’s transformed into a structured format, most commonly JSON. The good news is that open-source document extraction has emerged as a robust and cost-effective solution, allowing organizations to perform these crucial conversions on their own hardware.
Table of Contents
- The Challenge of Unstructured Data in PDFs
- Understanding the Two Main Approaches to “PDF to JSON”
- Why Open-Source Models Matter
- Leading Open-Source Models for Schema-Driven Extraction
- Top Open-Source Models for Document Parsing
- General-Purpose Option: Qwen3-VL
- Key Considerations: Benchmarks and Licensing
- Expert Perspective
- Frequently Asked Questions
- Conclusion
- 1. Schema-Driven Structured Extraction
- 2. Document Parsing
- Datalab lift
- NuMind NuExtract 3
- IBM Docling
- IBM Granite-Docling-258M
- OpenDataLab MinerU
- Datalab Marker
- Ai2 olmOCR 2
- DeepSeek DeepSeek-OCR
- Benchmarking Your Choices
- Navigating Licenses
- Why does open-source PDF to JSON extraction matter right now?
- What broader change could open-source PDF to JSON extraction signal?
- What should the market watch next around open-source PDF to JSON extraction?
Meanwhile, This guide explores the landscape of open-source PDF-to-JSON extraction models in 2026, helping you navigate the options and choose the right tool for your specific needs.
Understanding the Two Main Approaches to “PDF to JSON”
The seemingly simple phrase “PDF to JSON” actually encompasses two distinct problem sets, each requiring a different type of model and approach. Understanding this distinction is crucial for selecting the most appropriate solution and avoiding costly detours.
1. Schema-Driven Structured Extraction
In practical terms, This approach involves defining a specific JSON schema with predefined fields. The model’s task is then to extract relevant values from the document and populate these fields. This method is ideal for documents where the structure of the desired output is known in advance, such as:
- Invoices
- Forms
- Contracts
- Receipts
2. Document Parsing
In contrast, document parsing aims to reconstruct the entire document’s structure and content into a structured JSON or Markdown format. This goes beyond just filling predefined fields; it involves detecting layout, reading order, tables, formulas, and even code blocks. Document parsing is particularly useful for:
- Preparing clean corpora for Retrieval-Augmented Generation (RAG) systems
- Enabling advanced AI agents to understand document context
For example, The choice between these two categories depends entirely on your project’s requirements. Sometimes, a combination of both might be necessary.
Why Open-Source Models Matter
Opting for open-source models for PDF-to-JSON conversion offers significant advantages in terms of both cost and privacy:
- Cost-Efficiency: Proprietary APIs can incur substantial costs, often thousands of dollars per million pages. Local, open-source models eliminate these ongoing expenses.
- Data Privacy: Using local models ensures that sensitive documents never leave your on-premise infrastructure, addressing critical privacy and compliance concerns.
That said, Let’s dive into the leading open-source models available, categorized by their primary function.
Leading Open-Source Models for Schema-Driven Extraction
Datalab lift
- Overview: lift is a powerful 9B vision model developed by Datalab, the team behind Marker and Surya. It excels at taking a JSON schema and returning perfectly matched JSON output, guaranteed by schema-constrained decoding.
- Technology: Built on Qwen 3.5, lift can run locally via Hugging Face or remotely using a vLLM server.
- Features: Handles multi-page documents and values spanning across pages in a single pass. It provides a CLI, a Python API, and a Streamlit “Schema Studio” for easy schema development and testing.
- Performance: Achieves 90.2% field accuracy on Datalab’s 225-document benchmark with a median latency of 9.5 seconds.
- Licensing: Apache-2.0 for the code; a modified OpenRAIL-M license for weights, free for research, personal use, and startups under $5M funding/revenue. Commercial self-hosting requires a license.
NuMind NuExtract 3
- Overview: NuExtract 3 is a 4B vision-language model from NuMind designed to unify structured extraction (document to JSON) and content extraction (OCR to Markdown).
- Technology: Based on a Qwen backbone, it’s multimodal, multilingual, and trained with reinforcement learning for enhanced extraction-specific reasoning.
- Features: Serves via vLLM with an OpenAI-compatible API and offers a Python SDK (pip install numind). NuMind positions it as a benchmark open model for its size in both extraction tasks.
- Licensing: Check the model card for precise license terms, especially for commercial applications.
Top Open-Source Models for Document Parsing
IBM Docling
- Overview: Originating from IBM Research and now hosted by the LF AI & Data Foundation, Docling is a versatile pipeline for parsing diverse document formats.
- Capabilities: Supports PDF, DOCX, PPTX, XLSX, HTML, images, and more. It outputs Markdown, HTML, lossless JSON, and DocTags, preserving layout, reading order, tables, and even formulas (as LaTeX) through its core DoclingDocument representation.
- Integration: Runs locally for air-gapped environments and integrates seamlessly with popular frameworks like LangChain, LlamaIndex, Crew AI, and Haystack.
- Licensing: Permissive MIT license. IBM also provides a managed version via watsonx.
IBM Granite-Docling-258M
- Overview: A compact 258M vision-language model from IBM, specifically designed for one-shot document conversion within Docling pipelines.
- Efficiency: Despite its small size, it handles OCR, layout, tables, code, and equations, outputting DocTags. It boasts an impressive average processing speed of 0.35 seconds per page on an A100 GPU.
- Architecture: Built on the Idefics3 architecture, featuring a SigLIP2 encoder and a Granite 165M language backbone.
- Licensing: Released under Apache 2.0.
OpenDataLab MinerU
- Overview: Developed by OpenDataLab and Shanghai AI Laboratory, MinerU converts various inputs (PDF, image, DOCX, PPTX, XLSX) into Markdown and JSON.
- Technology: Combines a processing pipeline with a vision-language model. The current iteration, MinerU2.5-Pro, is optimized for high-resolution parsing of complex layouts, including cross-page tables and charts.
- Licensing: Recently transitioned from AGPL-3.0 to a custom “MinerU Open Source License” based on Apache 2.0, aiming to reduce friction for commercial deployments.
Datalab Marker
- Overview: Datalab’s dedicated pipeline for converting documents into Markdown, JSON, chunks, and HTML.
- Features: Supports a wide array of formats including PDF, image, PPTX, DOCX, XLSX, HTML, and EPUB. It intelligently formats tables, forms, equations, inline math, links, and code. An optional LLM integration can further enhance table and form processing.
- Performance: Scores around 76.1 on the third-party olmOCR-Bench suite.
- Licensing: GPL-3.0 for the code; model weights use a modified AI Pubs OpenRAIL-M license, free for research, personal use, and startups under $2M funding/revenue.
Ai2 olmOCR 2
- Overview: A 7B OCR-specialized vision-language model from the Allen Institute for AI (Ai2) focused on converting PDFs into clean text and Markdown.
- Capabilities: Preserves reading order and handles complex multi-column layouts, tables, equations, and even handwriting.
- Innovation: Trained with reinforcement learning using synthetic unit tests as verifiable reward signals.
- Performance: Achieves 82.4 on its proprietary olmOCR-Bench suite. Estimated cost is roughly $178 per million pages on your own GPUs.
- Licensing: Apache-2.0 for both the toolkit and the allenai/olmOCR-2-7B-1025 weights. Currently English-focused.
DeepSeek DeepSeek-OCR
- Overview: Released by DeepSeek in October 2025, DeepSeek-OCR introduces a novel approach called “contexts optical compression.”
- Efficiency: This method represents text-rich pages as compact vision tokens, which are then decoded back into text, allowing it to process long documents with significantly fewer tokens than traditional vision-language models.
- Architecture: Employs a DeepEncoder combined with a 3B Mixture-of-Experts (MoE) decoder.
- Features: Depending on the prompt, it can output plain text, Markdown, HTML tables, or structured JSON, supporting over 100 languages. A follow-up, DeepSeek-OCR2, was released in January 2026.
- Licensing: MIT license for the code.
General-Purpose Option: Qwen3-VL
While not a document-specific model, Alibaba’s Qwen3-VL series is a versatile general multimodal model that serves as the backbone for many specialized extraction models. You can prompt it to return Markdown, JSON, or code directly from a page. Most sizes are available under Apache 2.0. It’s a flexible fallback when a specialized model doesn’t quite fit your niche requirements, though it may necessitate more prompt engineering and offers fewer output guarantees.
Key Considerations: Benchmarks and Licensing
Benchmarking Your Choices
Interestingly, It’s crucial to understand that the published benchmark numbers for these models often come from different suites and are not directly comparable. For instance, lift’s 90.2% field accuracy is from Datalab’s schema-extraction benchmark, while olmOCR-Bench scores for olmOCR 2 (82.4) and Marker (76.1) measure content extraction. Always run your own documents through candidate models to assess their performance against your specific data.
Navigating Licenses
Licensing terms vary significantly across these open-source projects. While many offer permissive licenses like MIT or Apache 2.0, others use copyleft licenses (GPL-3.0 for Marker’s code) or custom agreements (MinerU’s new license, Datalab’s OpenRAIL-M for model weights). Always review the exact license terms for both the code and model weights, especially if you plan for commercial deployment or competitive use.
Expert Perspective
From an industry angle, the clearest signal around open-source PDF to JSON extraction is how it may influence document. The story reads less like a one-day spike and more like a marker of broader movement.
The next phase will depend on how quickly teams, regulators, or customers react. In practice, that gives open-source PDF to JSON extraction room to reshape expectations across json over the near term.
For readers focused on practical impact, the best next step is to watch what changes around models once attention turns into execution.
Frequently Asked Questions
Why does open-source PDF to JSON extraction matter right now?
The Challenge of Unstructured Data in PDFsThe central development is this: In today’s data-driven world, a significant portion of valuable enterprise information remains trapped within unstructured formats like PDFs, scanned documents, and slide decks.
What broader change could open-source PDF to JSON extraction signal?
Large Language Models (LLMs) and intelligent agents cannot effectively utilize this data until it’s transformed into a structured format, most commonly JSON.
What should the market watch next around open-source PDF to JSON extraction?
The good news is that open-source document extraction has emerged as a robust and cost-effective solution, allowing organizations to perform these crucial conversions on their own hardware.Meanwhile, This guide explores the landscape of open-source PDF-to-JSON extraction models in 2026, helping you navigate the options and choose the right tool for your specific needs.Understanding the Two Main Approaches to “PDF to JSON”The seemingly simple phrase “PDF to JSON” actually encompasses two distinct problem sets, each requiring a different type of model and approach.
Conclusion
Viewed in context, the next round of reactions will matter as much as the initial announcement. However, The landscape of open-source PDF-to-JSON extraction models in 2026 offers powerful and flexible solutions for transforming unstructured data into actionable insights. By carefully distinguishing between schema-driven extraction and document parsing, and by evaluating models based on their features, performance, and licensing, organizations can effectively unlock the vast potential of their PDF-bound data for advanced AI applications.



























