CompleteSEOTools
Home › Security & Passwords › PII and Secret Scrubber

PII and secret scrubber

Paste text from a log, email or config file and replace personal data and secrets with labels or masks before you share it.

About PII and Secret Scrubber

Before you paste a log into a support ticket or a chat, it helps to remove what should not leave your company. This page looks for email addresses, phone numbers, IP addresses, card numbers that pass the Luhn check, and common key and token formats for AWS, GitHub, Stripe, Google, Slack and JSON web tokens, plus private key blocks and passwords written as name=value. You choose which patterns to use and how matches are replaced. Matching works by pattern, so it can miss things. Your text stays in your browser.

  • Cleaning a log before attaching it to a bug report.
  • Removing customer details from text you want to show an AI tool.
  • Checking a config file for leftover secrets before it is committed.
  • Preparing sample data for a demo or a training document.

How to use PII and Secret Scrubber

1

Step 1

Paste the text, or press Try an example.

2

Step 2

Untick any kind of match you do not want, and choose how matches are replaced.

3

Step 3

Check the cleaned text, open the highlight view to see what was caught, then copy the result.

Good to know

  • The tool finds patterns, not meaning. Names, street addresses, ordinary words used as passwords and unusual number layouts will pass through. Read the output before you share it.
  • A key that was already pasted somewhere public should be treated as leaked. Rotate it, because masking it here does not undo that.
  • Phone matching can flag ordinary numbers. Card matching skips numbers that fail the Luhn check, so a mistyped card number is left alone.

Common questions

Does my text get uploaded?

No. Matching runs in your browser and nothing is sent.

What does the Luhn check do?

It is a checksum built into card numbers. Only strings of 13 to 19 digits that pass it, and start with a digit from 2 to 6, are treated as cards. That cuts down false matches on other long numbers.

Can I get the original text back?

Not from the cleaned text. Keep your original if you need it. The partial mask option leaves a few characters visible on purpose.