Marker installed in 14 seconds in our sandbox, then the test command exited 1 with two errors. Use it if you want a programmable document converter and can compare the output with the original. Skip it if your workflow requires complete, unattended conversion without a human quality check: the column and chemistry reports below describe mistakes that a successful command alone wouldn't catch.
What people use Marker for
Marker supports document search, archives and OCR workflows through its documented conversion outputs, while GitHub users describe multilingual PDFs, annual reports and application integrations. Their reports connect those uses to specific results: removed headers, working conversion inside Streamlit, and completed annual-report processing alongside substantial RAM consumption. Reading these reports together gives developers concrete output and resource checks for a document workflow.
- nekiee13 used WSL on Windows 11 for English, Croatian and Slovenian PDFs. They praised removal of headers, footers and sidelines, but reported interleaved columns and sometimes missing paragraphs. The maintainer offered a development branch with improved ordering. This was an early report, with a May 2024 reply, rather than a current conversion test.
- flight505 integrated Marker with Streamlit and LightRAG. The application worked while Streamlit warnings repeated. The maintainer distinguished the warning from a separate debug-font failure, so matching the exact error mattered more than the alarming appearance of the console.
- dldx converted a 200-page annual report in Google Colab. They reported good output and completion, but RAM reached 75 GB despite low video-memory use. That historical result shows why output quality and affordable operation need separate decisions.
- MauritsBrinkman described a team's OCR workflow on an M3 Max. They preferred Marker's customization, especially image descriptions, while calling local speed a bottleneck for thousands of text-heavy documents. The discussion concerns the older architecture and closes with the maintainer pointing to Marker 2.0.
These are identifiable users describing their own workloads. For annual reports or academic papers, their failure cases give you a useful acceptance checklist: text completeness, reading order, image placement and rendered formulas. The checks address different parts of the document: a report can finish processing while still losing paragraphs, and recognizable prose can coexist with incorrectly rendered chemistry.
What you can do with Marker
Marker is Datalab's Python library and command-line tool for converting documents into Markdown, JSON, HTML or chunks for search applications, according to its README. Markdown is readable text with formatting markers; JSON preserves structured information that your application can process. Optical character recognition, or OCR, reads text from page images when a PDF has no usable text layer.
The documented inputs include PDFs, images and Office documents; the installation instructions require marker-pdf[full] for non-PDF formats. You can save extracted images, remove running headers and footers, or customize the processing steps. For a document-search application, the useful distinction is between readable Markdown and structured output with page-layout coordinates. Choose the latter when your interface needs to show where a passage came from.
This review concerns datalab-to/marker, the document converter. Marker.io describes a website-feedback widget, a different product. For this converter, the README's output descriptions are more useful than the shared name: Markdown includes image links and formatted tables, JSON organizes pages and blocks in a tree, and chunks flatten top-level blocks for retrieval applications. Those formats determine what your application must preserve after conversion.
What happened when we ran it
Our November 28, 2026 run at commit 08d6888 recorded a successful install in 14 seconds and build in 1 second, followed by a test command that failed after 41 seconds. The configuration specified 3 CPUs, 8 GB RAM and image ghcr.io/astral-sh/uv:python3.12-bookworm. We measured repository setup and test execution at that commit; the latest release record identifies v2.2.0, released November 12, 2026.
| Repository check | Our recorded result |
|---|---|
| Install | Succeeded in 14 seconds; 93 dependencies recorded; 609 MB on disk |
| Build | Succeeded in 1 second |
| Tests | Exit 1 in 41 seconds; 47 passed, 0 failed, 71 skipped, 2 collection/setup errors |
| Repository scan | 281 files; approximately 22,307 source lines; 15.2 MB checked out |
| Automation signals | 4 CI workflow files; a tests directory; no Dockerfile detected |
The test output first counted passing cases, then ended with errors for tests/builders/test_overriding.py and tests/security/test_security_hardening.py. The visible traceback for the latter imports TestClient from fastapi.testclient and ends with ModuleNotFoundError: No module named 'fastapi'. Zero failed test cases doesn't make this a passing suite: the command exited unsuccessfully with two collection/setup errors.
Pytest's own summary reads 47 passed, 71 skipped, 2 errors in 32.17s; the outer test step took 41 seconds. Those clocks cover different scopes. The parser also labels the result "of 49," which doesn't reconcile all the skips into a useful exhaustive denominator. The individual counts and failed command are the useful findings. The visible FastAPI exception identifies the import that stopped the security-test module.
A separate deployment attempt stopped at its Compose safety check because no Compose file existed. It searched for compose.yaml, compose.yml, docker-compose.yaml and docker-compose.yml. The word "unsafe" in that check describes the runner's missing-file rule. Its generic run entry says it deployed with Compose and bound ports to localhost, contradicting the failed step. The teardown entry reports "ok".
Where people get stuck
Issue #442 separates a Streamlit warning from a debug-font error, while #50 and #755 describe defects in converted output. That distinction changes the response: console warnings call for checking whether the operation finishes, whereas missing paragraphs and malformed chemistry call for inspecting the resulting document. The symptom table keeps the reporter's outcome beside the action supported by the discussion.
| Symptom and reporter | What the discussion actually supports | Useful response |
|---|---|---|
| Streamlit warnings, flight505 in #442 | The maintainer says the torch.classes message is a Streamlit warning; flight505 says conversion works. | Check whether conversion finishes before treating this message as the failure. |
| Debug rendering fails in #442 | The maintainer attributes locations (loca) table missing to debug-image fonts and says it appears when debug is selected. |
Avoid the reported debug trigger while investigating fonts. |
| Two columns interleave, nekiee13 in #50 | Improved ordering was offered on a development branch; the discussion predicts a later release. | Compare column transitions and paragraph completeness against the PDF. |
| Chemistry renders incorrectly, jj-a-li in #755 | The reporter says output improved but some HTML subscripts still appeared inside math delimiters; the maintainer promised a patch. | Inspect rendered formulas in the Markdown viewer you will actually use. |
| MPS table recognition crashes in #827 | Several users confirm CPU execution works; the last maintainer reply says the fix hasn't been released yet. | For the affected historical versions, TORCH_DEVICE=cpu is a reported workaround. |
The chemistry report deserves attention if you archive scientific papers. A subscript can look reasonable in raw text while failing when HTML is wrapped inside LaTeX math delimiters. Removing stray escapes alone doesn't resolve that mismatch. In #755, the reporter explicitly distinguishes substantial improvement from residual errors. A difficult chemistry page therefore belongs beside prose when you inspect a converted scientific document.
Page chunking and model memory are different controls
AkshayBhure098 reported running out of memory on an 8 GB CPU machine with 2 CPUs while sending five pages at a time from a 246-page PDF in issue #825. Splitting a PDF limits the document handled in one operation; it doesn't automatically remove resident models. A later contributor in that discussion explicitly distinguishes document memory from the five predictors used in Marker 1.x.
The contributor tarun-menta suggested setting recognition, layout, detection and OCR-error batch sizes to one. That advice concerns the affected architecture. The same discussion explains that larger batches require more memory and declines to prescribe universal concurrency numbers. Our 609 MB installation footprint measures disk usage. For conversion, mode selection, document size, model residency and concurrent workers describe separate resource demands.
Historical batch reports show a second resource limit. Marco-Almbauer's Colab experiments in #205 used more than 10 workers on an A100 and overloaded the CPU; two workers ran without problems in that report. Increasing workers then produced roughly three PDFs per minute for around 10 minutes before CPU overload returned. Current Marker documents a shared inference server and budgets its concurrency across conversion workers; raising --workers still costs CPU according to the README.
For recovery, the README documents --skip_existing to skip files that already have output. That flag resumes folder processing by output existence. In #825, a contributor describes a separate page-checkpoint controller that records completion after checking a page's Markdown and required metadata. These are different completion rules: an existing output file and a checked page checkpoint answer different questions about a resumed job.
Mac performance reports belong to their versions
EHadoux's September 2025 report concerns Marker 1.9.2 on an M1 Max with 32 GB memory. In issue #875, they reported roughly 540 seconds for eleven PDF pages with Marker and 18 seconds with their Tesseract pipeline, including conversion to PNG. The maintainer explains that the published Marker benchmarks used an H100 GPU. Those hardware and workload details belong alongside the timings.
Other users in #875 and #888 reported improvement after returning to 1.8.0. In #888, mattijsdp reported a change from 27 minutes on 1.10.1 to 50 seconds on 1.8.0 on an Apple M4 with 32 GB memory. The thread ends with VikParuchuri closing it as stale because Marker 2.0 introduced a different architecture and dependencies.
Today's README documents fast as the CPU and Apple Silicon default, using in-process Indra ONNX layout and OCR. That is the documented starting mode for a Mac evaluation. The older downgrade reports describe the five-model generation and its performance problems; selecting 1.8.0 to follow those reports means choosing that older software architecture as well as its reported speed behavior.
Local conversion and optional model services have different data paths
Marker documents optional --use_llm processing with configurable providers, including hosted services and Ollama. Configuring a hosted provider directs that processing through the selected service. The LLM-service instructions identify configuration fields for Gemini, Claude, OpenAI-compatible endpoints, Azure, Vertex, OpenRouter and Ollama. Choosing the provider therefore also chooses the destination used by that processing step.
The local modes differ operationally. The README says fast and no_ocr require no external vision-language-model server, while balanced and vllm use a local Surya inference server. A vision-language model reads visual content as well as text. The documented NVIDIA route uses Docker and the NVIDIA Container Toolkit; CPU or Apple Silicon server-backed operation uses llama.cpp's llama-server. These requirements follow the mode you select.
For commercial suitability, the README's commercial-usage section separates Apache 2.0 code from model weights under a modified AI Pubs Open Rail-M licence. It describes free weights usage for research, personal use and startups under $5 million funding/revenue, with commercial licensing beyond that boundary. The code licence and the model licence therefore answer separate permission questions for a business deployment.
Marker vs Docling, Tesseract and MinerU
Docling documents an MCP connection for agents, while Tesseract documents an OCR engine with text and PDF outputs. Those primary-source differences give developers concrete selection criteria alongside Marker's document-conversion modes. The comparison below organizes candidates by the interface or deliverable they address, including the local-parser-versus-API question raised by a Chinese-language Bilibili title.
| Alternative | What makes it relevant | When to evaluate it instead |
|---|---|---|
| Docling | Its README documents an MCP connection for agents, alongside document conversion. MCP is a protocol for connecting agents to tools. | You need that documented agent interface as part of your conversion workflow. |
| Tesseract | EHadoux's historical eleven-page comparison favored their Tesseract pipeline on an M1 Max. | Basic OCR is the task, and you can compare text completeness separately from layout reconstruction. |
| MinerU | A Bilibili search result names a local Marker vs MinerU API comparison. | You are deciding between operating a local parser and using an API. |
The Tesseract project README lists plain text, searchable PDF and other output formats. That makes it a candidate when recognized text is the deliverable. Docling's README describes page layout, reading order, table structure and a unified document representation, alongside its agent connection. These descriptions identify what to compare: the recognized words, the reconstructed structure and the interface your application will call.
MarkItDown also appears in a seven-PDF comparison title alongside Marker, Docling and MinerU in the Bilibili search results. The two Chinese-language titles frame different decisions: choosing among four converters, and choosing local Marker versus MinerU API. For either decision, a document set containing a difficult table, a scan and a multi-column page makes the output differences visible against the originals.
What the other reviews get wrong
PromptQuorum presents Surya server prerequisites as part of first use, but the Marker README distinguishes server requirements by mode: fast and no_ocr need no external VLM server. Its Marker review describes Docker or llama.cpp as first-use requirements without that distinction. A CPU workflow using the documented default fast mode has a different setup path from server-backed balanced or vllm processing.
PromptQuorum also says "No GUI installer or desktop app exists." A browser viewer does not contradict that statement about installers or desktop applications. The omission is a separate inspection option: the README documents a built-in interactive web viewer launched with marker_gui. It shows layout blocks, reading order, text lines, stage timings and rendered output page by page in a browser.
The review's CPU/MPS compatibility statement is also less useful than naming a mode and architecture. Marker 1.x issue reports describe specific table crashes and slowdowns, while the current README identifies in-process fast as the CPU/MPS default. PromptQuorum correctly separates code and model licences; that distinction survives this correction. The actionable changes are mode-specific prerequisites and inclusion of the browser inspection option.
Questions people ask
Marker's documented setup starts with Python 3.10+, PyTorch and marker-pdf; choosing it also requires output checks and attention to the separate weights licence. The questions below connect those decisions to the README, historical issue reports and comparison questions people raised. For document search or archives, successful installation, complete text and permission to use the chosen models are separate acceptance decisions.
How does Marker compare with Docling for PDF conversion?
Docling documents an agent connection through MCP; Marker documents conversion modes and layout-aware output in its README. Docling also describes a unified document representation and multiple export formats. Choose the interface and document structures your application needs, then compare identical PDFs for text, reading order and tables. That turns a broad product comparison into checks tied to your output requirements.
Should I choose Marker, MarkItDown, Docling or MinerU for my PDFs?
A Bilibili comparison title names seven PDFs and all four converters. For a selection, define the defects that would reject an output: missing text, damaged tables or misplaced images. Marker's historical issues give concrete examples of those checks, especially omitted paragraphs in #50 and chemistry rendering in #755. Use the same originals and acceptance rules for each converter you evaluate.
Should I deploy Marker locally or use MinerU API?
A Bilibili title compares local Marker with MinerU API. For Marker, the README gives concrete local choices: in-process fast and no_ocr, or server-backed balanced and vllm, plus optional LLM processing. Start the local side of the decision with those documented requirements, the document formats you need and the hardware you intend to operate.
Is Marker free for commercial use?
The README distinguishes Apache 2.0 code from separately licensed weights. Its summary allows free weights use for research, personal use and startups under $5 million funding/revenue, and directs other commercial users to licensing. A business evaluating Marker needs both parts of that description: the permissive code licence and the model-weight terms associated with its chosen deployment.
Does Marker need a GPU, or can I use CPU or Apple Silicon?
The README documents fast and no_ocr without a GPU or external VLM server, and makes fast the CPU/MPS default. balanced and vllm use a Surya inference server, with backend requirements that depend on the hardware. The practical setup question is therefore which mode you plan to run; selecting CPU does not by itself describe the entire conversion pipeline.
How do I install Marker on Windows, and can Docker or Pinokio simplify setup?
The current README gives pip install marker-pdf, requires Python 3.10+ and PyTorch, and specifies marker-pdf[full] for non-PDF formats. The early Windows discussion in #12 asks about Docker and Pinokio and discusses older installation instructions. Use the current package and mode requirements as the starting point, keeping that earlier Windows troubleshooting attached to its historical dependencies.
Can Marker extract images from PDFs and keep them in the Markdown?
The README documents image extraction and Markdown image links, with image files saved in the same folder. Its Python example returns text and images separately. Preserve the associated image files when moving the Markdown so its relative references retain their targets. Early issue #2 describes the earlier behavior that prompted requests for embedded-image extraction.
Can Marker convert a homework PDF into a complete Markdown file?
kshitijsachan asked for that workflow in issue #2, particularly to retain images. The current README documents Markdown output, extracted images and equations, making those the relevant features for an assignment containing prose, diagrams and formulas. Compare each required element with the original: #50's omitted paragraphs and #755's chemistry rendering illustrate why those elements deserve separate inspection.
Why does Marker mix the left and right columns of a PDF?
In #50, the maintainer suggested the ordering model might misclassify the pages, then offered improved ordering on a development branch. The reporter also proposed a PDF-version explanation; the maintainer said they had not investigated that possibility. The supported diagnostic focus is the ordering behavior on the affected pages, including transitions between columns and the presence of all paragraphs.
Why does Marker exhaust memory even when I split a PDF into small page batches?
A contributor in #825 distinguishes document chunking from resident model memory: smaller page groups reduce document and intermediate state while the five Marker 1.x predictors can remain in memory. Their sequential model-offloading technique concerns Marker 1.10.2. The same discussion describes page isolation and checkpoints as a separate approach, using a fresh worker for each page and recording completion after checking its output.
How should I set batch sizes, workers and concurrency for my hardware?
The current README documents --workers and shared-server concurrency. Start with the selected mode's defaults and measure your documents before increasing workers. In #825, tarun-menta explains that larger batch sizes use more memory and declines to give exact universal concurrency numbers. The historical #205 A100 report also shows CPU overload after increasing conversion workers.
Can I disable OCR or text detection when I do not need them?
The README documents --mode no_ocr and --disable_ocr for embedded-text extraction without OCR calls. That route still performs layout work using Indra ONNX. The command documentation says --disable_ocr skips equations and scanned pages. Choose it for the text-layer extraction task it describes, keeping its page and content behavior distinct from the OCR modes used to recognize page images.
What we have not tested yet
Our run covers repository install, build and tests at 08d6888, not conversion accuracy, current Mac performance or production memory sizing. We have not converted a known-answer document, compared parsers on the same files, exercised the browser viewer, inspected image completeness or rendered the chemistry examples ourselves. The v2.2.0 release record is separate from the tested commit; current README behavior is documentation evidence rather than an exact-tag conversion result.
The deployment attempt stopped before a document task, and its generic deployment entry contradicts the failed safety step. There are no conversion screenshots or question-answer results from that attempt. The missing-Compose-file rule is not a vulnerability finding. The visible test tail leaves the builder error's cause and FastAPI's absence unexplained; the image label alone does not identify the complete runtime toolchain or actual operating-system version.
The run also leaves skipped-test behavior, network exposure, authentication, provider retention and hosted-service privacy terms outside the measured scope. Security-test filenames are not a security audit. Model licensing requires the actual weights' terms rather than a legal conclusion from the README summary. Rendered page layout, resolved links, related links and recommendation modules also need a separate check beyond this text review.
The historical discussions do not provide released-fix confirmation for every ordering, chemistry and memory complaint, and closure after Marker 2.0 is not a workload retest. Bilibili search titles supply comparison questions rather than transcripts, scores or conclusions. The records therefore support neither a current parser winner nor a current Docker or Pinokio one-click installation result. A useful next run would compare original PDFs with rendered output and record peak RAM before adding workers.


