Before you start: what you need

One thing — the text you want to share without the personal details in it. A customer email, a support ticket, a meeting note, a server log, a research transcript, or the draft of a document you are about to send to a colleague or an AI assistant. Nothing else: no account, no file to prepare, no upload. If you have not pasted anything sensitive yet, press Paste an example at the bottom of the tool and watch what it does to a synthetic sample first. Every value in that sample is invented, including the card number, which is the well-known test number 4242 4242 4242 4242.

Step by step

Step 1 — Paste your text

The large box on the left is the only input. Paste into it and the tool starts scanning about a fifth of a second after you stop typing. The line under the box is a counter, and it reads 1,204 characters · 1,204 bytes uploaded. That second number is the point: it counts the bytes that have been uploaded, and it does not move. Nothing is transmitted, because there is no endpoint in the code to transmit it to.

The tool accepts up to 200,000 characters, roughly 30,000 words. Go past that and the page says so in a red box rather than quietly truncating your document. Split the text and run each part if you need more.

Step 2 — Choose which detectors are armed

Fourteen detectors sit below the input box as toggle buttons. Ten are on by default:

  • Email addresses, URLs, US Social Security numbers, credit cards, IBANs, IP addresses, JSON Web Tokens, API keys and secrets, phone numbers — these are the fixed-format types. Each one has a written rule, and the cards and bank accounts are checked against a checksum before being reported, so a random run of digits is not flagged as a card.
  • Your own words — the custom list, which starts empty and which you fill in at step 4.

Four are marked opt-in and start switched off: dates, person names, street addresses and company names. They are off by default because they are the heuristics. A date has a format, but so does a version string and an invoice number; a name has no format at all, so finding one means guessing from a list of given names, and any list misses people from other language traditions. A false positive on the word “May” costs you more than a missed surname does, so the tool makes you opt in and then makes you read the results. Turn one on, read the findings table, and turn it off again if it misbehaves.

Switching a detector off is instant and reversible. Nothing about the text changes; only what is looked for.

Step 3 — Pick a replacement style

Four styles, in a row of buttons. The choice affects what the output looks like, not what gets found.

  • Placeholder (the default) — [EMAIL_1], [CARD_1], [CUSTOM_1]. The same value always gets the same number everywhere it appears, so a thread still reads as a thread and an AI can still follow who did what. Use this for anything you will paste into an AI or send for review.
  • Masked — j•••••@a••••.com, •••• •••• •••• •••• 4242. The shape survives, the value does not. Two different values can occasionally produce the same mask, and the restore map will tell you when that has happened.
  • Hashed — [EMAIL_7bb9e3028318]. A salted SHA-256 token, computed with the browser’s own Web Crypto API. The same value always produces the same token, so you can still join records, and the original cannot be recovered from it at all.
  • Generic — [email], [name]. The simplest possible output, and the one to use if the output is going into a system that does not like brackets and numbers.

Step 4 — Add your own words

The custom-words box is the one that solves the problem regexes cannot. Type one name, company, codename or project code per line and every occurrence is replaced, matched whole-word and case-insensitively so it catches inside longer words too. The matcher escapes regex characters, so an entry like C++ or a.b is treated as literal text instead of breaking the pattern.

Entries appear as chips underneath the box, and each chip has a button to remove it. This is also where you fix a miss you spotted in the findings table: switch the name detector back off, add the name here instead, and the result is a clean replacement rather than a guess.

Step 5 — Read the findings table and the four tiles

The table below the tool lists every value that was replaced: the Personal data type, What was found, and Replaced with. Read it once, line by line, because this is the review step that turns a scan into a check.

Above the table are four tiles. Values found is the raw count of replacements, Types hit is how many different categories fired, and Unique values is how many distinct strings those were — the gap between the first and third tells you how much repetition was in the document. Residual risk is the one worth reading carefully:

  • Low — nothing matched. That is not the same as clean. It means no fixed-format identifier was present, and names, addresses and context are not fixed-format values.
  • Medium — only contact details were found, or only heuristic detectors fired. The heuristics over- and under-match, so the number is a flag for reading, not a verdict.
  • High — an identifier that can identify a person outright was present: a Social Security number, a card number, an IBAN, an API key or a token. Whatever you were about to do with that text, do not do it yet.

