Redact Phone Numbers
Replace every phone number in your text with a redaction marker. Handles US, UK, and international formats.
About Redact Phone Numbers
Finds phone-shaped sequences in your text and replaces them with a configurable marker. The detection allows 7–15 digits with various separators (spaces, dots, dashes, parentheses) and optional country-code prefixes.
When to use it
- Scrubbing phone numbers from screenshots or logs before sharing
- Sanitizing user-generated content for public posting
- Producing GDPR-safe data dumps
- Preparing content for redacted publication
How it works
A phone-shaped regex matches candidate numbers; matches are then filtered to ones with 7–15 digits (matching E.164 phone number length range). Each surviving match is replaced with the configured marker.
Examples
Call (415) 555-0100 or +44 20 7946 0958 for support.
Call [PHONE] or [PHONE] for support.
Frequently asked questions
- Are false positives possible?
- Yes — long ID numbers or formatted dates can look phone-shaped. The 7–15 digit filter helps, but for sensitive contexts review the output before publishing.