# Marker

> Convert PDF to markdown + JSON quickly with high accuracy

Source: https://talira.ai/catalog/marker-0jjg1zab
Every listing: https://talira.ai/catalog.md

- Kind: Source available
- Types: Library, Command-line tool
- Categories: [ai / document parsing](https://talira.ai/categories/ai/document-parsing), [ai / rag / ingestion](https://talira.ai/categories/ai/rag/ingestion), [languages / python](https://talira.ai/categories/languages/python)
- Platforms: linux, macos, windows, web[^3]
- Licence: Apache-2.0 AND Datalab OpenRAIL-M (modified) (source-available)[^1][^5][^6]
- Pricing: Free[^2][^3]
- Pricing notes: Code free under Apache-2.0; model weights free for research, personal use and companies under $5M revenue and $5M funding, otherwise a commercial licence from Datalab (no published price; on-prem through sales). Datalab API: Free ($20 one-time credit), Launch $25/month, Team $400/month, Enterprise custom; Convert per 1,000 pages lite $0.375, fast $1, balanced $3, accurate $7.50; structured extraction from $4.50.
- Free tier: yes[^2][^3]
- Self-hostable: yes[^3]
- Cloud hosted: yes[^2][^3]
- SOC 2: yes[^2]
- HIPAA: yes[^2]
- SSO: yes[^2]
- API: yes[^3]
- Supports: [Agent Skills](https://talira.ai/standards/agent-skills.md)[^3]
- Made by: [Datalab](https://talira.ai/orgs/datalab.md)
- Funding: venture-backed[^7]

Marker is Datalab's document converter: it turns PDFs, images, PPTX, DOCX, XLSX, HTML and EPUB into Markdown, JSON, HTML or RAG-ready chunks, formatting tables, forms, equations (as LaTeX), links and code, extracting images and removing headers and footers. Marker 2 reads the PDF's own text layer with pdftext and routes only scanned, garbled, math, table or non-Latin content to Datalab's [Surya](https://talira.ai/catalog/surya-r0seayx2.md) VLM, with four modes: `no_ocr` and `fast` run entirely on CPU with small ONNX layout and OCR models, `balanced` mixes CPU and a GPU VLM, and `vllm` OCRs every page. An optional `--use_llm` pass with [Gemini](https://talira.ai/catalog/gemini-api-r5x8ntes.md), Claude, OpenAI-compatible models or [Ollama](https://talira.ai/catalog/ollama-gr2tx5nn.md) merges tables across pages and fixes formatting. The code is Apache-2.0, but the model weights are under a modified OpenRAIL-M licence that's free only for research, personal use and companies under $5M in revenue and funding; Datalab sells commercial and on-prem licences and runs a hosted API.

## Links

- GitHub: https://github.com/datalab-to/marker
- Pricing: https://www.datalab.to/pricing

## Problems it solves

- convert research papers full of equations to Markdown with the math as LaTeX
- turn PDFs into Markdown on a laptop CPU with no GPU or inference server
- pull text, reading order and tables out of thousands of born-digital PDFs at dozens of pages a second
- OCR only the scanned or garbled pages and keep the PDF's own text everywhere else
- strip running headers, footers and page numbers when converting PDFs for an LLM
- chunk converted PDFs block by block with HTML for a RAG index
- convert Word, PowerPoint, Excel and EPUB files to Markdown with the same tool as our PDFs
- fix tables that run across pages by letting Gemini or Claude clean up the conversion
- extract just the tables from PDFs as HTML with their page bounding boxes
- run a self-hosted PDF to Markdown HTTP API for our own services
- batch-convert a large PDF archive on one GPU machine without running out of VRAM
- give my coding agent a command that prints a PDF as Markdown to stdout

## Features

- inputs: PDF, images, PPTX, DOCX, XLSX, HTML, EPUB
- outputs: Markdown, JSON block tree, HTML, chunks
- modes: no_ocr and fast (CPU, in-process ONNX), balanced (GPU VLM where needed), vllm (full-page VLM OCR)
- selective OCR of scanned, garbled, math and non-Latin pages
- tables, forms, equations as LaTeX, inline math, code blocks, links
- image extraction and header/footer removal
- optional LLM pass (--use_llm) with Gemini, Vertex, Claude, OpenAI-compatible, Azure OpenAI, OpenRouter or Ollama
- TableConverter and OCRConverter pipelines
- custom processors, renderers and providers
- marker_server FastAPI server and interactive viewer
- batch conversion with shared inference server and multi-node sharding
- agent skill (marker_single --install_skill)

## Limitations

- Model weights aren't free for commercial use by larger companies: over $5M in revenue or funding needs a licence from Datalab, and competing products are barred[^1][^2]
- Complex layouts with nested tables and forms may not convert well: the README lists them as known limitations[^3]

## Ways to run it

### Marker (open source)

You run it, Apache-2.0 AND Datalab OpenRAIL-M (modified) (source-available). Price: free; model weights free for research, personal use and companies under $5M in revenue and funding.[^1][^3]

Only in this edition:

- all conversion modes, CLI, Python API, marker_server

Not included:

- commercial use of the model weights by companies over $5M in revenue or funding

You arrange:

- Python 3.10+ and PyTorch
- for balanced and vllm modes: Docker with the NVIDIA Container Toolkit (vLLM) on NVIDIA GPUs, or llama.cpp's llama-server elsewhere
- API keys for an LLM service if you use --use_llm

Self-hosting docs: https://github.com/datalab-to/marker

### Datalab commercial and on-prem licence

You run it, under a commercial licence. Price: contact sales.[^2][^3]

Only in this edition:

- commercial use of the Marker, Surya and Chandra weights above the revenue and funding thresholds
- on-prem deployment with high-throughput inference optimisations

Pricing: https://www.datalab.to/pricing

### Datalab API

Hosted by Datalab. Price: Free ($20 one-time credit), Launch $25/month, Team $400/month, Enterprise custom; Convert $0.375 to $7.50 per 1,000 pages.[^2][^4]

Only in this edition:

- Chandra and other models, which Datalab says are more accurate than Marker
- structured extraction, form filling, segmentation, redaction, track changes
- SOC 2 Type II report; BAA on Team and Enterprise; SSO and own-VPC on Enterprise; EU processing for 25% more

Pricing: https://www.datalab.to/pricing

## Capabilities

- Has an API: plan not known
- Has a command line tool: plan not known
- Has official SDKs: plan not known
- Has single sign-on: plan not known

## Trust

Overall: 0.52 out of 1.
Signals: backing 0.65, extensibility 0.40.

- made by Datalab
- funding: venture-backed
- security: SOC 2, HIPAA

Warnings:

- GitHub activity not fetched yet

## Related

- Based on [Surya](https://talira.ai/catalog/surya-r0seayx2.md)

## Alternatives

- [MinerU](https://talira.ai/catalog/mineru-c1we7pv6.md): Transforms complex documents like PDFs and Office docs into LLM-ready markdown/JSON for your Agentic workflows
- [olmOCR](https://talira.ai/catalog/olmocr-1g1nbmnq.md): Open toolkit that turns PDFs and scans into clean Markdown with a 7B vision model
- [LlamaParse](https://talira.ai/catalog/llamaparse-ce4hew8s.md): Parse transforms messy documents into AI-ready data at scale
- [PaddleOCR](https://talira.ai/catalog/paddleocr-9cdc22eq.md): Turn any PDF or image document into structured data for your AI
- [Docling](https://talira.ai/catalog/docling-7gb20naa.md): Get your documents ready for gen AI
- [PyMuPDF](https://talira.ai/catalog/pymupdf-xw9pb5xf.md): A high performance Python library for data extraction, analysis, conversion & manipulation of PDF (and other) documents.

## Sources

[^1]: https://github.com/datalab-to/marker/blob/master/MODEL_LICENSE (checked 20 Nov 2026)
[^2]: https://www.datalab.to/pricing (checked 20 Nov 2026)
[^3]: https://github.com/datalab-to/marker (checked 20 Nov 2026)
[^4]: https://documentation.datalab.to (checked 20 Nov 2026)
[^5]: https://github.com/datalab-to/marker/blob/master/LICENSE (checked 20 Nov 2026)
[^6]: https://pypi.org/project/marker-pdf/ (checked 20 Nov 2026)
[^7]: https://pebblebed.com/portfolio/datalab (checked 20 Nov 2026)
