Surya is an open-source OCR and document AI toolkit covering 90+ languages with layout, reading order, and table recognition.
Surya is a family of fast, accurate document AI models from Datalab. Its toolkit includes OCR across 90+ languages, layout analysis, reading order detection, table recognition, and formula detection — all running locally. Benchmarks place it among the best open OCR systems, especially on multilingual and noisy documents. It is used standalone via Python or through Datalab’s hosted API, and pairs with Marker for full document conversion.
Surya’s models were trained with multilingual and noisy documents in mind, which makes it a go-to for archives, forms, and international paperwork. In benchmarks shared by Datalab, it competes with and often beats major cloud OCR services on layout-aware accuracy.
The model family keeps improving through public releases, and the benchmarks published by Datalab make comparisons easy. For teams handling forms, archives, and multilingual paperwork, Surya offers cloud-grade OCR with local execution.
Surya’s models and code are free and open source. Datalab offers paid hosted processing for teams that prefer not to run models themselves.
Developers building document pipelines for multilingual, technical, or scanned content who want top-tier OCR without vendor lock-in.
Yes, the open-source toolkit is free; hosted processing is a paid convenience option.
Yes, Datalab provides a hosted API alongside the local library.
Compared with Tesseract and cloud OCR APIs, Surya offers stronger multilingual accuracy and full layout analysis in one open toolkit.
Yes, the open-source license permits commercial use; verify the specific license terms for your deployment.
Surya runs on CPU or GPU, with GPU recommended for batch workloads.
Text with bounding boxes, layout structure, reading order, and table data in structured formats.
Yes, Datalab offers hosted API processing for teams that prefer not to run models locally.
On multilingual and layout-heavy documents, Surya generally delivers higher accuracy.
Surya runs locally with open weights, combining multilingual OCR, layout analysis, and table recognition without sending documents anywhere.