Toolbaro

Redact Personal Info from Text

Paste text to find and mask phone numbers, emails, card numbers, SSNs, IP addresses and names before you share it or paste it into an AI chatbot. Runs entirely in your browser; nothing is uploaded or saved.

Your text stays in this browser. Nothing is uploaded or saved.

You can also drop a .txt or .csv file here. Files are read inside this browser too.

Redacted text

Paste some text and the redacted version appears here.

e.g. ***-**-1120 · (555) ***-4417 · J*** D**

Click a highlight to leave that value visible; click again to mask it. Select any other text here to mask it as well.

What to find

Other countries

Items that are off are not masked. Numbers show how many were found.

Names aren’t guessed automatically. Anything listed here is masked wherever it appears.

Everything runs inside this browser. Your text is not sent to any server and is not saved; it is gone when you close the tab. Automatic detection can miss things. Read the result before you share it. This is not legal advice.

How to redact text

Use it before you paste a customer email, a support ticket or a spreadsheet into ChatGPT, a translator or another outside service. Paste the text and the redacted version appears right away.

  • Paste text into Original text, or drop a .txt or .csv file on it.
  • What was found is highlighted and masked in Redacted text. Dashed highlights (addresses, bank accounts) are less certain, so check them.
  • Click a wrong highlight to leave it visible. To mask something that was missed, such as a name, select it in the result and press Mask selection, or type it into Names and words to mask.
  • Press Copy result or Download.

What it finds and how it masks

There are three styles. Partial keeps a small, commonly shown part, Full replaces every character with ●, and Labels swaps each value for its kind, like [PHONE1]. Labels number different values, so an AI model can still tell two people apart without seeing their details.

  • Phone numbers (US, international with +, Korea, Japan): (555) ***-4417
  • Email addresses: ja******@example.com
  • Card numbers that pass the Luhn check: 4111 11** **** 1111
  • US Social Security numbers: ***-**-1120 (invalid ranges such as 000, 666 and 9xx are skipped)
  • IP addresses (IPv4 and IPv6): 198.51.***.7
  • Links that carry a token, password, email or session value: only those values are masked
  • Dates of birth, bank accounts, passport numbers and postal codes when a label such as DOB, Account or Passport is next to them (or is the column header in a table)
  • Street addresses in the form “742 Evergreen Terrace, Springfield, OR 97403”, plus Korean and Japanese addresses
  • Korean resident registration numbers, Japanese My Number and other country formats can be turned on under Other countries

How detection works

Each kind of number has a fixed format, and many have a check digit. Card numbers must pass the Luhn check, SSNs must fall in issued ranges, and Japan’s My Number must match its check digit. Numbers that only look right without a check, such as bank accounts and dates of birth, are matched only when a label is right before them.

Names are never guessed, because there is no reliable way to tell a name from an ordinary word. List the names you want masked and every occurrence is covered.

Check before you share

Automatic detection can miss things: numbers glued to other text, numbers spelled out in words, formats from other countries, and anything inside images or PDFs. Read the result from top to bottom before you send it.

Even with numbers masked, details such as a job title or the story in the text can identify someone. This tool masks text; it is not legal advice or a compliance review. Follow your organization’s rules on what may be shared.

FAQ

Is my text uploaded or stored?

No. Finding and masking run in a script inside this page, in your browser, and there is no code that sends your text anywhere. The text and the names list are not saved and disappear when you close the tab. Only your style and on/off choices are remembered in this browser. Once the page has loaded it keeps working offline.

Can it redact names automatically?

No. Names are hard to tell apart from ordinary words, so the tool doesn’t guess. Add names to Names and words to mask, or select one in the result and press Mask selection. Every occurrence is masked.

Something was masked that shouldn’t be. How do I undo it?

Click it in the result to leave it visible, and click again to mask it. The same value is switched everywhere at once. To ignore a whole kind, turn it off under What to find.

Can I redact a PDF or Word file?

Only .txt and .csv files can be opened. For Word, PDF or other documents, copy the text and paste it. Spreadsheet rows copied from Excel or Google Sheets paste as tab-separated text and work fine. A downloaded .csv keeps its columns.

Which masking style should I use for ChatGPT?

Labels usually works best: [NAME1] and [PHONE2] keep the meaning of the text, and you can put the real values back into the answer yourself. Use Partial when a person needs to recognize the record, for example the last four digits of an SSN.

Does masking make the text anonymous under GDPR or HIPAA?

Not by itself. Masking visible identifiers is one step, but other details can still point to a person. This tool is not legal advice; ask whoever handles privacy in your organization.

Loading…