Prompt PII scrubber
Before you paste a prompt into ChatGPT, Claude, or any API, it is worth stripping out the personal data you do not need to share. This tool detects common structured identifiers — emails, phone numbers, credit cards, SSNs, IP addresses, and URLs — and redacts them right in your browser. No text is uploaded; the scrubbing happens locally so the sensitive data never reaches a server in the first place.
How it works
You paste your prompt text, tick the categories you want redacted, and pick a
replacement style: numbered placeholders such as [EMAIL_1] that preserve which
matches refer to the same entity, or a uniform [REDACTED]. The tool runs a set of
ordered regular expressions — URLs and emails first so the greedier phone matcher
does not eat their digits — and reports how many items of each category it removed.
The phone matcher ignores runs shorter than seven digits to avoid false positives.
Tips and notes
Regex is good at structured patterns but blind to names and addresses, which have no consistent shape — so treat the output as a first pass and remove any remaining sensitive details by hand before sending. Numbered placeholders are the better choice when the model needs to reason about the same person or account more than once, because the references stay distinguishable. Because everything stays on your machine, you can safely scrub even highly confidential text here; the tool’s value is precisely that the data never has to travel to be cleaned.