PII Redactor for AI Prompts

Paste text to replace names, emails, phone numbers, card numbers, API keys and other personal data with placeholders like [NAME_1] before you send it to ChatGPT, Claude or Gemini. Then paste the AI's answer back to restore the real values. Everything happens in your browser.

Runs on your deviceNo uploadReversible

Restore the AI's answer

Paste the chatbot's reply here to swap the placeholders back to the real values. The mapping stays in this tab only and is lost when you close it.

What it detects

Pattern rules catch email addresses, phone numbers, payment card numbers (checked with the Luhn algorithm), IBANs (checked with the mod-97 checksum), US Social Security numbers, IPv4 and IPv6 addresses, URLs and secrets: private key blocks, JSON Web Tokens, AWS, GitHub, OpenAI, Anthropic, Stripe, Google and Slack keys, and password= or api_key: style assignments. An optional AI model (BERT fine-tuned for named-entity recognition) finds people's names, places and organisations, which no pattern can catch reliably.

The same value always gets the same placeholder, so the AI can still follow who said what: “[NAME_1] emailed [NAME_2]” keeps its meaning without revealing anyone.

Frequently asked questions

Is my text sent anywhere?

No. Detection runs in JavaScript and, for names, in a small AI model inside your browser. Only the model file is downloaded from Hugging Face. You can disconnect from the internet after the first load and it still works.

Is redaction guaranteed to be complete?

No automated tool catches everything. Unusual name spellings, nicknames, street addresses, ID numbers in non-standard formats and indirect details (job title plus small town, for example) can slip through. Always read the redacted text before sharing it, and use the custom words box for anything specific to you.

Why redact before using ChatGPT or Claude?

Chat services may store conversations, and some use them to improve models unless you opt out. Company policies, GDPR and HIPAA often forbid sharing customer or patient data with third-party services. Placeholders let you get help with the task without disclosing the data.

Which languages does name detection support?

The AI model is trained on English text. It often works on other Latin-script languages, but accuracy drops. Pattern rules work in any language.

Last updated: 2026-11-28