datalab-to

datalab-to/marker

Python GPL-3.0 AI & ML

Convert PDF to markdown + JSON quickly with high accuracy

37.3k stars
2.6k forks
active
GitHub +274 / week

37.3k

Stars

2.6k

Forks

431

Open issues

27

Contributors

v1.10.2 31 Jan 2026

AI Analysis

Marker is a specialized document conversion tool that transforms PDFs, images, and office files into markdown, JSON, and HTML with high accuracy, particularly excelling at preserving formatting for tables, equations, and structured data. It serves data professionals, researchers, and organizations processing document-heavy workflows who need reliable extraction and conversion. Not a general-purpose document viewer—it's purpose-built for programmatic document intelligence tasks.

AI & ML Developer Tool Discovery value: 4/10
Documentation 8/10
Activity 9/10
Community 9/10
Code quality 7/10

Inferred from signals mentioned in the README (tests, CI, type safety) — not a review of the actual code.

Overall score 8/10

AI's overall editorial judgment — not an average of the bars above, can weigh other factors too.

document-intelligence pdf-conversion multimodal-extraction llm-integration markdown-generation
Actively maintained Well documented Popular Niche/specialized use case Production ready
Deep Analysis · Based on README and public signals
3w ago

Marker turns PDFs and documents into structured markdown with ML accuracy, targeting AI pipeline builders

Marker is a Python library that converts PDFs, DOCX, PPTX, EPUB, and images into markdown, JSON, HTML, or chunks using a combination of ML models and optional LLM augmentation. It targets developers building RAG pipelines, document intelligence workflows, and data extraction systems. With 36K+ stars, a managed API with 200M+ pages/week processed, and a GPU-accelerated architecture, it occupies a credible position between pure-heuristic tools and full cloud OCR services. It is backed by Datalab, a company with a commercial offering built on top of the same models.

Origin

Created in October 2023 by Vik Paruchuri under the datalab-to org, Marker emerged during the LLM/RAG boom when developers needed high-quality PDF-to-text pipelines. It grew rapidly as a self-hostable alternative to cloud OCR services like Mathpix and LlamaParse.

Growth

Growth was driven by the explosion of interest in RAG (retrieval-augmented generation) pipelines where document ingestion quality directly impacts LLM output quality. Marker filled a gap: better than heuristic tools, cheaper than cloud APIs, and self-hostable. The hybrid LLM mode and multi-format support added in 2024-2025 extended appeal beyond PDFs. Stars have slowed relative to peak (59/week as of evaluation date), suggesting the project has moved from viral growth to a stable, established user base.

In production

Datalab's managed platform claims 200M+ pages processed per week, which if accurate represents significant production scale. The commercial licensing page, SOC 2 Type 2 mention, and BAA availability suggest enterprise customers are present. The 36K stars and 2,500 forks are consistent with widespread experimentation and likely production deployment across the AI/ML developer community, though third-party independent verification of adoption numbers is not available from this analysis.

Code analysis
Architecture

Appears to use a pipeline of specialized ML models for layout detection, OCR, table parsing, and equation handling, based on README descriptions of per-element formatting. Likely integrates PyTorch-based vision models. The optional LLM pass (Gemini or Ollama) is layered on top of the base pipeline, not replacing it. GPU, CPU, and MPS backends are explicitly supported. The extensibility mention suggests a plugin or processor architecture, but details are not verifiable from README alone.

Tests

Not documented in README

Maintenance

Last push was June 6, 2026, approximately 15 days before evaluation date — indicating active, recent maintenance. The project has been continuously developed for over 2.5 years. Discord community and documentation site suggest organized ongoing development. The transition toward a managed platform and the release of the companion Chandra model suggest sustained investment.

Honest verdict

