Tesseract.js OCR online
Tesseract compiled to JavaScript and WebAssembly, so OCR runs in the browser or in Node.js.
PDF, PNG, JPG, WebP, HEIC. Up to 20 MB each, 10 files.No file?
- Model ID
- tesseract/tesseract-js
- Type
- Open source
- Price
- 1 credit / page ($1.00 per 1,000 pages)
- Typical speed
- 2.0 s / page
- Inputs
- images
- Languages
- 100+ languages
- Max pages per request
- 500
- Output
- Markdown, JSON with positions
- License
- Apache-2.0
- Supports
- Bounding boxesConfidenceMultilingual
curl https://api.ocrrouter.ai/v1/ocr \
-H "Authorization: Bearer $OCRROUTER_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "tesseract/tesseract-js",
"file_url": "https://example.com/invoice.pdf",
"format": "markdown"
}'Tesseract.js speed and reliability
Loading…
Measured on our own traffic over the last 7 days.
Tesseract.js pricing
Tesseract.js costs 1 credits per page. One dollar buys 1,000 credits, so 1,000 pages cost $1.00. You only pay for pages that return a result.
New accounts get 50 free credits, enough for about 50 pages with this model. See pricing for credit packs.
Similar models
1PaddleOCR (PP-OCR)Baidu's classic open-source text detection and recognition pipeline. Light enough to run on CPU.
paddle/paddleocr1 credit / page2EasyOCRPython OCR library with a simple API. Returns text lines with boxes and confidence.jaided/easyocr1 credit / page3RapidOCRPaddleOCR models packaged for ONNX Runtime and other engines. Easy to deploy without Paddle.rapidai/rapidocr1 credit / pageAll Tesseract.js alternativesBest OCR models by use case
Compare Tesseract.js
Tesseract.js vs PaddleOCR (PP-OCR)Tesseract.js vs EasyOCRTesseract.js vs RapidOCRTesseract.js vs Qwen-VL-MaxTesseract.js vs DeepSeek-OCRTesseract.js vs OCR.space