Privacy Filter Online

Detect names, emails, phone numbers, addresses, account numbers, dates, URLs, and secrets locally in your browser — a free privacy remover that masks them in one click, no upload required.

Model not loaded

The first run downloads model files from Hugging Face. Chrome or Edge with WebGPU is recommended.

Input text

Results

Labeled source

Waiting for detection.

Redacted text

Waiting for detection.

Image input

Local OCR plus PII labels — all in your browser.

OCR preview

Result

Choose a demo image or upload your own image.

100% local Inference runs in your browser. No text is uploaded.
Open model Powered by the public openai/privacy-filter weights.
WebGPU + WASM Hardware-accelerated when available, with a WASM fallback.
Free forever No sign-up, no quota, no tracking — just paste and go.

How Privacy Filter works

  1. Load the model in your browser

    The openai/privacy-filter weights are downloaded once from Hugging Face and cached for future visits.

  2. Run token classification locally

    Transformers.js executes the model on WebGPU when available, with WebAssembly as a fallback.

  3. Review and copy

    Inspect the highlighted entities, copy the redacted text, or paste new content — nothing ever leaves your device.

Supported entity types

The model outputs 8 privacy span categories (BIOES-tagged at the token level).

Name private_person

Names and personal identifiers.

Email private_email

Personal email addresses.

Phone number private_phone

Personal phone numbers.

Address private_address

Personal residential or mailing addresses.

Account number account_number

Financial or service account identifiers.

Date private_date

Personal dates such as birthdays.

URL private_url

Personal URLs or web addresses.

Secret secret

Credentials, tokens, API keys, and other secrets.

Use cases

Sanitize prompts to LLMs

Run a quick privacy clean before pasting into ChatGPT, Claude, Gemini, or any chatbot — strip personal details in one pass.

Scrub logs and tickets

Redact customer data from support tickets, error logs, and bug reports before sharing.

Share documents safely

Mask names, addresses, and account numbers before sending screenshots or text snippets.

Audit content for secrets

Catch API keys and tokens accidentally embedded in documentation, README files, or chat threads.

Frequently asked questions

Is my text uploaded to a server? +

No. Inference runs entirely in your browser through Transformers.js. After the initial model download from Hugging Face, your text never leaves the device.

What kinds of personal information can it detect? +

Names, emails, phone numbers, addresses, account numbers, dates, URLs, and secrets such as API keys or tokens.

Which browsers are supported? +

Chrome and Edge with WebGPU offer the fastest performance. Other modern browsers fall back to WebAssembly automatically.

Why is the first detection slow? +

The first run downloads the openai/privacy-filter weights. Subsequent runs use the browser cache and are noticeably faster.

Is Privacy Filter free? +

Yes. The page is free to use, and the underlying openai/privacy-filter model is published with open weights on Hugging Face.

Can it replace a regex-based redactor? +

For most natural-language text, a contextual model catches entities that regex misses (multilingual names, free-form addresses) — though combining both gives the best coverage.