Python

Surya

Modern OCR with layout detection
by VikParuchuri · GPL-3.0
21 524stars1 568forksPythonlanguageyesterdaylast push
Document AI & OCROCR toolkitGPL-3.0Runs locallyPythonIntermediate

From the README

Install
pip install surya-ocr

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 Surya?

Surya is a modern OCR toolkit providing text recognition in 90+ languages plus layout analysis, reading order and table detection.

Why people choose Surya

Surya at a glance

CategoryDocument AI & OCR
TypeOCR toolkit
LicenseGPL-3.0
Runs locallyYes
Built withPython
Skill levelIntermediate
Best fordevelopers who need OCR beyond plain text
See GitHub stats & activity

Open-source alternatives to Surya

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

MarkItDownTurn any office document into clean MarkdownMarkerConvert PDFs to clean Markdown fastDoclingIBM-grade document understandingPaddleOCRIndustrial OCR with tiny modelsUnstructuredTurn any file into LLM-ready dataFirecrawlTurn websites into LLM-ready MarkdownCrawl4AIOpen-source LLM-friendly crawlerolmOCRTurn PDFs into clean training-grade textMinerUPDF 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

Surya head-to-head

Surya vs MarkItDownSurya vs MarkerSurya vs DoclingSurya vs PaddleOCRSurya vs UnstructuredSurya vs FirecrawlSurya vs Crawl4AISurya vs olmOCRSurya vs MinerUSurya vs TesseractSurya vs PDF to MD ConverterSurya vs RemoveHandwritingSurya vs Transmonkey

FAQ

Is Surya free?

Surya is free and open-source (GPL-3.0 license), so you can use, self-host and modify it at no cost.

Can I run Surya locally?

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

What is the best alternative to Surya?

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 →