Text Redactor
About this tool
About Text Redactor
Before you paste a support ticket into a chatbot, post a log file in a forum or forward a customer email, take out the personal data and secrets. The Text Redactor finds email addresses, phone numbers in international, Indian and US formats, payment card numbers, IBANs, Aadhaar and PAN numbers, US Social Security numbers, IPv4 and IPv6 addresses, and API keys from AWS, GitHub, Slack, Stripe, Google, OpenAI and others, plus JWTs, private key blocks, password assignments and long random tokens. Numbers are validated, not just pattern-matched: cards must pass the Luhn check, IBANs the mod-97 check and Aadhaar numbers the Verhoeff check, so order numbers and dates are left alone. Choose type labels, numbered placeholders that keep the same value consistent, [REDACTED], solid blocks or partial masking that keeps the last four characters. Add your own words or a regular expression, review every match in the list, then copy or download the result. It all runs in your browser tab. An optional AI pass, on your own key, can also flag names and addresses.
Built and maintained by Abhi JainUpdated
How to Redact Text
- 1
Paste your text
Paste it into Original text, or click Sample to see how it works.
- 2
Choose what to find
Toggle the types under Find, and add Custom words or a Custom regex for anything specific to you.
- 3
Pick a mask style
Choose a Mask style, such as Type label or Numbered, and review the highlighted result and the What was found list.
- 4
Copy the result
Copy or download the redacted text, after reading it through for anything the patterns missed.
Text Redactor: questions and answers
What can the text redactor detect?
Emails, phone numbers, card numbers (Luhn-checked), IBANs (mod-97), Aadhaar (Verhoeff-checked), PAN, US SSNs, IPv4 and IPv6 addresses, common API key formats, JWTs, PEM private keys, values assigned to password, secret or token fields, and long random strings.
Can it find names and addresses?
Not with patterns: names, street addresses and other free-form details have no fixed format. Add known names as Custom words, or use the optional Find more with AI pass, which asks the AI provider of your own key to flag them. Either way, read the output before sharing.
Can AI help redact text?
Optionally, as a second pass. The built-in patterns always run first, and only the already-redacted text is sent from your browser to your own AI provider (Claude, OpenAI, Gemini, DeepSeek, OpenRouter or a compatible endpoint). Each item it flags must appear exactly in your text and is added to Custom words, where you can review or remove it.
Why wasn't a number I typed detected?
Card, IBAN and Aadhaar numbers carry check digits. A number that fails the check isn't a real one (often a typo), so it is skipped to avoid masking order IDs and dates. Use a Custom regex to catch it anyway.
What is the numbered mask style for?
It replaces each distinct value with a stable placeholder such as [EMAIL_1] or [EMAIL_2]. The text stays readable, so you can still see that two messages came from the same person, without revealing who.
Is my text sent anywhere?
No. Detection and masking run in your browser. Nothing is uploaded, logged or stored, unless you choose the optional AI pass. To black out parts of a PDF instead, use Redact PDF.
Related Tools
- Redact PDFPermanently remove sensitive text and areas from a PDF, not just cover them.
- Image RedactionBlack out, pixelate or blur parts of a photo or screenshot and save it clean.
- EXIF RemoverStrip EXIF, GPS, XMP and IPTC data from photos without losing quality.
- Remove PDF MetadataStrip author, title, creation date, and hidden metadata from PDF.