privacy

Text Redact

Replace PII patterns in text — emails, phones, SSNs, credit cards (Luhn-validated), IPs, URLs, UUIDs, AWS access keys. Optional custom regex patterns. Text-only sibling of pdf-redact.

Loading…

About Text Redact

Text Redact finds and replaces personally identifiable information in plain text: emails, phone numbers, SSNs, Luhn-validated credit card numbers, IP addresses, URLs, UUIDs, and AWS access keys, with room to add your own regex patterns. It's the text-only sibling of pdf-redact, ideal for cleaning logs, transcripts, and support tickets before you share them. Everything happens in your browser, so the sensitive data you're scrubbing never gets uploaded.

Category
privacy
Input
Accepts: text/plain.
Output
Outputs: text/plain (multiple).
Cost
Free, runs in your browser
Memory
low
Privacy: Text Redact runs entirely on your device. Files you provide never leave your browser — no uploads, no server, no tracking. The page works offline once loaded.

Common uses

  • Strip emails and phone numbers out of a support transcript before pasting it into a bug report
  • Mask credit card numbers in a log dump, with Luhn validation cutting down false positives
  • Remove AWS access keys and IPs from a stack trace before sharing it publicly
  • Sanitize a dataset of free-text comments before sending it to a vendor
  • Add a custom regex to redact internal ticket IDs or employee numbers alongside the built-ins
  • Clean a chat export of SSNs and UUIDs before attaching it to a ticket

Frequently asked questions

What PII patterns does it detect out of the box?

Emails, phone numbers, SSNs, credit cards (Luhn-validated), IP addresses, URLs, UUIDs, and AWS access keys.

Can I add my own patterns?

Yes. You can supply custom regular expressions to catch organization-specific identifiers the built-in patterns don't cover.

Is my text uploaded?

No. Redaction runs entirely client-side in your browser, so the text and the PII in it never leave your device.

How is this different from Redact PDF?

This is the text-only sibling: it works on plain text rather than PDF page content. For documents, use pdf-redact instead.

Will pattern-based redaction catch everything?

It catches well-structured PII like emails and card numbers reliably, but free-form mentions (a name in a sentence) need a language-aware tool; for that, see Redact PII.

Keywords

  • redact
  • pii
  • privacy
  • sanitize
  • mask
  • email
  • phone
  • ssn
  • credit-card
  • security

Try next