Skip to main content
Marker is a document conversion provider from Datalab that converts PDFs and images to clean Markdown with optional image extraction.

Installation

Basic Setup

Configuration Options

Processing Modes

Usage with Flows

Output: DocumentIR with Markdown

Marker returns DocumentIR with markdown content:

Extracted Images

Marker can extract figures, tables, and charts as images:
To disable image extraction:

Page Selection

Process specific pages to reduce cost and time:

Language Support

Specify OCR languages for better accuracy:

Supported Formats

Pricing

Marker vs Surya

Choose Marker when:
  • You need clean Markdown output
  • You want to extract figures and tables
  • Variable quality/cost tradeoff is useful
Choose Surya when:
  • You need precise bounding boxes
  • Building citation systems
  • RAG with positional data

Example: Document to Markdown

Next Steps

Surya OCR

Text with bounding boxes

Reducto

Chunking and splitting