Skip to content
Search

Tools

PII Redactor: Redact Personal Data Before You Paste Into AI

Redact PII before you paste a document into an AI tool. This free PII redactor finds personal data and secrets in your text, swaps each one for a placeholder, and puts the real values back into the answer. It runs in your browser.

What to look for

Names, client names, project code names. One per line or separated by commas. Matching ignores case.

Everything happens in this tab. Nothing you type is stored or sent anywhere, and closing the tab clears it.

Redacted text, read before you paste

The redacted text shows here as you type.

Treat this as a first pass. It matches patterns, so it misses names, street addresses, dates of birth and anything written in an unusual format, and it can flag a number that only looks like one of these. Read the redacted text before you paste it.

What was replaced

Put the real values back

Paste the AI tool's answer here. Every placeholder from the table above is swapped back for the original value.

Answer with the real values

What the PII redactor detects, and what it misses

The redactor looks for patterns. It finds email addresses, phone numbers written with separators, card numbers that pass the Luhn checksum, IBANs whose check digits are valid, IP addresses in both the old and the new format, US Social Security numbers written with dashes, and secret-shaped strings: common API key and access token formats, JSON Web Tokens, private key blocks, bearer tokens, the password in a web address, and the value after a name like password, DB_PASSWORD, secret, token or api_key. Add your own terms for names and anything else specific to your work.

Each distinct value gets a numbered placeholder such as [EMAIL_1], and the same value always gets the same placeholder, so the AI tool can still tell people and accounts apart. The table of placeholders lives only in this tab. When the answer comes back, paste it into the second box to swap the real values back in.

It does not understand language, so it cannot spot a person's name, a street address or a medical detail on its own. It also misses some secrets: very short passwords, values that run over several lines, passwords passed with a short flag such as -p, and keys or tokens that appear with no label in front of them. Treat it as the first step of data minimization, then read what is left. Your company's guardrails and data policy still decide what may go into an AI tool at all.

Questions

Is my text sent anywhere?

No. The redactor is a script that runs in this browser tab. It makes no network requests with your text, saves nothing to storage, and the placeholder table disappears when you close or reload the tab.

Why use placeholders instead of deleting the data?

Placeholders keep the structure of the text, so the AI tool can still write a reply to [EMAIL_1] or compare [CARD_1] with [CARD_2]. Deleting the values loses that, and you can't put them back afterwards.

Does it find names and addresses?

Not by itself. Names and street addresses have no fixed pattern, so a pattern matcher can't find them reliably. Type the names you care about into Your own terms to hide, and read the result before you paste it.

Can it flag something that isn't personal data?

Yes. A long reference number can look like a phone number, and a version string can look like an IP address. The card and IBAN checks use checksums to cut most of those out. Untick a type if it gets in the way.

Is redacting enough to make it safe to share?

Not always. Context can still identify someone, and some data shouldn't leave your systems even with the identifiers removed. Follow your company's policy on what may go into an AI tool.