Multilingual & RTL OCR Reference
All 50 Pre-Baked OCR Languages (Including RTL Arabic, Persian & Urdu)
Updated 2026-11-28 • Engine pdf-to-csv-table-extractor v1.0.2 • MIT Open Source + Free Online Web App
Quick summary: TableCSV ships with 50 pre-baked OCR languages across 15 ONNX script packs—including right-to-left Arabic (ar), Persian (fa), and Urdu (ur) with python-bidi ordering, European Latin, Cyrillic, Chinese, Japanese, Korean, Greek, Devanagari, Thai, Tamil, Telugu, and Kannada.
Right-to-left (RTL) & multi-script table support
All 50 languages below are pre-baked in the
TableCSV web container across 15 RapidOCR ONNX script packs. Digital PDFs with embedded
Unicode text extract natively regardless of script, while scanned PDFs and raster images
use the selected OCR language pack alongside Unicode-safe fuzzy header matching across
Latin, Cyrillic, Hebrew, Arabic, and CJK scripts.
-
RTL logical ordering: Selecting Arabic (
ar), Persian
(fa), or Urdu (ur) automatically applies
python-bidi logical ordering and renders the interactive browser preview
table right-to-left (dir="rtl").
-
Excel UTF-8 BOM ready: Downloaded CSVs include a UTF-8 BOM by default
so non-ASCII scripts open cleanly in Microsoft Excel without import wizards.
Complete list of 50 pre-baked OCR languages
Default (1)
| Language (Native — English) | Code / --lang | Direction | Try Live |
|---|
| English | en | LTR | Open with en → |
Right-to-Left (RTL) (3)
| Language (Native — English) | Code / --lang | Direction | Try Live |
|---|
| العربية — Arabic (RTL) | ar | RTL (right-to-left) | Open with ar → |
| فارسی — Persian (RTL) | fa | RTL (right-to-left) | Open with fa → |
| اردو — Urdu (RTL) | ur | RTL (right-to-left) | Open with ur → |
Latin & Greek (Global) (27)
Cyrillic & Slavic (7)
East Asian (4)
South & Southeast Asian (8)
Pre-install models or plug in custom ONNX languages offline
# Install with Arabic / Persian / Urdu RTL support
pip install "pdf-to-csv-table-extractor[rtl]"
# Pre-download built-in script packs for 100% air-gapped Docker / server runs
pdf2csv-tables languages install ar de ru ja zh
# Extract an Arabic scanned PDF table
pdf2csv-tables extract arabic_invoice.pdf --lang ar --utf8-bom -o output/
# Register a custom PaddleOCR/RapidOCR ONNX model + dictionary (e.g. Armenian)
pdf2csv-tables languages add hy \
--model ./armenian_rec.onnx --dict ./armenian_keys.txt --name "Armenian"
Frequently asked questions
Does TableCSV support Arabic, Persian, and Urdu PDF tables (RTL)?
Yes. Arabic (ar), Persian (fa), and Urdu (ur) are pre-baked in the TableCSV web app with python-bidi logical ordering and right-to-left table preview rendering (dir='rtl'). For offline Python use, install with `pip install 'pdf-to-csv-table-extractor[rtl]'`.
Are OCR language models downloaded during my upload?
No. All 15 RapidOCR script recognition models covering all 50 languages are pre-baked into a read-only directory at container build time. TableCSV makes zero external model downloads while processing your document.
Why do non-English CSVs sometimes look garbled in Microsoft Excel?
Excel defaults to a legacy local code page when opening UTF-8 CSV files without a Byte Order Mark (BOM). TableCSV enables Excel UTF-8 BOM by default so Arabic, Chinese, Japanese, Korean, Cyrillic, Greek, Turkish, Vietnamese, Hindi, and European accented tables open cleanly on double-click.
Can I add a custom language or domain-specific ONNX OCR model offline?
Yes. The open-source CLI lets you register any PaddleOCR/RapidOCR ONNX recognition model and character dictionary via `pdf2csv-tables languages add`, install portable `.zip` packs, or publish third-party Python entry-point plugins under `pdf_table_extractor.languages`.