datalab-to/marker

Convert PDF to markdown + JSON quickly with high accuracy

View on GitHub ↗Jump to charts ↓

Summary Information

Updated 16 minutes ago
Added to GitGenius on August 31st, 2026
Created on October 30th, 2023
Open Issues & Pull Requests: 464 (+0)
Number of forks: 2,845
Total Stargazers: 39,439 (-3)
Total Subscribers: 137 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 2.1 days
Mean response time: 17.9 days
90th percentile: 47.7 days
Tracked items: 416

How this project is maintained

Around half of the issues opened in the past year never receive a reply. 100% of open issues come from outside the core team, so the backlog reflects real-world use rather than internal planning. 66% of tracked open issues have had no activity in three months, so the open count overstates what is actively being worked. Only 4% of issues opened in the past year have been closed. Three people close 70% of everything that gets resolved.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 311
New in 7 days: 3
Closed in 7 days: 0
Avg open age: 446 days
Stale 30+ days: 285
Stale 90+ days: 259

Recent activity

Opened in 7 days: 3
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 0

Top labels

  • bug: breaking (51)
  • enhancement (46)
  • bug: output (33)
  • question (6)

Detailed Description

Marker is a document conversion tool that transforms PDFs, images, and other document formats into markdown, JSON, and HTML output with high accuracy.

The tool addresses the challenge of extracting structured content from diverse document types by combining layout detection with optical character recognition. It handles complex document elements including tables, forms, mathematical equations, code blocks, and images while removing extraneous content like headers and footers. The system operates across multiple hardware configurations—GPU, CPU, or Apple Silicon—making it adaptable to different deployment environments. For users requiring higher accuracy, an optional LLM integration can refine output by merging tables across pages, properly formatting complex structures, and extracting form values, with support for multiple LLM providers including Gemini, Claude, OpenAI, Azure, and Ollama.

Marker suits organizations processing large volumes of documents that need reliable structured extraction without manual intervention. The tool works across all languages and document types, from born-digital PDFs to scanned images and office formats like PPTX, DOCX, and XLSX. It performs competitively on standard benchmarks, scoring ahead of comparable open-source tools while maintaining faster processing speeds than larger vision language models. Teams with specific formatting requirements can extend the tool with custom logic. The project also offers a managed platform alternative for high-volume workloads, which runs an improved model variant with enhanced accuracy and includes infrastructure management for batch processing at scale.

Development activity shows consistent engagement with the codebase through regular updates and refinements to the core conversion pipeline. The project maintains active community channels and provides accessible documentation alongside a public playground for testing functionality. Ongoing work addresses edge cases and performance optimization across different document types and hardware configurations.