By · Last updated 2026-04-01

Back to BlogTechnical

Arabic & Hebrew PII: Western Tools Fail

GDPR doesn't end at the Bosphorus. Arabic and Hebrew PII in EU business workflows is systematically unprotected. XLM-RoBERTa cross-lingual detection and.

April 1, 20268 minute read
Arabic PII detectionHebrew NERRTL text processingMENA GDPR complianceXLM-RoBERTa multilingual

The RTL Compliance Gap

GDPR does not end at the Bosphorus. EU companies that use Latin-script tools have a blind spot. It is real and it is largely ignored.

The problem is not just text direction. Right-to-left scripts need different tokenization. They need different segmentation. Entity boundaries work differently than in LTR text. NER systems trained on English apply LTR rules. Those rules break on RTL text. They give wrong entity boundaries.

Arabic morphology makes things harder. The language uses roots. One root gives dozens of word forms. A name like Mohammed can appear as "Al-Mohammed," "bin Mohammed," or "Mohammed al-Rashid." Regex patterns built for Western names miss these forms. Models trained on English miss them too.

GDPR does not treat language as a compliance boundary. An EU firm processing customer mail from MENA clients must meet the same rules as for French mail. Missing PII in RTL text is a legal failure under GDPR Article 32.

The KYC Use Case

A Dubai fintech processing KYC documents for EU clients shows this clearly.

KYC files for Arab clients hold names in RTL script, UAE Emirates IDs, and RTL addresses. These sit beside English business text.

The Emirates ID format is 784-XXXX-XXXXXXX-X. Country code 784. Birth year. Seven digits. Check digit. Western PII tools with no UAE entity definitions cannot find this format. The name fields go through Latin-script NER. The segmentation is wrong. PII becomes invisible in the workflow.

For firms with GDPR duties over this data, the gap creates real legal risk. GDPR Article 32 requires appropriate technical measures. A tool that misses identifiers in 22% of the world's languages is not an appropriate measure.

Hebrew and Mixed-Language Documents

Hebrew presents similar problems. The script runs right to left. Israeli ID numbers use a checksum — a Luhn-like test on nine digits.

Israeli legal documents often mix Hebrew, Arabic-script text, and English in one file. This is common in contracts where Hebrew is the main language and English terms are added by reference.

Mixed-script files need script detection before NER. Without it, a single NER pass applies Latin rules to RTL scripts. The output is wrong.

Research in Nature Scientific Reports (2025) tested cross-lingual NER on RTL PII. Standard models scored F1 of 0.60–0.83. XLM-RoBERTa fine-tuned on RTL NER data scored 0.88 and above.

The Cross-Lingual Architecture Requirement

Good RTL PII detection needs three things that Western-first tools usually lack.

RTL text handling: Unicode bidirectional compliance for correct text flow. RTL-aware tokenization that finds word boundaries in right-to-left text.

Morphology-aware NER: A morphological analyzer like Farasa for Arabic, or a transformer model fine-tuned on RTL NER data. The model must have learned morphological variation.

Region-specific entity types: Emirates ID, Israeli ID, Saudi National ID, and Egyptian National ID each need explicit definitions with format rules. Generic Western tools do not have these.

See how our multilingual NER pipeline handles script detection across 48 languages. For the full list of MENA identifier types we support, visit the entity catalog. Our GDPR compliance guide covers how detection gaps create Article 32 exposure.

Sources

Ready to protect your data?

Start anonymizing PII with 285+ entity types across 48 languages.

About this page

We update this page when our platform or the law changes.

Read our founder note for how we work.

Each change shows up in the timestamp at the top.

Related reading

We follow these rules

  • GDPR (EU 2016/679).
  • ISO/IEC 27001:2022.
  • NIS2 (EU 2022/2555).
  • HIPAA safe harbor under 45 CFR § 164.514(b)(2).

Our promise

We do not sell your data.

We do not train models on your text.

We store your files in Germany.

You can delete your account at any time.

You own your work.

Where we run

Our servers live in Falkenstein, Germany.

We use Hetzner. They hold ISO 27001 certification.

All data stays in the EU.

Backups run every day.

Need help?

Email support@anonym.legal.

We reply within one business day.

How we test

We run a full check suite on every release.

Each surface gets its own sweep script and report.

Human reviewers spot-check the output each week.

We track recall and precision on a labelled set.

Bad runs block the deploy.

What we never do

  • We never sell your information to third parties.
  • We never train models on what you upload.
  • We never keep your work after you delete it.
  • We never share keys with any outside firm.
  • We never run ads inside the product.

Plans in plain words

We sell credits, not seats.

One credit covers one short job.

Long jobs use a few credits each.

You can top up at any time.

Unused credits roll over each month.

Read the plans page for current rates.

Who built this

A small team of engineers and lawyers built this.

We ship from Europe and work in the open.

Our founder note spells out why we started.

Where to start

How the parts fit

A browser add-on cleans text inside Chrome.

A Word plug-in handles drafts in Office.

A small desktop tool works on whole folders.

An agent protocol link feeds large models safely.

All four share one core engine and one rule set.

Words from our team

We started this work after a lunch about cookies.

One friend kept getting odd ads on her phone.

We asked why a court file leaked through a draft.

We sketched the first build on a napkin that week.

By month three we had a tiny demo for a friend.

She used it on her first case the next day.

Common questions we hear

Can the tool read scanned PDFs? Yes, with OCR.

Does it work on long files? Yes, in small chunks.

Can I roll my own rule set? Yes, save it as a preset.

Does it run offline? The desktop build runs offline.

Do you keep my files? No, the cloud build wipes after each run.

Will it learn from my work? No, we never train on inputs.

A short tour of the workflow

Upload a file or paste a snippet of prose.

Pick the entities you want gone from the draft.

Choose a method: replace, mask, hash, encrypt, or redact.

Press run and watch the side panel show each hit.

Skim the result and tweak any rule that misfired.

Save the cleaned file or send it to a teammate.