How to mask Swedish personal data for ChatGPT and Copilot under GDPR
You can use ChatGPT, Microsoft Copilot, and Claude on work text without exposing personal data by replacing names, personnummer, addresses, and contact details locally before sending. On-device masking keeps raw identifiers on your machine so the AI model only sees placeholders like [NAMN_1].
Why pasting personal data into AI chats conflicts with GDPR
Pasting a name, personnummer, email address, or identifying combination of details into an external AI chat is personal data processing under GDPR. Consumer plans lack a Data Processing Agreement (DPA), and even enterprise AI plans are bound by GDPR data minimization (Art. 5(1)(c)): do not transmit personal data when the task does not require it.
Summarizing an email, drafting a reply, or reviewing a case almost never requires the AI provider to know who the customer, patient, or applicant is.
Pseudonymization vs anonymization in practice
Reversible masking with a local restore map is technically pseudonymization: "Anna" becomes [NAMN_1] in the text sent to the AI, while your device keeps the mapping locally to restore the answer. Because the AI provider never receives the key, exposure drops sharply while the output stays immediately usable.
Watch for indirect identifiers: a rare job title combined with a small town and date can still single out a person without a name. Add protected custom terms for client names and internal case IDs that must stay local.
Three practical steps in the browser
- Mask the text or file locally: Paste text into Maskera's browser demo or install the Chrome/Edge extension. Rules and the local Swedish NER model mask text plus PDF, Word, and Excel attachments on-device.
- Send only placeholders to the AI chat: Review the highlights and send the prompt to ChatGPT, Copilot, or Claude. The restore map stays in local browser memory.
- Restore the reply locally: The extension swaps [NAMN_1] and other placeholders back in your browser view when the model replies.
Do you need a DPA with Maskera?
No, not for the text you mask. Hägvall Labs AB never receives, stores, or processes your text or files because all detection and restoration run locally on your device (GDPR Art. 25, data protection by design).
For Team customers using shared encrypted word lists and licences, the IT and DPO brief is available on the security page.
Checklist for companies and public-sector teams
- Publish a clear AI policy separating personal accounts from approved company tools.
- Require on-device masking so the privacy tool does not introduce a new cloud transfer.
- Deploy the browser extension centrally via MDM (Intune, Jamf, or Google Workspace) on the Team plan to cover shadow AI.
- In Swedish public sector: evaluate secrecy rules (OSL) separately.