Underneath, the terminal log prints what ran, one line per type, plus the residual risk rating and the elapsed time. It is a log of a local scan, not a server request: the second line reads runtime: your browser · transport: 0 bytes · storage: none.

Step 6 — Copy and share

Press Copy output and paste it wherever it was going. The output box is a textarea, so you can also select it by hand if your browser blocks clipboard access. The only thing you should paste from now on is the output.

Step 7 — Restore the original if you need it

Open Restore map in the output panel to see every placeholder → original pair, and press Restore original to swap them all back. The text comes back exactly as it was, including the parts nothing was detected in.

Two things to be clear about. First, the map is the one thing that makes the output reversible: anyone holding it can undo the redaction, so treat the map as sensitive as the original text. Second, the map lives in the tab and is never written to storage, so it is gone when you close the page. That is the right default for a redaction tool, but it means if you need the mapping later you must press Copy map and keep it yourself.

Three walkthroughs

Walkthrough 1 — A support ticket before it goes to an AI assistant

You want to ask an AI assistant to summarise a week of support tickets so you can spot a pattern. One ticket reads:

“Hi, I need to move my subscription to a new card. Account holder: Jane Doe, [email protected], +1 (415) 555-0132. Billing address: 221B Baker Street, Springfield, IL 62704. Old card 4242 4242 4242 4242, new card 5555 5555 5555 4444. Server log line: 192.168.1.24 rejected the request for key sk_live_4eC39HqLyjWDarjtT1zdp7dc.”

Paste it, leave the default detectors, and press Anonymize. The result is:

“Hi, I need to move my subscription to a new card. Account holder: [CUSTOM_1], [EMAIL_1], [PHONE_1]. Billing address: [ADDRESS_1], Springfield, IL 62704. Old card [CARD_1], new card [CARD_2]. Server log line: [IP_1] rejected the request for key [KEY_1].”

Note what happened and what did not. The name, the email, the phone, both card numbers, the IP address and the live API key were all found without you doing anything — the key because the detector knows the sk_live_ prefix, the cards because they pass the Luhn checksum. The street address was not found, because address detection is opt-in and the tool does not silently guess. Switch Street addresses on and it becomes [ADDRESS_1]. The city and state stay, and that is a decision you can make: they narrow down the customer far less than the street does, but if this is a small town, turn the detector on and decide for yourself.

Now the important part. Do not paste the ticket itself. Paste the anonymized version. If the AI answers with [CUSTOM_1] in it, that is the point: the answer is about the pattern, not the person. If you need the real name back in the answer, press Copy map first and restore afterwards.

Walkthrough 2 — A customer email before it goes into a prompt

A customer writes about a delivery. You want a second opinion on whether to refund them. The email contains a name, an order reference, a phone number and a postcode. Paste it in and run the scan.

Read the findings table. Here is the thing to look for: the order reference INV-2026-000123 is a number in a document, and a naive digit matcher would redact it. A Luhn-checked matcher does not, because the reference does not pass the checksum. The reference stays and the card number, if there is one, does not. That difference is the reason the checksum is worth having.

Add the customer's name to the custom-words box if the name detector missed it — surnames with unusual spellings and names outside the given-name list are the ones it misses. Then use the Placeholder style rather than Masked, because a masked value in a prompt is still a value: the model can still read the first character of the name and the last four digits of the card. A placeholder says nothing at all.

Walkthrough 3 — A research transcript

You are writing up interview research and you need a colleague to read the quotes. Transcripts are the worst case for anonymisation, because a quote can identify a person with no structured data in it at all: “the only person at the depot who worked nights” is a name to anyone who was there.

Run the scan with the name, address, date and company detectors all on. Then read every line of the output yourself, because the tool cannot help with the sentence-level problem. Replace anything that narrows down a person, not just anything that matches a pattern. Where a quote is unusable, paraphrase it or cut it.

