Back to BlogGDPR & Compliance

Internal Employee IDs Are PII Too

Every large organization has proprietary internal identifiers that link anonymized records back to real people. 34% of GDPR fines involve inadequate.

May 1, 20268 minute read
employee ID anonymizationproprietary identifier detectionquasi-PIIGDPR custom entitiesno-code pattern builder

What Is Quasi-PII?

GDPR Article 4 covers any data that can identify a person. The data does not need to name someone directly. It only needs to make identification possible through extra steps.

Internal employee IDs are a clear example. Take the value "EMP-EU-123456." That string does not name anyone. But the HR system holds a simple lookup table. EMP-EU-123456 maps to Maria Schmidt, Senior Engineer, Munich. Anyone with access to that table can find her. Under GDPR, the ID is personal data.

The same rule applies to other internal codes:

  • Customer account numbers that link to CRM records
  • Project codes that link to client names in contract systems
  • Case reference numbers in legal files
  • Medical record numbers that link to patient records

Removing names and emails is not enough. If internal IDs remain in a file, re-identification is only two steps away.

Why This Gap Leads to Fines

34% of all GDPR fines involve inadequate technical measures under Article 32. That figure comes from the DLA Piper 2025 GDPR Annual Report. Failure to detect quasi-identifying internal identifiers falls into this category.

The EDPB handled over 900 consistency mechanism cases in 2024. Cross-border enforcement means one gap in a shared dataset can lead to coordinated action across several EU member states.

Standard PII tools find universal patterns: names, emails, phone numbers, national IDs. They do not know your internal ID format. No tool does until you tell it. That is the gap.

How the No-Code Pattern Builder Works

A global logistics company needs to anonymize employee records for an external audit. Their employee IDs use this format: EMP-[REGION]-[6 digits]. Three examples: EMP-EU-123456, EMP-APAC-789012, EMP-AMER-345678.

The compliance team enters three examples into the AI pattern helper. The AI returns:

  • Pattern: EMP-[A-Z]{2,4}-\d{6}
  • Matches all three examples
  • Suggested entity name: EMPLOYEE-ID
  • Recommended next step: test with more region codes

The team tests ten more samples. The pattern works on all of them.

They save the custom entity to the team's shared GDPR preset. All 47 documents in the audit package are processed in one batch. Every employee ID is replaced with a role-based label. The audit firm gets files that no longer link to any individual.

No engineering help is needed. The whole setup takes under an hour.

What Happens Next

Once the custom entity is saved to a shared preset, all team members use the same setup. New staff get it on day one. Batch jobs, API calls, and manual uploads all apply the same pattern.

The audit trail shows which preset was used for each file. If a DPA asks for evidence of your anonymization process, you can show it.

For the full custom entity setup workflow, see custom PII identifiers for organizational anonymization. For keeping this setup consistent across teams, see anonymization consistency presets for GDPR audit.

When This Approach Has Limits

Teaching a tool your internal ID format with a no-code pattern builder is the right way to close the quasi-PII gap, and the workflow above is sound. But three limits apply.

A pattern only catches what it describes. A regex tuned to EMP-[REGION]-[6 digits] matches that shape and nothing else. Legacy IDs, acquired-company formats, hand-typed variants, and codes that predate a numbering change will slip past silently. The ten-sample test in the example is a start, not proof. Build the pattern against a held-out set drawn from your oldest and messiest records, not just clean current ones, and re-test whenever a new system or merger introduces a format the builder never saw.

Removing the ID does not remove the person. Replacing EMP-EU-123456 with a role label strips one direct link, but quasi-identifiers left in the same record can rebuild the identity. Region plus job title plus office plus hire date can single out one Senior Engineer in Munich even with every ID gone. That output is pseudonymized in effect, not anonymized, and GDPR duties still attach. Decide deliberately which surrounding fields also need treatment before you hand files to an outside audit firm.

The tool supports compliance; it does not constitute it. A saved preset and an audit trail are evidence of process, not a finished defense under Article 32. Whether your measures are adequate is a judgment a DPA or auditor makes about the whole control set, including human review of the output. Treat the pattern builder as one documented control among several, and keep a person in the loop to confirm each batch before release rather than trusting the match count alone.

Sources

Limitations / When this doesn't apply

A no-code pattern catches only the ID shape it describes. A regex tuned to EMP-[REGION]-[6 digits] will silently miss legacy formats, acquired-company codes, and hand-typed variants — so test it against your oldest and messiest records, not just clean current ones, and re-check it after any merger or numbering change.

Replacing the ID does not remove the person. Region plus job title plus office plus hire date can single out one individual even with every identifier gone, which makes the output pseudonymized in effect, not anonymized, with GDPR duties still attached. Decide deliberately which surrounding fields also need treatment before handing files to an outside audit firm. A saved preset and an audit trail are evidence of process, not a finished Article 32 defense — keep a person reviewing each batch rather than trusting the match count alone.

Ready to protect your data?

Start anonymizing PII with 267+ 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.

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 company HQ is in Saarbrücken, Germany. Our servers run in Hetzner's Falkenstein datacenter.

Hetzner holds 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.