Multilingual & RTL OCR Reference

All 50 Pre-Baked OCR Languages (Including RTL Arabic, Persian & Urdu)

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 / --langDirectionTry Live
EnglishenLTROpen with en →

Right-to-Left (RTL) (3)

Language (Native — English)Code / --langDirectionTry Live
العربية — Arabic (RTL)arRTL (right-to-left)Open with ar →
فارسی — Persian (RTL)faRTL (right-to-left)Open with fa →
اردو — Urdu (RTL)urRTL (right-to-left)Open with ur →

Latin & Greek (Global) (27)

Language (Native — English)Code / --langDirectionTry Live
Latin — Latin (Global)latinLTROpen with latin →
Deutsch — GermandeLTROpen with de →
Français — FrenchfrLTROpen with fr →
Español — SpanishesLTROpen with es →
Italiano — ItalianitLTROpen with it →
Português — PortugueseptLTROpen with pt →
Nederlands — DutchnlLTROpen with nl →
Polski — PolishplLTROpen with pl →
Svenska — SwedishsvLTROpen with sv →
Dansk — DanishdaLTROpen with da →
Suomi — FinnishfiLTROpen with fi →
Norsk — NorwegiannoLTROpen with no →
Čeština — CzechcsLTROpen with cs →
Magyar — HungarianhuLTROpen with hu →
Română — RomanianroLTROpen with ro →
Türkçe — TurkishtrLTROpen with tr →
Tiếng Việt — VietnameseviLTROpen with vi →
Bahasa Indonesia — IndonesianidLTROpen with id →
Kiswahili — SwahiliswLTROpen with sw →
Tagalog — Tagalog / FilipinotlLTROpen with tl →
Bahasa Melayu — MalaymsLTROpen with ms →
Oʻzbekcha — UzbekuzLTROpen with uz →
Azərbaycanca — AzerbaijaniazLTROpen with az →
AfrikaansafLTROpen with af →
Català — CatalancaLTROpen with ca →
Hrvatski — CroatianhrLTROpen with hr →
Ελληνικά — GreekelLTROpen with el →

Cyrillic & Slavic (7)

Language (Native — English)Code / --langDirectionTry Live
Кириллица — CyrilliccyrillicLTROpen with cyrillic →
Русский — RussianruLTROpen with ru →
Українська — UkrainianukLTROpen with uk →
Български — BulgarianbgLTROpen with bg →
Српски — SerbiansrLTROpen with sr →
Беларуская — BelarusianbeLTROpen with be →
Восточнославянские — East SlaviceslavLTROpen with eslav →

East Asian (4)

Language (Native — English)Code / --langDirectionTry Live
简体中文 — Chinese (Simplified)zhLTROpen with zh →
繁體中文 — Chinese (Traditional)zh_twLTROpen with zh_tw →
日本語 — JapanesejaLTROpen with ja →
한국어 — KoreankoLTROpen with ko →

South & Southeast Asian (8)

Language (Native — English)Code / --langDirectionTry Live
हिन्दी — HindihiLTROpen with hi →
मराठी — MarathimrLTROpen with mr →
नेपाली — NepalineLTROpen with ne →
देवनागरी — DevanagaridevanagariLTROpen with devanagari →
ไทย — ThaithLTROpen with th →
தமிழ் — TamiltaLTROpen with ta →
తెలుగు — TeluguteLTROpen with te →
ಕನ್ನಡ — KannadakaLTROpen with ka →

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`.