This is the case where a first pass is clearly not enough, and it is worth being blunt about that: the tool removes identifiers, and identifying details are not the same thing as identifiers. If the research needs a formal guarantee, that is a documented process under GDPR Article 4(5) or HIPAA Safe Harbor, with human review, and no browser tool can supply it.

Troubleshooting

What you see What it means What to do
The counter says 0 characters but the text is there Nothing was pasted, only typed into another field, or the paste went to the output box. Click into the input box and paste again. The output box is read-only.
A name was not replaced Name detection is opt-in, English-centric, and driven by a given-name list. Surnames, second names, and names from other language traditions are the misses. Turn Person names on, or better, add the name to the custom-words box, which is exact.
An ordinary word was replaced One of the heuristic detectors matched an ordinary capitalised word — a month, a place, a product name. Turn that detector off and add the word to the custom list instead if you need it removed.
A card number was not replaced It failed the Luhn checksum, so it is not a valid card number. That is the detector working, not failing. Nothing, unless the digits really are a card and the checksum was mistyped.
The output is identical to the input Every detector is switched off, or the text genuinely contains no identifiers. Check the toggle states. The ten fixed-format detectors should all be on by default.
Restore Original did nothing Nothing was replaced, so there is nothing to restore. Nothing. The restore map says “Nothing to restore yet” for the same reason.
Restore Original left some values behind Two different values produced an identical mask, so the map cannot tell them apart. The panel says how many. Switch to the Placeholder style, which is uniquely reversible, and re-run.
The hashed tokens look different from last time They should not. The same value always gives the same token within a session. Nothing — but if you closed and reopened the page, the token is still the same because it depends only on the value.
The page says the text is too long Over 200,000 characters, roughly 30,000 words. Split it and run each part. The tool will not truncate silently.

What this tool will not do

It is a fast, private first pass, and nothing more. It cannot read meaning, so it cannot tell a home address from a delivery address. It cannot remove identifying context. It does not read images or scanned PDFs. Its placeholders are reversible by anyone holding the map, which makes the output a pseudonymisation rather than a permanent erasure. And it does not certify anything — GDPR Article 4(5) and HIPAA Safe Harbor both assume a documented process and a human reading the result. The guide to what counts as personal data covers the categories in more depth, and anonymizing text for AI prompts covers the round trip of anonymizing, prompting, and mapping the answer back.

Related reading

faq

Frequently Asked Questions

The eight questions people ask after the walkthrough, answered plainly.

Is the Text Anonymizer free to use?

Yes. Every detector, every replacement style and the restore map are free, with no account, no paywall and no usage limit. There is nothing to upgrade to and no trial that expires.

Does the tool upload my text?

No. There is no upload endpoint, no fetch call, no analytics script and no model download anywhere on the page. The text is read by a regular expression in your browser and the output is written back into the box next to it. Close the tab and it is gone, because it was never anywhere else.

How do I add a name that the automatic scan missed?

Type it into the custom-words box, one phrase per line. Each entry is matched whole-word and case-insensitively, so it is replaced everywhere it appears including inside longer words. Punctuation and regex characters are escaped, so a name like C++ is handled safely.

Which replacement style should I use?

Placeholder for anything you will paste into an AI assistant or share for review, because it keeps the document legible and it is obviously not real. Masked when you want the shape preserved but the value gone. Hashed when you need a stable token for joining records. Generic when you want the simplest possible output.

Can I undo the anonymization?

Yes. Every replacement is recorded in a map held in the tab, and Restore Original puts the text back exactly as it was. The map can be copied if you want to keep it, but it is never written to storage, so it disappears when you close the page.

How long can the text be?

Up to 200,000 characters, which is roughly 30,000 words. Longer than that the page tells you so rather than silently truncating your document. Split the text and run each part separately if you need more.

Does the tool work offline?

Yes, once the page has been opened and the service worker has cached the shell, the tool works with no connection at all. That is the practical difference from tools that download a large language model or send your text to a detection API.

What if it flags something that is not personal data?

Turn that detector off using the toggle above the input, and read the output again. The heuristics are the ones that over-match: a name detector can catch an ordinary capitalised word, and a date detector can catch a version string. The fixed-format detectors use checksums and range rules, so they rarely produce a false positive.