ADOPT IF: you need high-accuracy extraction from complex PDFs (tables, math, multi-column, scanned) for RAG or document intelligence pipelines and can run GPU inference or afford the managed API. AVOID IF: your documents are simple digital PDFs, you need a lightweight CPU-only solution, or GPL licensing is incompatible with your distribution model without a commercial license. MONITOR IF: you are evaluating MinerU or OlmOCR for similar use cases — the accuracy gap between these tools may narrow as all are actively developed.

Independent dimensions

Mainstream potential

6/10

Technical importance

8/10

Adoption evidence

7/10

Risks
  • GPL-3.0 license with separate commercial model license creates friction for companies wanting to embed Marker in proprietary products without paying for a commercial license — this limits some adoption paths.
  • Dependency on GPU infrastructure for best performance means operational cost and complexity for self-hosted deployments; CPU performance may be inadequate for high-volume workloads.
  • The managed platform and Chandra model suggest Datalab's commercial incentives may gradually shift the best capabilities toward paid tiers, with the open-source version lagging.
  • The category is actively contested — MinerU, OlmOCR, and future LLM-native tools (e.g., GPT-4o vision pipelines) could erode Marker's accuracy advantage over time.
  • Growth rate has normalized (59 stars/week) — not a risk in itself, but indicates the viral discovery phase is over and future traction depends on sustained community and enterprise expansion.
Prediction

Marker is likely to remain a leading self-hosted document extraction tool for the AI developer ecosystem, with the managed Datalab platform absorbing enterprise workloads. The open-source repo will continue as a maintained reference implementation and community anchor.

0 found this helpful

Newsletter

Get analyses like this every Monday

Free weekly digest of the most interesting open-source discoveries.

Languages

Python
99.7%
Shell
0.3%

Information

Language
Python
License
GPL-3.0
Last updated
3d ago
Created
33mo ago
Analyzed with
anthropic/claude-haiku-4-5

Stars over time

Loading…

Contributors over time

Top 100 contributors only — repos with more will plateau at 100.

Loading…

Similar repos

MarkPDFdown

MarkPDFdown/markpdfdown

MarkPDFDown is a Python tool that converts PDF documents and images to Markdown...

1.8k Python AI & ML
microsoft

microsoft/markitdown

MarkItDown is a lightweight Python utility built by Microsoft's AutoGen team...

164.5k Python AI & ML
opendatalab

opendatalab/MinerU

MinerU is a document parsing tool that converts PDFs, Word files, PowerPoints,...

74.2k Python AI & ML
pymupdf

pymupdf/pymupdf4llm

PyMuPDF4LLM converts PDF and other documents into clean, structured Markdown,...

1.9k Python AI & ML
allenai

allenai/olmocr

olmocr is a specialized toolkit for converting PDF and image-based documents...

19k Python AI & ML
vs. alternatives
microsoft/markitdown

MarkItDown (156K stars) is a simpler, heuristic-based tool with no ML models. It is faster and lighter but handles complex layouts, tables, equations, and scanned documents far less reliably. Marker trades resource overhead for accuracy on complex documents.

opendatalab/MinerU

MinerU (68K stars) is Marker's closest open-source peer — both use ML pipelines and target high-accuracy extraction. MinerU appears to emphasize Chinese-language document support and academic use cases; Marker emphasizes API-readiness, multi-format support, and commercial backing.

pymupdf/pymupdf4llm

pymupdf4llm is a lightweight wrapper around the well-established PyMuPDF engine. It handles digital PDFs efficiently but lacks OCR or layout-awareness for scanned or complex documents. It is a good fit for simple use cases where Marker would be over-engineered.

allenai/olmocr

OlmOCR (17K stars) is a research-grade OCR pipeline from AllenAI focused on training-data generation for LLMs. It overlaps with Marker on scanned document handling but appears less oriented toward production API use and multi-format support.

datalab-to/chandra

Chandra is Marker's own successor model, also from Datalab. It offers higher accuracy and is the engine behind the managed platform. Marker is effectively the self-hosted, open-weight version; Chandra/Datalab API is the enterprise upgrade path.