Skip to main content
RAG & Knowledge BasesNiche

Marker

datalab-to / marker

A high-quality PDF-to-Markdown and JSON converter focused on layout, tables, formulas and reading order.

41.0k stars 2958 forks Python Language Apache-2.0 License Last push 2026-11-18

Why choose it

  • Layout-aware conversion preserves tables and formulas.
  • Output is easier to chunk than raw PDF text.
  • Good for technical and academic documents.

Not for

You need a general Office-format converter.
You need fast processing of millions of pages on CPU.

Minimum setup

  1. Convert one technical PDF with formulas.
  2. Check table and equation fidelity.
  3. Compare with a plain PDF text extractor on the same page.

Dependencies and cost

Check runtime, model weights and external service dependencies in the README.

License and usage boundaries

Code is Apache-2.0; model weights, training data and generated content may have separate terms — check each before commercial use.

Open source is not automatically commercial-use friendly: GPL / AGPL are copyleft; code, model and output licenses are separate. Read the LICENSE and model card before launch, and involve legal when needed.

Alternatives and neighbors

  • Docling — Start here,A document parsing toolkit that turns PDF, HTML and Office files into structured Markdown or JSON while preserving layout, tables and reading order.
  • Unstructured — Production,A document ETL toolkit that partitions, cleans and metadata-tags PDFs, HTML, images and Office files for RAG.
  • RAGFlow — Start here,A RAG platform with document parsing, chunking, retrieval and citations, built to get a knowledge base running.

Next steps

  • Open GitHub and read the README, LICENSE, latest release and issues first.
  • Make an onboarding checklist for deployment dependencies, VRAM, data, network and permissions.
  • Run a small sample first, then decide on production; never start with production data.

GitHub repository ↗ Docs ↗ Add to compare

Snapshot: stars / forks / language / license / pushed_at come from the GitHub API snapshot on 2026-11-20; later changes are not written back. Tags and “fit / not fit” are editorial judgments, not GitHub metadata.
No endorsement: this site only indexes and flags risks; it does not audit code, guarantee security or make license decisions for you. Review repository scripts and model weights yourself.