Python

olmOCR

Turn PDFs into clean training-grade text
by allenai · Apache-2.0
19 796stars1 657forksPythonlanguage213 days agolast push
Document AI & OCROCR pipelineApache-2.0Runs locallyPythonIntermediate

From the README

Install
pip install olmocr

Excerpts from the project README on GitHub. Copyright and licensing remain with the respective authors.

A high count usually means the project is heavily examined. A low count usually means it is little examined — not that it is safe.
No public activity signals for this tool — it has no open repository we can measure.
Olud Pulse ⓘ ★★★★★★★★★★ /100 signals tracked
🐳 Docker pulls 📦 PyPI downloads / month 📦 npm downloads / month 🚀 Latest release ·
Visit website →View on GitHub

What is olmOCR?

olmOCR from AI2 converts messy PDFs into clean linearised text at scale, preserving reading order across columns and figures.

Why people choose olmOCR

olmOCR at a glance

CategoryDocument AI & OCR
TypeOCR pipeline
LicenseApache-2.0
Runs locallyYes
Built withPython
Skill levelIntermediate
Best forbulk PDF extraction for RAG or training
See GitHub stats & activity

Open-source alternatives to olmOCR

Other open-source document ai & ocr tools worth comparing:

MarkItDownTurn any office document into clean MarkdownMarkerConvert PDFs to clean Markdown fastDoclingIBM-grade document understandingSuryaModern OCR with layout detectionPaddleOCRIndustrial OCR with tiny modelsUnstructuredTurn any file into LLM-ready dataFirecrawlTurn websites into LLM-ready MarkdownCrawl4AIOpen-source LLM-friendly crawlerMinerUPDF to Markdown with formulas and tablesTesseractThe classic OCR enginePDF to MD ConverterTurn a text-layer PDF into Markdown without uploading itRemoveHandwritingErases handwriting from images and PDFs, printed text keptTransmonkeyTranslates documents, images, audio and video files

olmOCR head-to-head

olmOCR vs MarkItDownolmOCR vs MarkerolmOCR vs DoclingolmOCR vs SuryaolmOCR vs PaddleOCRolmOCR vs UnstructuredolmOCR vs FirecrawlolmOCR vs Crawl4AIolmOCR vs MinerUolmOCR vs TesseractolmOCR vs PDF to MD ConverterolmOCR vs RemoveHandwritingolmOCR vs Transmonkey

FAQ

Is olmOCR free?

olmOCR is free and open-source (Apache-2.0 license), so you can use, self-host and modify it at no cost.

Can I run olmOCR locally?

Yes. olmOCR is designed to run on your own machine or server, keeping your data private.

What is the best alternative to olmOCR?

Popular open-source alternatives include MarkItDown, Marker, Docling. See the comparisons above to choose.

Explore more open-source AI

Browse the full directory of open-source AI tools, models and projects — updated daily.

Browse all tools →