Farsi OCR — Image to Text & PDF
Free Persian & Farsi OCR Online — استخراج متن فارسی از تصاویر و PDF
Free · No registration for images · AI-powered
فایل خود را اینجا بکشید
PDF, PNG, JPG, WebP, BMP
What is Farsi OCR & Developer API?
Developer API & RAG Docs →Farsi OCR is the automated process of converting scanned multi-page PDFs up to 1GB and documents into editable, searchable Farsi text while preserving right-to-left reading order, connected script, and diacritics. FastOCR reads printed text in this script and generates full-text searchable PDFs with selectable text overlays at near-instant speed. For engineering teams building RAG pipelines, vector search databases, or automated document ingestion, FastOCR also provides a high-speed Farsi OCR REST API at api.fastocr.org with 10 free pages a month for approved accounts. The API accepts PDF files only.
Persian script support
Full support for Farsi characters including پ, چ, ژ, گ.
Right-to-left layout
Native RTL text handling with correct character joining.
Connected cursive
Reads Persian cursive where letters change shape by position.
Mixed Farsi & English
Handles bidirectional documents with both scripts.
Searchable PDF output
Creates PDFs with invisible text layer preserving RTL layout.
Translate after extraction
Extract Farsi text then translate to English or any language.
چرا OCR فارسی چالشبرانگیز است؟
- Right-to-left script with bidirectional text when Persian is mixed with Latin characters or numbers
- Supporting both Nastaliq (calligraphic, diagonal) and Naskh (horizontal baseline) Persian typefaces
- Recognizing Persian-specific characters (پ, چ, ژ, گ) that extend the Arabic character set
- Handling the Persian ی and ک which differ visually from their Arabic counterparts (ي, ك)
- Processing documents with Persian numerals (۰-۹) alongside or instead of Western digits
- Correctly interpreting Ezafe construction markers which are often omitted in print
چگونه متن فارسی را از PDF و تصاویر استخراج کنیم
- به fastocr.org
- تصویر یا PDF فارسی خود را آپلود کنید. زبان به طور خودکار شناسایی میشود.
- منتظر پردازش بمانید — تصاویر چند ثانیه زمان میبرند، PDFها نوار پیشرفت را نشان میدهند.
- دانلود نتایج: PDF قابل جستجو، فایل متنی خام, یا کپی مستقیم متن.
نکاتی برای دقت بهتر OCR فارسی
- Use Naskh-style fonts for source documents — OCR accuracy is significantly higher than on Nastaliq
- Scan at 300 DPI minimum to preserve dots distinguishing Persian characters like پ, چ, ژ, گ
- Verify Persian-specific ی and ک are not replaced with Arabic ي and ك in the output
- For documents with Persian numerals (۰-۹), check that they are not converted to Arabic or Western digits
- Separate multi-column layouts and remove decorative borders before processing
موارد استفاده رایج OCR فارسی
- Digitizing Farsi Islamic texts including Rumi, Hafez, and theological works
- Extracting text from Farsi tafsir and seerah books
- Archiving historical Farsi manuscripts and calligraphy
- Digitizing Iranian legal documents, contracts, and court rulings
- Extracting text from Persian academic publications and university theses
- Processing Iranian government forms, identity documents, and official certificates
- Converting scanned Persian literary works, poetry collections, and historical texts
- Archiving Persian-language business records, invoices, and financial documents
FastOCR vs Standard OCR Apps for Farsi
| Capability | FastOCR Dedicated Cloud AI | Standard Online OCR Tools |
|---|---|---|
| Farsi Script Recognition | ✅ Full native cloud recognition for Farsi (Nastaliq & Naskh cursive ligatures) | ❌ Most online tools do not support Urdu or Arabic at all |
| Right-to-Left (RTL) Layout Flow | ✅ Preserves proper bidirectional RTL reading order | ❌ Scrambles character order backwards (left-to-right) |
| Searchable PDF/A Output | ✅ Dual-layer searchable PDF with coordinate-aligned text overlay | Plain unformatted text dump only or unsupported |
| Instant Web Access | ✅ Zero software installation (runs in mobile & desktop browser) | Requires local CLI libraries or complex desktop setup |
سوالات متداول
Is there a free Farsi OCR tool?
Yes. FastOCR offers free Farsi OCR for images with no registration. PDF processing requires a free account — see fastocr.org/pricing for plan details.
Can I OCR a Farsi PDF and keep the original layout?
Yes. FastOCR creates a searchable PDF that preserves the original scan appearance with selectable, searchable Farsi text and correct RTL positioning.
Does Farsi OCR work on handwritten text?
Partially. Our advanced AI engine recognizes some handwritten Farsi, depending on clarity. Printed text is read more reliably.
Which works better for OCR: Nastaliq or Naskh?
Naskh works significantly better. Characters sit on a horizontal baseline making them easier to segment. Nastaliq is harder to read accurately.
Dedicated Farsi Tools
Explore Specialized OCR Workflows
FastOCR provides dedicated AI text recognition engines optimized for complex document types and formats:
Free for images. No registration required.
Related Articles & Resources
Image to Text
Convert any image to editable text instantly
PDF to Text
Extract text from scanned and native PDFs
OCR for Islamic Books
Digitize Persian theological texts, poetry, and classical manuscripts
Farsi OCR Guide
In-depth guide to Farsi text extraction and Perso-Arabic OCR
Arabic OCR
OCR for Arabic — shares script family with Farsi
Urdu OCR
OCR for Urdu — another Nastaliq-using language
Make PDF Searchable
Turn scanned PDFs into searchable documents
FastOCR vs Tesseract
Compare FastOCR with Tesseract for Farsi OCR accuracy
Free Farsi OCR
Upload & Extract TextLast updated: July 24, 2026