Sensitive Text Redactor

Redact supported text or CSV patterns and check for residual custom literal terms.

On-device No sign-up Free to use

Redact the text controls

Showing an example. Edit to see your own.

?

Used in text mode. Showing an example with a fictional address and test card number. Replace it with your text. The tool does not send or save it. Clear the box and your clipboard when you are done.

?

One per line. Each line is matched as plain text, so punctuation in it is safe.

?

Showing a small example with fictional names, an example.com address and standard test card numbers. Replace it with your CSV. The tool does not send or save it. Clear the box and your clipboard when you are done.

?

Comma-separated header names, for example email,card. The match is by exact header name, so a misspelling stops with a list of the headers that were read.

?

Text mode reads the whole pasted text. CSV mode reads a small table, changes only the columns you name, and offers a redacted CSV download.

?

Off by default because a long identifier or hash is often not a secret.

?

Masking matches uses the pattern groups below inside the chosen columns only. A value that matches no chosen pattern stays unmasked.

?

Without a header row, columns are numbered column_1, column_2 and so on, and those are the names to type in the box above.

?

Prefixes formula-triggering exported values with the selected apostrophe or space, including unmasked cells. This changes downloaded values; check the receiving spreadsheet’s import behavior.

Processed in your browser. Your inputs stay on this device.

Result

Showing an example.

Replace one example email address and one standard test-card number in a short text.

Masked 2 matches. Patterns only catch the shapes they describe, so read the masked text before you share it.

Loading the tool. Your result will appear here.

https://usefreetools.net/sensitive-text-redactor · 20 November 2026

Was this helpful?

How to use Sensitive Text Redactor

  1. Choose text or CSV mode. Paste the source and select a mask style.
  2. For text, choose the pattern groups and optional literal terms. For CSV, specify the exact columns and choose matching values only or every nonempty value in those columns; also check the header and separator settings.
  3. Read the updating preview and custom-term residual counts. Patterns can miss unusual values or match innocent ones, so inspect the full output.
  4. In CSV mode, review the formula-prefix setting and test the downloaded values in the receiving spreadsheet. Share the reviewed masked copy, then clear private inputs and clipboard content.

Example: Sensitive Text Redactor

Replace one example email address and one standard test-card number in a short text.

You add
What to mask: text; Text to redact: Example only: Contact ada@example.com or use the test card 4111 1111 1111 1111.; Mask style: label; Email addresses: true; Phone numbers: true; Card numbers and IBANs: true; IP addresses: true; Tokens, keys and private key blocks: true; US Social Security numbers: true; Long random strings (32 characters or more): false; CSV text: note,name,email,card Example only,Ada Example,ada@example.com,4111 1111 1111 1111 Example only,Grace Example,grace@example.com,5555 5555 5555 4444; How much to mask in those columns: matches; The first row holds the column names: true; Protect spreadsheet formulas: quote
You get
Masked 2 matches. Patterns only catch the shapes they describe, so read the masked text before you share it.

Options

What to mask
Text mode reads the whole pasted text. CSV mode reads a small table, changes only the columns you name, and offers a redacted CSV download.
Text to redact
Used in text mode. Showing an example with a fictional address and test card number. Replace it with your text. The tool does not send or save it. Clear the box and your clipboard when you are done.
Mask style
Choose Label each match, such as [EMAIL], Asterisks the same length as the match, The word REDACTED.
Email addresses
Masks text matching the supported email-address pattern. Read the result for unusual or split addresses the pattern can miss.
Phone numbers
Masks supported phone-shaped strings. Other long numbers can match, and unfamiliar phone formats can be missed.
Card numbers and IBANs
Checks supported card and IBAN shapes before masking. Read the output for payment details outside those patterns.
IP addresses
Masks supported IPv4 and IPv6 address shapes. It does not identify the owner or purpose of an address.
Tokens, keys and private key blocks
Masks the listed credential and private-key shapes. Unlisted formats and values split across lines can remain visible.
US Social Security numbers
Masks the supported dashed US Social Security number shape. This does not cover every government identifier.
Long random strings (32 characters or more)
Off by default because a long identifier or hash is often not a secret.
Also mask these exact words
One per line. Each line is matched as plain text, so punctuation in it is safe.
CSV text
Showing a small example with fictional names, an example.com address and standard test card numbers. Replace it with your CSV. The tool does not send or save it. Clear the box and your clipboard when you are done.
Columns to mask
Comma-separated header names, for example email,card. The match is by exact header name, so a misspelling stops with a list of the headers that were read.
How much to mask in those columns
Masking matches uses the pattern groups below inside the chosen columns only. A value that matches no chosen pattern stays unmasked.
The first row holds the column names
Without a header row, columns are numbered column_1, column_2 and so on, and those are the names to type in the box above.
Delimiter
Choose Detect automatically, Comma, Semicolon, Tab, Pipe.
Protect spreadsheet formulas
Adds the chosen apostrophe or space before formula-triggering exported values, including unmasked cells, or leaves them unchanged when off. A prefix changes a value and is not a universal spreadsheet-safety guarantee. Check the receiving application’s import behavior.

Supported inputs and limits

  • Pasted text or CSV up to 200,000 characters.
  • CSV mode allows 10,000 data rows and 100 columns.
  • Name the columns to mask; matching names are exact, and repeated headers with that name are all selected.
  • Mask known patterns or every non-empty value in the chosen columns.
  • Other cells retain their text except for the selected spreadsheet formula guard, which prefixes risky exported values by default.
More details

Patterns can miss secrets or mask values that are not sensitive.

Review the downloaded CSV before sharing it.

No originals or input files are sent to the server or saved by this tool.

The original input remains in the page until cleared; clear it and your clipboard when finished.

Residual counts cover up to 100 custom literal terms of 200 characters each and do not reveal the terms.

They supplement manual review rather than certify that the result contains no sensitive data.

Where your input is processed

This tool does not upload your inputs. See the limits for anything saved on your device.

Masking is not deletion

The redacted result is a separate copy. Original notes, logs, files and clipboard content remain unchanged, so use the reviewed masked output when sharing. A value already exposed as a live credential can remain usable after its visible text is masked and may need separate credential handling. This tool does not revoke credentials, remove copies elsewhere or certify anonymization. Read the complete result, including unselected CSV columns, before sharing it.

Questions about Sensitive Text Redactor

Does this find every secret in my text?

No. It matches a fixed list of shapes and reports nothing for everything outside that list. A blank result is not proof that a piece of text is safe to share, so read the masked version yourself before you post or send it.

Is the mask reversible?

There is no mapping to reverse, because no list of the masked values is kept. The original text is still in the box above until you clear or replace it, and the masked copy is the version you would share.

Which card numbers are masked?

The supported card pattern checks 13–19 digits with Luhn before masking. This reduces some coincidental number matches but does not prove a number is a card or an active account. A number with a wrong check digit can remain visible.

Why was my long token left alone?

The long random string rule is off by default. Even when it is on, it needs 32 to 64 characters with upper case, lower case and a digit in the same run, and a token that is shorter, all lower case, or split across lines will not match.

What happens to my text?

It stays in the page while you work, and the tool does not send it or save it to a store of its own. A browser can still keep a page you return to, and the site's own analytics are separate from what you paste, so clear the box and your clipboard when you are finished rather than relying on closing the tab.

Page updated · Project managed by Tony Hines · Report a problem with Sensitive Text Redactor

Related reading

All guides