datalab-to

    datalab-to/marker

    Convert PDF to markdown + JSON quickly with high accuracy

    41.0K stars
    3.0K forks
    140 GitHub watchers
    Updated Nov 20, 2026
    View on GitHub

    Build with Backblaze B2

    SDKs, agent skills, IDE extensions, and reference pipelines from Backblaze Labs. All open source.

    Explore Backblaze Labs

    Loading star history...

    Where it stands

    Rank, growth pace and release cadence relative to everything GStars tracks.

    2 releases in the last 90 days, the latest 8 days ago, with 36 contributors on GitHub.

    Use Cases & Benefits

    • Converts PDFs and various document formats into markdown, JSON, HTML, and chunks with high accuracy and speed.
    • Offers superior accuracy and faster batch processing compared to cloud services, with optional LLM integration for enhanced extraction quality.
    • Use for extracting structured data and formatted content from scientific papers and textbooks for research and analysis.
    • Use for converting business documents like forms, tables, and financial reports into machine-readable JSON for automation workflows.
    • Ideal for developers building custom document processing pipelines requiring extensible formatting, OCR, and multi-format output.

    Should you depend on it?

    License terms, project hygiene and risks, from GitHub metadata and GStars' snapshots.

    License

    Apache 2.0

    Permissive: commercial use, modification and redistribution are allowed with attribution; includes an explicit patent grant from contributors.

    Community files

    • README: present

    Watch-outs

    No watch-outs from GStars' checks.

    General guidance from repository metadata, not legal advice. How we score

    From the README

    Marker converts documents to markdown, JSON, chunks, and HTML quickly and accurately.

    For our managed API or on-prem document intelligence solution, check out our platform here.

    Marker benchmarks favorably compared to cloud services like Llamaparse and Mathpix, as well as other open source tools.

    The above results are running single PDF pages serially. Marker is significantly faster when running in batch mode, with a projected throughput of 25 pages/second on an H100.

    See below for detailed speed and accuracy benchmarks, and instructions on how to run your own benchmarks.

    For the highest accuracy, pass the --use_llm flag to use an LLM alongside marker. This will do things like merge tables across pages, handle inline math, format tables properly, and extract values from forms. It can use any gemini or ollama model. By default, it uses gemini-2.0-flash. See below for details.

    Here is a table benchmark comparing marker, gemini flash alone, and marker with use_llm:

    As you can see, the use_llm mode offers higher accuracy than marker or gemini alone.

    Excerpt from the datalab-to/marker README on GitHub (Apache-2.0 license). © its authors.Read the full README on GitHub

    Daily snapshots

    Stars gained per day, and how forks and open issues moved, from GStars' daily snapshots

    Forks

    3.0K+114

    Open issues

    84-379

    Compared with peers in Backend

    Fastest-growing repositories GStars tracks in this cohort for the week of Nov 15, by 7-day star growth

    datalab-to/marker compared with Backend repositories by stars, 7-day star growth, health score and last release
    RepositoryStars+7dHealthLast release
    anthropics/skills198.5K+3.9K15—
    tradermonty/claude-trading-skills7.6K+2.8K35—
    we-promise/sure17.1K+1.8K40today
    DuarteSantos8/openGym23.1K+1.8K607 days ago
    agent-substrate/substrate8.1K+1.5K651 day ago
    datalab-to/marker41.0K—528 days ago
    Category median17.1K+1.8K40—

    Also by datalab-to

    Other repositories from this maintainer that GStars tracks

    Discover Repositories

    Search across tracked repositories by name or description