privacy · pii redaction
100% Free | No Sign-Up RequiredText Anonymizer
Remove personal information from text online free — emails, phone numbers, addresses, ID numbers, cards and API keys, replaced with consistent placeholders in one click. Turn on name heuristics or add exact names yourself. Nothing is uploaded.
Your text never leaves this tab. Every match is found and replaced by JavaScript in your browser.
No server, no queue, no model download, no request. The text you paste is read by a regex, and the output is written back to the box beside it. Close the tab and it is gone.
- requests
- 0 bytes
- storage
- none
- PII types
- 14
- validators
- Luhn · mod-97
your text
local only0 characters · 0 bytes uploaded · read as you type, never requested
This text is longer than 200,000 characters, which is about 30,000 words. The tool will not silently truncate it. Split the document and run each part separately.
The four marked opt-in detectors are heuristic: a name or an address has no fixed shape, so a pattern can only guess. They are off by default because a false positive on “May” the month costs you more than a missed surname does. Turn them on, then read the findings table.
One exact phrase per line. Whole-word match, case-insensitive, and it survives punctuation like C++ or a.b without breaking.
Everything above happens in this tab. There is no upload endpoint behind this page, no analytics script and no model to download. Read the result before you share it — automatic detection can miss a name.
direct answer
To remove personal information from text, paste it into the box above and press Anonymize. The text anonymizer finds email addresses, phone numbers, US Social Security numbers, credit card numbers, IBANs, IP addresses, URLs, API keys and JWTs, then replaces each one with a consistent placeholder such as [EMAIL_1], so the same name or address always gets the same label and the document still reads as a document. Names, street addresses, dates and company names have no fixed shape, so they are detected by heuristic and switched on only when you ask for them. Everything runs in your browser: 0 bytes are uploaded and nothing is stored.
what it found
Every value that was replaced
Each row is a fact about the characters in your text, with the exact placeholder it received. Read it once before you share the result. None of it is a judgement about anybody.
| Personal data type | What was found | Replaced with |
|---|
What this tool cannot do
This is a first pass, not a certified de-identification pipeline. HIPAA Safe Harbor lists eighteen identifier categories and GDPR pseudonymisation asks for a documented, audited process; both assume a human reads the result. Nothing here is verified by an auditor.
It cannot read meaning. A home address and a shipping label are the same characters to a regex. The tool cannot tell them apart, and neither can any other pattern-based tool.
Four detectors are heuristics. Person names, street addresses, dates and company names have no fixed shape, so they are found by a name list and a pattern, not by understanding. They are off by default because a false positive on “May” the month or “March” the verb costs you more than a missed surname costs the other way. Turn them on, then read the findings table.
The placeholders are reversible. Anyone holding the map can undo the redaction. The map lives in the tab, is never written to storage, and dies with the page — but treat the output as a pseudonymisation, not as a permanent erasure.
Context identifies people without naming them. “The only customer in Cork who bought a red doorbell in March” names a person with no personal information in it at all. No tool can remove that. Redact the story, not just the labels.
It does not read images or scanned PDFs. Text inside a picture needs OCR first, and OCR text is still text that has to come out of the file before it can be redacted. To strip a photo’s hidden fields instead, use the Photo Metadata Remover, and to clean a PDF’s /Info dictionary use the PDF Metadata Scrubber.
method
The fourteen things it looks for
Every one of these is a property of the characters you pasted, decided by a written rule rather than by an opinion. That is what makes the result checkable — and what separates a scanner that can show its work from one that hands you a score.
Find → validate → replace consistently. A pattern proposes a candidate span. A validator accepts or rejects it. An accepted value is given a number, and every later occurrence of that same value gets the same number. That third step is what keeps a support thread readable after redaction.
| What it checks | Example | How it is matched | Why it matters |
|---|---|---|---|
| Email addresses | [email protected] | A local part, an @, and a dotted domain with a TLD of two letters or more. Checked before URLs so an address inside a link is counted once. |
The single most reliable identifier in a document, and the one a support thread always carries. |
| URLs | https://example.com/x | An http, https or www. prefix followed by a host. Trailing punctuation is trimmed. |
A URL can carry a name, an identifier or a session token in its path and query string. |
| US Social Security numbers | 123-45-6789 | The dashed three-two-four form only. Rejected when the area group is 000, 666 or begins with 9, or when the group or serial is all zeros. | Among the most sensitive identifiers there is, and the one most often pasted into a form by mistake. |
| Credit card numbers | 4242 4242 4242 4242 | 13 to 19 digits, then a Luhn checksum. A digit run that fails the checksum is not a card number and is not reported. | The checksum is what removes almost all false positives from a raw digit run. |
| IBANs | GB29 NWBK 6016 1331 9268 19 | Two letters, two check digits, then up to 30 alphanumerics, validated with the ISO 7064 mod-97 test. | Bank account numbers travel across borders and are not covered by card fraud rules. |
| IP addresses | 192.168.1.24 | IPv4 with every octet checked against 0–255 and no leading zeros; IPv6 checked group by group. | Logs and tickets carry them, and one IP address can identify a household or an office. |
| JSON Web Tokens | eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiIxIn0.x | Three base64url segments separated by dots, with a header that starts eyJ. |
A pasted token is a pasted credential, and it often contains a user id inside the payload. |
| API keys & secrets | sk_live_… · ghp_… · AKIA… | Known vendor prefixes (Stripe, GitHub, AWS, Google, Slack, SendGrid, Hugging Face), whole PEM private key blocks, and assignments such as password=, secret=, api_key= and token=. |
The most expensive thing to paste into a chat window by accident, and the one that gets shared in a screenshot. |
| Phone numbers | +1 (415) 555-0132 | 9 to 15 digits with an optional country code and optional separators. Rejected when the run is really a card number, a version string or an ISO date. | Still the identifier people most often hand over without a second thought. |
| Your own words | Project Falcon | Whole-word, case-insensitive, matched exactly as you typed it. Regex metacharacters are escaped, so C++ is safe. |
The only way to catch a codename, a client name or an unusual spelling of a person’s name. |
| Dates (opt-in) | 15 January 1990 | Common calendar formats, with version strings and ISO build numbers excluded. | A date of birth is an identifier; a date of birth next to a name is nearly an identity. |
| Person names (opt-in) | Jane Doe | A title in front of a name, or a given name from a list of a few hundred common English names followed by a capitalised word. English-centric, and stated as such. | The identifier with no fixed shape, so the detector is a guess and the label says so. |
| Street addresses (opt-in) | 221B Baker Street | A street number followed by a street word, optionally with an apartment, unit or suite. | A home address states where somebody lives, which is a different kind of disclosure from a work address. |
| Company names (opt-in) | Acme Corp | A capitalised phrase ending in a company suffix such as Inc, LLC, Ltd, GmbH, PLC or Corp. | An employer narrows down a person enormously, and a client name is commercially sensitive on its own. |
Why the checksum matters. A page that matches “13 or more digits” will redact every order number, every invoice reference and every timestamp fragment in your text. A page that matches 13 to nineteen digits and requires the Luhn checksum will redact the cards and leave the rest alone. The same argument applies to IBANs and the mod-97 test. This is the difference between a tool you can trust on a real document and one that turns your text into a wall of placeholders.
What text anonymization can and cannot prove
Text anonymization is the act of replacing the parts of a document that identify a person with something that carries the same shape but no identity. That sounds like a technical problem, and it is one, but the hard part is not finding an email address. The hard part is knowing which parts of a document are identifying, which are merely structured, and which identify somebody without ever containing their name.
The three words people mix up
Anonymisation means the data can no longer be linked back to a person by any means reasonably likely to be used. Under GDPR Article 4(5), pseudonymisation is explicitly not anonymisation: replacing “Jane Doe” with “[CUSTOM_1]” leaves the information attributable to a person if you still hold the mapping. The European Data Protection Board has been consistent about the distinction since its 2015 guidance on the pseudonymisation of personal data. Pseudonymisation is the technical act. De-identification is the American regulatory vocabulary, and its most concrete form is HIPAA’s Safe Harbor method, which lists eighteen identifier categories that must be removed for a dataset to count as de-identified. None of the three words means “nobody will ever guess”. They mean a defined bar has been cleared, and the bar is defined in writing somewhere else.
Which identifiers have a shape, and which do not
The ten fixed-format types this tool detects are the ones where a pattern can be written down and checked. A credit card number has a checksum, so you know whether a candidate is real before you decide to redact it. An IBAN has a mod-97 test. A Social Security number has an illegal-range rule. An email address has a grammar. These are decidable: the same string always produces the same answer, and you can show somebody the rule that produced it.
A person’s name does not have a shape. “Priya Raghunathan” and “Tuesday” and “May” are all the same structure to a regular expression: a capitalised word next to another capitalised word. The only way to tell them apart is a list, and any list is incomplete and any list is biased by the language it was written in. This tool keeps a list of a few hundred common English given names, which will find ordinary names and will miss names from other language traditions entirely. It says so on the page rather than quietly claiming coverage it does not have. The full guide to what counts as personal data covers the categories in more depth.
What a checksum buys you, and what it does not
Validation is not accuracy in the general sense, but it is accuracy in a specific and important one. Consider a customer email that contains an invoice reference INV-2026-000123, a timestamp 2026-11-14 and a card number. A naive digit matcher sees the invoice and the timestamp as candidates. A Luhn-checked matcher sees only the card. The checksum does not make the tool clever; it makes the tool quiet, and a quiet tool is one you can leave switched on.
The honest limits
There is no score out of 100 here, because a number would be a guess wearing arithmetic. This tool cannot know whether the text you pasted is a support ticket, a medical record or a line of poetry, so it cannot tell a home address from a delivery address, a birthday from an invoice date, or a customer name from a product name. It cannot read context: “the only customer in Cork who bought a red doorbell in March” identifies a person with no personal information in it whatsoever. It cannot read text inside an image, and it cannot read a scanned PDF until OCR has turned the pixels back into characters. It is also worth being clear about reversibility: consistent placeholders are a pseudonymisation, and anyone holding the restore map can undo it. The map on this page lives in the tab and is never written to storage, but that is a property of the implementation, not a guarantee about the copy you send on.
Why running it locally matters more than the accuracy
Several widely used PII scrubbers work by sending your text to a detection API, and several others download a language model between 30 and 200 megabytes before they can read a single word. Both designs have a cost that does not appear in the feature list. The first hands your text to a third party at exactly the moment you decided it was too sensitive to share. The second needs a 100 megabyte download, a WebAssembly runtime and several seconds of warm-up, which means it does not work on a train, in a locked-down corporate network, or anywhere the connection is unreliable. A tool that will not run without a server cannot be trusted with the text you most wanted to protect, and a tool that needs a 100 megabyte download will quietly fail on the one device where you needed it. This one is a few kilobytes of regular expression and a checksum function. It starts instantly, it works offline, and it never has an opinion about your text once it is finished scanning.
Sources: GDPR Article 4(1) on personal data and Article 4(5) on pseudonymisation (EUR-Lex); the European Data Protection Board, Guidelines 01/2015 on Pseudonymisation, 21 January 2016; HIPAA 45 CFR §164.514(b)(2), the Safe Harbor method and its eighteen identifier categories (eCFR); NIST Special Publication 800-188, De-Identifying Government Data Sets; the IAPP definition of personally identifiable information; OWASP, Logging Cheat Sheet, on personal data leaking into log files; ISO 7064 MOD 97-2 for the IBAN check digit and the ANSI C.4 Luhn algorithm for card validation.
faq
Frequently Asked Questions
Whether it is free, whether it uploads your text, how accurate it is, and where it stops.
Is the Text Anonymizer free?
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.
Does it 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 regex 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 accurate is it?
Accurately for the ten fixed-format types, and approximately for the four heuristic ones. Card numbers are Luhn-checked and IBANs are mod-97-checked, so random digit runs are not flagged. Names, addresses, dates and companies are found by pattern and a name list: they will miss unusual or non-Western names and they will occasionally flag an ordinary word. It is a fast first pass, and it tells you so.
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. It is never written to storage, so it disappears when you close the page, which is the right default for a redaction tool.
Why does the same name always get the same placeholder?
Because the point of anonymisation is to keep a document readable. If every occurrence of a customer became a different label, a support thread would turn into a word salad and an AI could no longer follow who did what. Consistent labels keep the joins intact: [CUSTOM_1] is always the same person, in every sentence.
Should I use placeholders, masks or fake names?
Placeholders for anything you will paste into an AI or share for review, because they keep the structure legible and they are obviously not real. Masks when you want the shape preserved but the value gone. Fake names when a downstream system needs something that looks like a name, and never real data with one digit changed.
Is this enough for GDPR or HIPAA?
No tool is. GDPR Article 4(5) pseudonymisation and HIPAA Safe Harbor both require a documented process and human review. This tool gives you a fast, private first pass over the identifier types that have a fixed format, which is most of the work, and it does not certify anything. Treat the output as a draft to be checked by a person.
What should I do if a name was missed?
Add it to the custom-words box as an exact phrase and it will be replaced everywhere it appears, including case and plural variants. Names are the reason that box exists: a pattern can find an email address every time, and it cannot find “Priya” every time.
Does it work on long documents?
Up to 200,000 characters, which is roughly 30,000 words. Longer than that and the page says so rather than silently truncating. Split the document and run each part if you need more.
Can I use it 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 the tools that download a 100 MB language model or send your text to a detection API. A tool that will not run without a server cannot be trusted with the text you most want to protect.
keep reading
Related tools and guides
- How to Use the Text Anonymizer (Step by Step)
- How to Anonymize Text Before You Paste It Into ChatGPT, Claude or Gemini
- What Is PII? A Plain-English Definition and How to Redact It
- CSV PII Checker — scan and redact personal data in tabular files
- What Counts as PII in a CSV?
- How to Remove PII From a CSV Without Uploading It
- Email Tracker Detector
- Suspicious Link Checker
- PDF Metadata Scrubber
- Photo Metadata Remover
- Privacy Policy & Cookie Analyzer
- All privacy tools