By · Last updated 2026-05-29

Back to BlogGDPR & Compliance

IMY Sweden: Nordic GDPR & Anonymization

Sweden's IMY published the EU's most comprehensive anonymization guide, cited by 12 other DPAs. 79% of Swedish citizens exercise GDPR rights annually.

May 29, 20268 minute read
Sweden IMYGDPR anonymizationpersonnummer detectionNordic complianceEU data protection

IMY Sweden: GDPR Anonymization and the Nordic Standard

Sweden's Integritetsskyddsmyndigheten (IMY) enforces GDPR. It also sets technical standards. Its 2023 anonymization guide is the most detailed DPA document on the topic in the EU. Twelve other EU DPAs cite it as a key reference. IMY issued 28 enforcement decisions in 2024, totaling €8.5 million.

IMY's Anonymization Framework

IMY's guide states one core rule: anonymization is a technical test. Policy and contracts alone do not make records anonymous. IMY uses four tests to judge whether records are truly anonymous.

k-anonymity: Each person must look the same as at least k-1 others on all key fields. IMY sets k≥5 for research records.

l-diversity: Within each group, sensitive fields must hold at least l distinct values. This blocks inference attacks even when k-anonymity holds.

Differential privacy: Noise is added to query results. No one person's presence can be detected from the output.

Pseudonymization vs. anonymization: Pseudonymization swaps identifiers for codes but keeps a recovery key. It stays GDPR-regulated. Only records that pass these four tests are truly anonymous.

See our GDPR-compliant ML training anonymization guide for how these tests apply to AI work.

The Swedish Rights Exercise Rate

79% of Swedish adults use their GDPR rights each year. That is the top rate in the EU. In most EU states, rights requests come from complaints. In Sweden, they are a normal part of daily life.

Firms with Swedish users must handle many access requests. Each one must be answered within one month. Late replies lead to IMY follow-up. Current personal records across all systems are required.

Personnummer: The Swedish Identifier Challenge

The Swedish personnummer is in almost every official Swedish document. The format is 10 or 12 digits (YYMMDD-XXXX). IMY's review found that 45% of generic NLP tools fail to detect personnummer.

Format variation: The number may appear with or without a hyphen. It can be 10 or 12 digits. Tools built for one format miss the other.

Luhn check: Without a Luhn check, tools flag any 10-digit string as a false positive. They also miss numbers in odd formats.

Samordningsnummer: This number is used for foreign residents in Sweden. It follows the same pattern but adds 60 to the birth-day digits (61–91 instead of 01–31). Tools that only detect the standard personnummer miss samordningsnummer. This gap matters for firms with non-Swedish staff or clients.

IMY's Position on AI Training

IMY published guidance on personal records in AI training in 2024. Three points matter for firms with Swedish users.

First, "AI training" is not a valid GDPR purpose on its own. It must link to a clear and specific end goal.

Second, pseudonymized records used for AI training stay GDPR-regulated. Only records that pass IMY's tests can be used without a legal basis.

Third, firms fine-tuning AI models on Swedish records must prove true anonymization. Or they must document a clear legal basis.

See our EU AI Act training anonymization guide for how EU bodies treat AI training across the bloc.

What Swedish Compliance Costs

Swedish enterprise GDPR compliance averages €85,000 per year. Access rights work and anonymization audits drive this cost. Automating PII detection to IMY's standards cuts it. Manual checks cannot keep pace with Sweden's rights exercise rate.

IMY's framework is cited across the EU. Meeting its standards puts firms in a strong position for broader EU review.

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.