Arabic & Bilingual OCR API · GCC & MENA Ready

Arabic OCR API for Bilingual Documents, Tables & GCC IDs

Turn scanned Arabic and bilingual Arabic–English PDFs, invoices, tables, Istimara, Mulkiya, and regional IDs into deterministic JSON, UTF-8 CSV, and Excel—with automatic Arabic-Indic numeral normalization and zero model training.

No credit card required • Non-expiring credits • Auto-refund on failed pages
RTL + English Mixed Layouts
٠–٩ → 0–9 Normalization
Zero Data Retention Options
POST /v1/invoice · Bilingual Arabic/EN
curl -X POST "https://api.structocr.com/v1/invoice" \
  -H "x-api-key: YOUR_API_KEY" \
  -F "file=@./riyadh-bilingual-invoice.pdf"
RESPONSE 200 OK (SYNTHETIC SPECIMEN)
{
  "success": true,
  "data": {
    "type": "invoice",
    "invoice_number": "INV-2026-4180",
    "date": "2026-11-18",
    "currency": "SAR",
    "language": "ar",
    "merchant": {
      "name": "مؤسسة النور / Al Noor Industrial",
      "tax_id": "310482910400003"
    },
    "financials": {
      "subtotal": 4000,
      "tax_amount": 592.5,
      "total_amount": 4542.5,
      "tax_inclusive": false
    },
    "gcc_compliance": {
      "jurisdiction": "SAU",
      "tax_id_type": "ksa_vat",
      "tax_id_valid": true
    }
  }
}
Built for Production Pipelines, Not Copy-Paste Text Dumps

Why Generic OCR Arabic Tools Break on Real GCC Business Documents

Free online OCR Arabic converters scramble right-to-left text next to English headers, struggle with handwritten form entries, shift multi-page tables, and drop numbers on watermarked cards. StructOCR returns typed JSON and Excel-ready tables built for engineering teams.

Native RTL & Bilingual Layout Parsing

Reads cursive Arabic typography alongside English labels, tabular columns, and watermarks without reversed text order or broken diacritics.

Deterministic JSON, CSV & Excel Output

Move beyond raw text dumps. Enforce strict custom JSON schemas on /v1/pdf-extract or tap dedicated GCC schemas for Istimara, Mulkiya, health cards, and invoices.

Zero Data Retention & Auto-Refund

Strict in-memory zero-retention processing on /v1/pdf-extract and /v1/health-card, zero model training on customer files, and automatic credit refunds on failed requests.

Live Production Response Contracts

Inspect Real Bilingual Arabic & GCC JSON Outputs

Switch across four production StructOCR endpoints to see exact UTF-8 Arabic preservation, Western numeral normalization, and localized GCC structures.

POST /v1/pdf-extract Docs →
POST /v1/pdf-extract — 200 OK (SYNTHETIC SPECIMEN)
UTF-8 JSON
{
  "success": true,
  "mode": "auto",
  "document": {
    "summary": {
      "document_type": "supplier_quotation",
      "title": "عرض أسعار توريد معدات / Equipment Supply Quotation",
      "language": "ar"
    },
    "fields": {
      "quotation_number": "QT-2026-0842",
      "vendor": "شركة الخليج للتجهيزات / Gulf Technical Trading LLC",
      "currency": "AED",
      "total": 18900
    },
    "tables": [
      {
        "id": "table_1",
        "title": "جدول الأصناف / Line Items",
        "page_range": [1, 2],
        "stitched": true,
        "headers": ["Code", "Description", "Qty", "Amount (AED)"],
        "rows": [
          ["GT-102", "وحدة تحكم صناعية / Industrial Controller", "6", "12000.00"],
          ["GT-215", "محول طاقة / Power Supply Module", "10", "6900.00"]
        ]
      }
    ]
  },
  "usage": { "page_count": 2, "pages_succeeded": 2, "credits_charged": 4 }
}
Synthetic specimen — bilingual RTL/LTR scanned schedule stitched into clean UTF-8 JSON & CSV/Excel rows.
One API Key · Six Arabic-Capable Endpoints

End-to-End Document Coverage Across UAE, Saudi Arabia & MENA

