ByteScope

Anonymize Text

Before you paste text into an AI, swap names, phone numbers, emails and ID numbers for numbered tokens. Put the originals back in the reply. Everything happens in your browser.

Runs in your browser. Your text is not uploaded. The optional name finder downloads its model file once from huggingface.co, and the ONNX Runtime script loads from cdn.jsdelivr.net.

Text

Drop a .txt, .md or .eml file here

or click to browse. You can also paste text into the box below.

0 characters

Found in the text

Nothing found yet. Rules catch emails, phone numbers, IDs, card numbers, IBANs and IP addresses straight away.

0 found

Mark a selection

Select text in the preview, pick its type, then mark it. Every copy in the text is marked.

Select text in the preview first.

Find names with the AI model

Rules cannot see names. The model reads the text for people, addresses, companies and ID-like numbers, and it runs in your browser. Names are usually found; addresses and company names are often missed, so check them yourself.

The model file is about 189 MB. It downloads once from huggingface.co and stays in this browser. Your text is not sent there.

Replace with

Replace with

Text to copy into the AI

0 replaced

Read this before you paste

  • Automatic detection always misses things. This page saves work, but it does not guarantee a clean text. Read it yourself before you paste.
  • Even without names, a job title, a company and an event together can still point to one person.
  • Your company's data rules decide what you may share with an AI. Follow them.
  • The text never leaves your browser.

Restore the AI's reply

Paste the reply here. Tokens change back to their original values from the table on this page, which is kept only in this tab.

The table holds the original values. Keep it on your own device and do not paste it into an AI.

About this tool

What it finds

Two kinds of detection run on the text. Rules catch the patterns with a fixed shape and a check digit: email addresses, phone numbers, Taiwan national ID numbers, Japanese My Number, card numbers (Luhn), IBAN, IP and MAC addresses, and secret-looking values in links. They run as you type. The optional AI name finder reads the whole text for people, addresses, companies and ID-like numbers that have no fixed shape. Names are usually found; addresses and company names are often missed, so check them yourself.

Replace, copy, restore

Each value gets a numbered token, such as [Person1] or [Email2]. The same value always gets the same token, so the AI can still tell two people apart. Copy the result into the AI. When its reply comes back with the tokens in it, paste the reply into the restore box and the tokens change back. The original values live only in this tab's memory; you can download them as a JSON table, and they are gone once the tab closes. Mask mode writes a solid block instead, and that cannot be restored.

What it cannot do

Automatic detection always misses something, so this page saves work but does not make a text safe. Even with every name removed, a job title, a company and an event together can still point to one person. Your company's data rules decide what you may share with an AI, and they come first.

Where the model comes from

The name finder is GLiNER-X small by Knowledgator, licensed Apache-2.0: a quantized model and its tokenizer files, about 189 MB in total. It downloads once from huggingface.co and stays in this browser's storage. It works best on English and Chinese text in our tests; Japanese addresses and company names are missed more often.

Frequently asked questions

Is my text uploaded anywhere?

No. The rules and the AI name finder both run in your browser, and the text is never sent to a server. The only network traffic is the one-time model download from huggingface.co and the ONNX Runtime script from cdn.jsdelivr.net. Closing the tab removes the replacement table.

Why did it miss a name or an address?

Automatic detection is a best guess. Names are usually found, but addresses and company names are often missed, and unusual names can slip through. Read the text yourself before you paste it, and mark anything it missed by selecting it in the preview.

Can I get the original text back?

Yes, in token mode. Paste the AI's reply into the restore box and each token is changed back to its original value. The AI sometimes adds a space or changes a bracket, and the restore step accepts the common variants. Tokens it cannot match are listed so you can check them. Mask mode cannot be restored.

Is the output safe to paste into any AI?

It identifies people less, but it is not safe by default. Check the output for anything detection missed, ask whether the rest of the text still points to a person, and follow your company's data policy.

Does it work on images or PDFs?

No. It works on pasted text and on .txt, .md and .eml files. For screenshots, use Redact Screenshot instead.