By · Last updated 2026-02-27

Back to BlogTechnical

Reversible vs Permanent Redaction Choice

GDPR distinguishes anonymization from pseudonymization. Courts need originals. Research needs re-identification. Learn when to use each approach.

February 27, 20267 minute read
redactionencryptionpseudonymizationGDPRe-discovery

The Core Choice

When you protect private records, you face one key decision: can you get the original back?

Permanent redaction removes content for good. There is no way to recover it.

Reversible encryption swaps names and IDs for tokens. You can restore the original with the right key.

That gap shapes your legal and compliance options. Choose wrong, and you may not meet a court order or a regulator's request.

Both methods have valid uses. The key is knowing which one to use, and when. Most tools only offer permanent removal. That limits your options when things change.

See our legal compliance overview for how each approach maps to common legal duties.

GDPR Draws a Clear Line

GDPR splits the world into two groups: anonymized records and pseudonymized records.

True anonymization

If a record cannot be linked to a person, GDPR does not apply. The law is out of scope.

Three things must be true:

  • Re-linking must be not possible.
  • No extra file can allow re-linking.
  • The process must be one-way.

This is the main benefit. Anonymized records sit outside GDPR.

Pseudonymization under Article 4(5)

Pseudonymization swaps IDs for tokens. The original can be restored using a stored key.

Key facts:

  • It still counts as personal records under GDPR.
  • It qualifies as a security measure under Article 32.
  • It cuts breach risk.
  • It allows research use under Article 89.
MethodGDPR StatusCan RestoreMain Use
AnonymizationNot personalNoPublic files
PseudonymizationPersonalYesInternal work

When Permanent Removal Creates Risk

Courts can order you to produce the original files.

  • Privilege claims can be challenged.
  • Judges can review files in private.
  • Opposing counsel can dispute what was removed.
  • Appeals may need the full, original text.

If you have wiped the content for good, you cannot comply.

A law firm removed client names from all case files. The court questioned a privilege claim. The firm could not produce the originals. Sanctions followed.

Regulatory audits

Auditors can ask to see complete records.

  • Finance audits need full transaction detail.
  • Health audits require patient records.
  • GDPR audits may cover all processing steps.

Saying "we removed that for good" is rarely an acceptable answer.

Research that needs re-linking

Long studies must link records across time.

  • Medical work tracks patient results over years.
  • Academic work needs follow-up rounds.
  • Quality reviews need trend data.

Permanent removal blocks all of this.

Business needs

Teams often need the original records back.

  • Clients ask for their original documents.
  • Internal reviews need the full picture.
  • Key decisions need all the context.
  • Audit trails may require the raw source text.

When to Use Each Method

Use permanent removal when:

CaseExample
Public releaseOpen data projects
No re-linking neededPublished counts
Required by lawSome breach notices
Storage limitsFiles you must not keep

Use reversible encryption when:

CaseExample
Legal discoveryE-discovery output
Internal reportsAnalytics, dashboards
ResearchLong-term studies
Client workDocument management
Audit evidenceCompliance records

How Reversible Encryption Works

anonym.legal uses AES-256-GCM to encrypt and restore content.

Encrypt step

Original: "John Smith, SSN 123-45-6789"
    ↓
[Detect PII]
    ↓
Entities: PERSON("John Smith"), SSN("123-45-6789")
    ↓
[Generate key]
    ↓
[Encrypt each item]
    ↓
Output: "[PERSON_abc123], SSN [SSN_def456]"

Decrypt step

Input: "[PERSON_abc123], SSN [SSN_def456]"
    ↓
[Load key]
    ↓
[Decrypt tokens]
    ↓
Output: "John Smith, SSN 123-45-6789"

Key security

The key is:

  • Made on your device. It uses a secure random source.
  • Never sent to anonym.legal servers.
  • Stored in your own key vault.
  • Protected by your own login.

Without the key, you cannot decrypt. It is not possible.

A law firm must produce files in a lawsuit.

Without reversible encryption

  1. Permanently remove all privileged content.
  2. Send files to opposing counsel.
  3. Court disputes the privilege claim.
  4. Firm cannot produce the originals.
  5. Sanctions follow.

With anonym.legal

  1. Encrypt the privileged content (reversible).
  2. Send the encrypted version.
  3. Court disputes the privilege claim.
  4. Decrypt and submit for private court review.
  5. Court rules on the claim.
  6. Send the right version.

You keep control at every step. You can meet any court order. Our legal use case page covers the full flow. See the zero-knowledge page for how keys stay on your side only.

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.