Use flexible schema extraction for arbitrary Arabic PDFs and pair it with specialized check-digit endpoints for finance, healthcare, KYC, and fleet onboarding.

2 credits / page

POST /v1/pdf-extract

Arabic PDFs, Tables & Custom Schemas

Extract scanned Arabic & bilingual PDFs up to 10 MB into stitched multi-page tables (UTF-8 CSV / Excel .xlsx) or custom JSON schemas (up to 50 fields).

3 credits / request

POST /v1/invoice

Bilingual GCC & ZATCA Tax Invoices

Parse single- and multi-page Arabic–English invoices (up to 5 pages) with KSA 15-digit VAT / UAE TRN checks, ZATCA Phase 1/2 TLV QR cross-checking, and line items.

3 credits / request

POST /v1/health-card

KSA & UAE Health Insurance Cards

Returns raw Arabic + normalized English fields for Bupa Arabia, Tawuniya, Daman, Thiqa & Nextcare with code-validated 10-digit Iqama and 15-digit Emirates IDs.

3 credits / request

POST /v1/vehicle-registration

Saudi Istimara & UAE Mulkiya Cards

Dedicated regional nodes isolate Saudi 9-digit TGA sequence numbers from plate letters and extract UAE Mulkiya engine numbers, classes, and VINs.

2 credits / request

POST /v1/national-id

Emirates ID, Saudi Iqama & MENA IDs

Formats 15-digit UAE Emirates IDs (784-...), validates 10-digit Saudi National IDs (1...) & Iqamas (2...), converts Hijri dates to Gregorian, and parses Egypt 14-digit IDs.

1 credit / request

POST /v1/license-plate

Arabic License Plates & GCC Logistics

Read bilingual Arabic–Latin license plates, GCC compliance plate VINs, and Saudi/UAE port container codes for fleet, tolling, and customs ops.

Free Interactive Arabic PDF Workbench

Test Arabic & Bilingual PDF Extraction Right Now

Upload any bilingual Arabic–English PDF (up to 10 MB) or try a built-in sample with zero registration required. Export directly to JSON, UTF-8 CSV, or Excel (.xlsx).

5-Minute REST Integration

Drop Into Python, Node.js, or n8n Pipelines

Authenticate with a single x-api-key header across every StructOCR endpoint. No heavy SDK lock-in, no layout training sets, and no Base64 bloat on PDFs.

  • Up to 10 MB binary uploads & 20 pages per call on /v1/pdf-extract
  • UTF-8 native Arabic strings + Western digits (0–9) in predictable JSON schemas
  • Non-expiring pay-as-you-go packs starting at $5 (no recurring seat fees)
import os
import requests

# Extract stitched Arabic & English tables + custom JSON schema from a scanned PDF
with open("bilingual-document.pdf", "rb") as pdf_file:
    response = requests.post(
        "https://api.structocr.com/v1/pdf-extract",
        headers={"x-api-key": os.environ["STRUCTOCR_API_KEY"]},
        files={"file": ("bilingual-document.pdf", pdf_file, "application/pdf")},
        data={
            "mode": "auto",
            "pages": "1-5",
            "stitch_tables": "true",
            "schema": '["vendor_name","document_number","currency","total_amount"]',
        },
        timeout=60,
    )

payload = response.json()
print("Summary:", payload["document"]["summary"])
print("Custom JSON:", payload["custom_data"])
for table in payload["document"]["tables"]:
    print(table["title"], "rows:", len(table["rows"]))
Middle East & Arabic OCR Playbooks

Explore Country-Specific GCC Guides & Code Tutorials

Jump straight to regional schemas, carrier guides, and backend tutorials for Saudi Arabia, UAE, and Egypt workflows.

MENA Identity, Egypt & Port Logistics

Arabic-Indic numeral normalization for Egyptian IDs, vehicle licenses, and GCC maritime terminals.

Arabic OCR API Frequently Asked Questions

Ready to Build with StructOCR?

Get your API key in under a minute. New users receive 200 free credits to test Passport, VIN, License Plate, Container, Receipt, HIN, Driver License, ID Card, Vehicle Registration, Weighbridge Ticket, ATM Cassette and Invoice OCR APIs.

✓ No credit card required · ✓ Instant API key · ✓ Full API access