Redact text online: free redacted text generator
Redacted text is text with its sensitive parts removed or blacked out, so it can be shared while those parts stay hidden. Most "redact online" tools are built for PDFs and upload the document to do it. For plain text, a chat message, an email or a snippet of a report, this generator finds the values and blacks them out in the browser, ready to copy and paste, so the original never travels anywhere.
What redacted text looks like
On paper, redaction is a black bar over a name. In plain text the same job is done by replacing each character of a value with a solid block (█), so the reader sees that something was there, and how long it was, but not what it said:
- Before:
Please call Sarah Whitfield on +44 20 7946 0958. - After:
Please call █████ █████████ on ███ ██ ████ ████.
The bars are ordinary characters that replace the text, not a black highlight on top of it, so nobody can copy the original out from under them. They work wherever you can paste text. What stays visible is the length of each value and the words around it, which can be enough to guess a name.
Ways to redact text
- Masking (above): each character of a value becomes a solid block or an asterisk, spaces stay. The Redact preset writes blocks, Mask in the other presets asterisks. Best when the text is shared for good.
- Removing: the value is deleted. Shorter, but the reader can no longer tell that something was left out.
- Replacing: the value becomes a placeholder such as
[PERSON_1]or realistic fake data. Better when the text is still meant to be read or answered, for example by an AI chat.
How to redact text, step by step
- Open the anonymizer with the Redact preset (the button below) and paste the text, or open a TXT, CSV, JSON or log file. It is read by your browser, not uploaded.
- Review the findings: names, emails, phone numbers, addresses, dates of birth, IBANs, card numbers, national IDs, keys, IP addresses and URLs are detected and blacked out. Untick anything that should stay.
- Add terms the rules can't know, such as a company, a project or a customer number, to the custom terms list.
- Read the redacted text, then copy and paste it where you need it, or download it.
How to tell a tool really runs in the browser
- Open the browser's developer tools, switch to the network tab and paste some text: no request should carry it.
- Load the page, then disconnect from the network: a local tool keeps working.
- Look for a content security policy that forbids connections. The Anonymizer's editor runs in an isolated frame whose policy allows none at all.
Limits
Detection works on text. Scanned documents and images need OCR first, and a PDF's hidden layers and metadata are a separate problem, best handled by a PDF tool's own redaction. And no rule set finds every name in free text, so read the result before you share it.