Farsi OCR — Image to Text & PDF
Free Persian & Farsi OCR Online — استخراج متن فارسی از تصاویر و PDF
- Persian script support
- Right-to-left layout
- Connected cursive
Free image OCR. No account needed. PDFs use pages.
Open OCR for all languagesConstitution, 1906
Real scan. Unedited OCR.

بنداول قانون اساسی -۵-
صورت قسم نامه
ما اشخاصی که در ذیل امضاء کرده ایم خداوند را بشهادت میطلبیم و بقر آن قسم یاد
میکنیم مادام که حقوق مجلس و مجلسیان مطابق این نظامنامه محفوظ و مجری است
تکالیفی را که بما رجوع شده است مهما امکن باکمال راستی و درستی و جد و جهد
انجام بدهیم و نسبت با عليحضرت شاهنشاه متبوع عادل مفخم خودمان صدیق و راستگو
باشیم و با ساس سلطنت و حقوق ملت خیانت ننمائیم و هیچ منظوری نداشته باشیم جز فوائد
و مصالح دولت و ملت ایران.
اصل دوازدهم
بهیچ عنوان و بهیچ دست آویز کسی بدون اطلاع و تصویب مجلس شورای ملی حق
ندارد متعرض اعضای آن بشود اگر احیاناً یکی از اعضاء علناً مرتكب جنحه وجنايتي
شود و در حین ارتکاب جنایت دستگیر گردد باز باید اجرای سیاست دربارۀ او با استحضار
مجلس باشد.
اصل سیزدهم
مذاکرات مجلس شورای ملی از برای آنکه نتیجه آنها بموقع اجراء گذارده تواند
شد باید علنی باشد روز نامه نویس و تماشاچی مطابق نظامنامه داخلی مجلس حق حضور
واستماع دارند بدون اینکه حق نطق داشته باشند تمام مذاکرات مجلس را روز نامجات
میتوانند بطبع برسانند بدون تحریف و تغییر معنی تا عامه ناس از مباحث مذاکره و
تفصیل گزارشات مطلع شوند هر کس صلاح اندیشی در نظر داشته باشد در روزنامه
عمومی برنگارد تا هیچ امری از امور در پرده و بر هیچکس مستور نماند لهذا عموم
روز نامجات مادامیکه مندرجات آنها مخل اصلی از اصول اساسیه دولت و ملت نباشد
مجاز و مختارند که مطالب مفيدة عام المنفعه را همچنان مذاکرات مجلس وصلاح اندیشی
خلق را بر آن مذاکرات بطبع رسانیده منتشر نمایند و اگر کسی در روز نامجات و مطبوعاتRight-to-left text preserved
Farsi OCR converts images, scans and PDFs containing Farsi (فارسی) text into editable, searchable digital text. FastOCR reads Farsi online: upload an image with no account, or a PDF with a free account, then copy the text or download a searchable PDF. Accuracy depends on scan quality, so check the result against your original.
Try it with your Farsi document
فایل خود را اینجا بکشید
PDF, PNG, JPG, WebP, BMP, HEIC
PDF تا 1 GB · تصویر تا 20 MB
نکتههایی برای عکس واضح
- صفحه را صاف روی یک سطح بگذارید.
- از نور یکنواخت و بدون سایه استفاده کنید.
- فلاش را خاموش کنید تا بازتاب نور نباشد.
- صفحه باید کل کادر را پر کند.
What is Farsi OCR & Developer API?
Developer API 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. For engineering teams building RAG pipelines, vector search databases, or automated document ingestion, FastOCR also provides a Farsi OCR REST API at api.fastocr.org with 20 free pages a month for every signed-in account. The API accepts PDF files up to 1 GiB, and PNG, JPG, JPEG, GIF, WebP and BMP images up to 20 MiB. An image counts as one page.
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 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
PDF to Text
Convert and extract Farsi documents.
Image to Text
Convert and extract Farsi documents.
Searchable PDF
Convert and extract Farsi documents.
Farsi to English Translation
Convert and extract Farsi documents.
English to Farsi Translation
Convert and extract Farsi documents.
All supported languages
Convert and extract Farsi documents.
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