Guide

How to anonymize documents before pasting them into ChatGPT

The safest way to use AI on sensitive files is to remove the personal data first, run the AI on an anonymized copy, and restore the real values afterwards — all on your own computer. PII Shield does exactly this for documents, spreadsheets, email and audio, so nothing private ever leaves your machine.

Short answer. Don’t paste raw personal data into ChatGPT. Instead: open the file in PII Shield, anonymize the names, IDs and other PII into placeholders, use ChatGPT on the anonymized text, then restore the originals locally. The AI still helps you; the personal data never leaves your device.

Why this matters

Anything you paste into a cloud AI tool is sent to that provider’s servers and may be logged. This is how confidential data leaks out of organisations: a security analysis by Cyberhaven found that about 11% of what employees paste into ChatGPT is confidential data. (Source: Cyberhaven Labs.)

Under the GDPR, names, emails, IDs and similar identifiers are “personal data”, and you are responsible for how they are shared. Removing them before using a third-party AI tool keeps you in control and reduces your exposure.

The safe workflow: anonymize → use AI → restore

  1. Open your file in PII Shield. Open the document, spreadsheet, email or audio file you want to send to an AI tool. Everything is processed on your computer.
  2. Review what will be removed. PII Shield highlights names, emails, IDs, financial data and more. Keep or redact each item in a quick human review step.
  3. Anonymize. Replace the real values with neutral placeholders like <PERSON_1> or <IBAN_1>. A mapping is saved locally so you can reverse it later.
  4. Use the AI tool. Paste or upload the anonymized version into ChatGPT, Claude, Gemini or Copilot. The AI still gets a usable result — without the personal data.
  5. Restore the originals. Bring the AI output back into PII Shield and restore the real values locally, so your final document is complete.

What PII Shield removes

Names, email addresses, phone numbers, postal addresses, IBANs and card numbers, national IDs (SSN, NINO, VAT, passports and more), dates of birth, IP addresses, and medical record numbers — across Word, PDF, Excel, email and plain text, plus audio recordings. Detection runs locally with an AI model plus precise pattern rules, and you confirm everything in a quick review step.

Does it work with Claude, Gemini and Copilot?

Yes. The approach is tool-agnostic. PII Shield produces an anonymized copy you can use with any AI assistant; because the placeholders are consistent, you still get a useful answer, and you restore the real values on your own machine when you are done.

Frequently asked questions

Treat anything you paste into a cloud AI tool as leaving your control. The safe approach is to anonymize personal data first, use the AI on the placeholder version, and restore the real values afterwards on your own machine.

No. Models work fine on consistent placeholders such as <PERSON_1> or <IBAN_1>. You get a usable answer, then restore the real values locally so the final document is complete.

Yes. The workflow is tool-agnostic: PII Shield produces an anonymized file you can use with any AI assistant, then restore the originals locally.

Nowhere. Detection, anonymization and restore all run on your Windows computer. Your files and the personal data in them never reach us or any cloud service.

Yes. PII Shield keeps a mapping of each placeholder to its original value on your device, so anonymization is fully reversible.

Keep sensitive files private with AI

Anonymize once, use any AI tool, restore locally. Free for 14 days on Windows 10 and 11.

Related: redact personal data from audio · local vs cloud PII redaction · for law firms · how your data is handled