By · Last updated 2026-05-29

Back to BlogGDPR & Compliance

NAIH Hungary: TAJ-Szám and Adóazonosító Jel

Hungarian NER accuracy is 67% vs. EU average 82% — NAIH's 2024 assessment. TAJ-szám weighted checksum and adóazonosító jel detection gaps.

May 29, 20267 minute read
Hungary NAIHTAJ-szám detectionHungarian NERHungarian GDPR complianceAI DPIA

NAIH Hungary: TAJ-Szám and GDPR Technical Requirements

Updated for 2026

Hungary's data authority is NAIH. Its 2024 report found that NER accuracy for Hungarian is only 67%. The EU average is 82%. That gap creates real risk. Tools built for English or German miss Hungarian identifiers at high rates.

Why Hungarian NER Scores Low

Three features of Hungarian break standard NLP models.

Agglutination: Hungarian adds suffixes to root words. The same name takes many forms in a sentence. "Kovács Péter" in subject position becomes "Kovács Péternek" in another role. NER models must link all those forms to one person.

Name order: Hungarian puts the family name first. Most NLP models expect given name first. That reversal causes missed detections.

Special characters: Hungarian uses ő and ű. These are not the same as German umlauts. Mixed encoding — Windows-1250 vs UTF-8 — also causes failures.

These three factors explain most of the accuracy gap in NAIH's 2024 report.

TAJ-Szám: Hungary's Social Security Number

The TAJ-szám (Társadalombiztosítási Azonosító Jel) is a 9-digit number. It appears in healthcare, payroll, social benefits, and pension records.

Checksum: Multiply digits 1 to 8 by weights 3, 7, 3, 7, 3, 7, 3, 7. Add the results. Take modulo 10. That gives the check digit.

This algorithm is unique to Hungary. It is not the same as the Luhn algorithm used in other countries.

Generic tools detect TAJ-szám at only 61% accuracy, per the NAIH 2024 report. The 9-digit format looks like many other numbers in Hungarian documents. Without the checksum step, tools flag false positives and miss real ones.

Adóazonosító Jel: Hungary's Tax ID

The adóazonosító jel is a 10-digit personal tax number. The first digit is always 8. It appears in employment records, tax filings, and financial documents.

Checksum: Take digits 2 to 9. Multiply by weights 9, 7, 3, 1, 9, 7, 3, 1. Add the results. Take modulo 10. That is the check digit. A result of 0 means the check digit is 0.

NAIH enforcement cases show this number is often missed in HR documents when tools are set up for other languages.

See our EU national tax ID guide for how these numbers compare across member states.

NAIH's DPIA Requirement for AI Systems

NAIH's 2024 guidance requires a completed DPIA before any AI system processes personal data. This is more strict than the general GDPR test. The DPIA must cover:

  1. Data flows — training data, inputs, and outputs
  2. Legal basis — documented for each activity
  3. Language accuracy — required for languages below the EU average
  4. Human review — a way to check automated decisions

The DPIA must be updated each year when the system is retrained.

For teams deploying AI tools on Hungarian data, the order is fixed: DPIA first, then deployment.

Minimum Technical Controls

Three controls form the baseline for NAIH compliance:

  1. TAJ-szám detection with modulo-10 checksum — pattern matching alone is not enough
  2. Adóazonosító jel detection with checksum validation — critical for HR and finance
  3. Hungarian NER with agglutination support — must handle ő, ű, and encoding variants

See our BFDI Germany guide to compare how Central European DPAs set technical requirements. For a similar language gap in Central Europe, see our Czech ÚOOÚ guide.

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.