Text Redactor

Redact text before you paste it into an AI: rules, checksums and a compact character-level model detect names, phones, IDs, cards, emails, addresses and API keys in English or Chinese, replace them with placeholders like [PERSON_1], and keep a mapping table so you can restore the AI’s reply afterwards. Everything runs in your browser.

Honest limits: automatic redaction misses things and can flag innocent text. Treat it as a first pass and review the result yourself before sending anything to an AI. On the official benchmark (mid-risk F2) the engine recalls 87.1% on Chinese, 93.1% on English and 97.3% on mixed text — misses remain possible.

Text to redact0 characters

Redacted text

Click Redact text and the placeholder version will appear here.

Detections

After redaction, every hit is listed here with its type, original value, placeholder and risk level.

Mapping table

After redaction, the placeholder-to-original table appears here.

Restore

Paste the AI’s reply below and the placeholders are swapped back using the mapping from your latest redaction (reloading the page or redacting again updates the mapping).

Run a redaction first, then paste the reply to restore it.

Credits

Powered by edge-redact (MIT License) — detection and restore run locally.

The built-in model was trained and benchmarked on datasets released under CC BY 4.0: “Nemotron-PII” by NVIDIA, “OpenPII-1.5M” by Ai Suisse SA (ai4privacy), and “RedactionBench” by the RedactionBench authors.

Features

Runs entirely in your browser

Your text never leaves the tab. Apart from a one-time 1.4 MB model download, detection and restore are all local.

Three detection layers

Rules, checksums and a compact 1.35 MB character-level model work together on pure Chinese, pure English and mixed text.

Placeholders and a mapping table

Each detection becomes a placeholder like [PERSON_1], with a placeholder-to-original table you can export as JSON.

Restore in one click

Paste the AI’s reply back and every placeholder is swapped for the original value — redact and work without friction.

Use cases

Redact before you paste into AI

Swap personal details for placeholders before pasting a draft into ChatGPT or another assistant, then paste the reply back to restore.

Teams and contractors

Share tickets, user feedback and case studies with colleagues or freelancers without exposing names, phone numbers or emails.

Publishing and archiving

Quote real conversations in tutorials and postmortems — redact first and keep the mapping table to yourself.

A privacy first pass

A quick de-identification pass before handling customer material. It lowers the risk of accidental leaks; it is not a compliance process.

Frequently asked questions

Is automatic redaction reliable? Will it catch everything?

No automated approach guarantees that. Detection combines rules, checksums and a model, but misses and false positives remain possible — on the official benchmark (mid-risk F2) the engine recalls 87.1% on Chinese, 93.1% on English and 97.3% on mixed text. Treat the result as a first pass and review it yourself before sending.

Is my text uploaded anywhere?

No. Detection and restore run locally in your browser and your text is never sent to a server. The first redaction downloads the model file (about 1.4 MB) from this site’s static assets and your browser caches it afterwards — the download is the model, not your text.

What are the placeholders and how do I restore?

Each detection is replaced with a placeholder such as [PERSON_1], and a placeholder-to-original mapping table is generated alongside. Paste the AI’s reply into the restore box to swap the placeholders back, or copy the mapping as JSON to keep an archive for manual lookup.

Which kinds of personal information are detected?

14 categories: person names, phone numbers, emails, addresses, Chinese ID numbers, credit and bank card numbers, other ID numbers, secrets and API keys, IP addresses, organizations and project names — in pure Chinese, pure English, or mixed text.

What happens if the model fails to load?

The page shows an explicit error and does not silently fall back to rules-only detection, which would miss far more. Check your connection and click Redact text again to retry the download.

How is this different from the Sensitive Word Checker?

The Sensitive Word Checker looks for advertising-law absolute claims and platform-prohibited wording — a compliance tool. This tool looks for personal information (PII) — a privacy tool. You can use them one after the other.