Skip to main content

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 languages

Constitution, 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 و تصاویر استخراج کنیم

  1. به fastocr.org
  2. تصویر یا PDF فارسی خود را آپلود کنید. زبان به طور خودکار شناسایی می‌شود.
  3. منتظر پردازش بمانید — تصاویر چند ثانیه زمان می‌برند، PDFها نوار پیشرفت را نشان می‌دهند.
  4. دانلود نتایج: PDF قابل جستجو، فایل متنی خام, یا کپی مستقیم متن.

نکاتی برای دقت بهتر OCR فارسی

  1. Use Naskh-style fonts for source documents — OCR accuracy is significantly higher than on Nastaliq
  2. Scan at 300 DPI minimum to preserve dots distinguishing Persian characters like پ, چ, ژ, گ
  3. Verify Persian-specific ی and ک are not replaced with Arabic ي and ك in the output
  4. For documents with Persian numerals (۰-۹), check that they are not converted to Arabic or Western digits
  5. 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

CapabilityFastOCR Dedicated Cloud AIStandard 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 overlayPlain 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.

آپلود متن فارسی ←

Free for images. No registration required.

Free Farsi OCR

Upload & Extract Text

Last updated: July 24, 2026