Chrome Extension · v0.1.4 Available on the Chrome Web Store

Safe Privacy Mask

Hide it before you send.

A Chrome extension that masks emails, phone numbers, API keys, and more inside your browser before you paste text into ChatGPT, Claude, Gemini, and others. Your text is not sent to an external server for masking.

Free No account Masking runs on device
Add to Chrome (free)

Opens the Chrome Web Store

BEFORE / AFTER

Mask your text right in the field

Before you send to an AI or a web form, strings that match your rules are replaced right inside the input field.

Before

The contact is John Doe.
Email: john@example.com
Phone: +1-202-555-0134
API_KEY=demo-example-key

After

The contact is [name].
Email: [email]
Phone: [phone]
API_KEY=[api key]

Review the replaced text, then send it yourself.

USE CASES

When it helps

A quick replacement step before you hand text to an AI or a web form.

Asking AI to help with an email

Mask the email addresses and phone numbers in your message before pasting it into an AI.

Sharing error logs or code

Replace API keys, tokens, and IP addresses found in logs, code, and config files.

Summarizing or translating customer messages

Replace customer names, project names, and internal system names with any text via custom rules.

Typing into a web form

Even on sites that aren’t supported out of the box, register the target field and use it there.

Asking for a summary of meeting notes

Minutes are, by their nature, a list of who was there and where they work. Register those names as custom rules and they are replaced in the field itself before you ask for the summary.

Features

Key features

You decide what to hide, and the final review of your text always stays with you.

Runs on your device

Detection and masking finish inside your browser, with no external server involved.

Masks inside the field

No copying to another screen — text is replaced right in the field you’re typing in.

Detects email, phone, API keys & more

Common formats of personal and credential data are found and replaced by presets.

Register customer & project names

Organization-specific numbers and formats can be registered as rules, including regex.

Enable or disable per site

Run it only on the sites you want, and mark others as trusted to skip.

Choose the masking timing

Pick the moment to replace: while typing, on paste, or right before sending.

No account needed

No email sign-up or login — add it and start right away.

No ads, analytics, or telemetry

It does not record your activity or send any measurement data externally.

DETECTION & RULES

What it can detect and mask

Common formats are detected by presets; fill the gaps with your own rules.

Email address Phone number API keys & tokens IP address Credit card number Region-specific IDs Custom words Custom regex
Regional coverage & how detection works

Number formats that differ by country, matched to your region.

National & personal IDs Phone numbers Postal codes Bank account & IBAN
Regions supported (8) Japan United States United Kingdom China EU India South Korea Brazil

Card numbers are checked against their check digits (Luhn), so unrelated strings of digits are far less likely to be replaced.

Custom replacement rules

Register any “before → after” pair you like. Every setting saves automatically.

Word replacement

Replace a specific word with another, e.g. Confidential → [redacted].

Customizable

Regular-expression rules

Flexible patterns are supported too, e.g. \d{3}-\d{4}-\d{4} → [phone].

Customizable

Advanced options

Toggle case sensitivity, whole-word matching, and full/half-width equivalence per rule.

Optional

No cap on the count

There is no limit on the number of rules you can register, though many rules or heavy regex may affect processing speed.

No cap

HOW IT WORKS

Choose where and when

Major AI chats work right after install. On other sites, you register the input fields you want replaced.

1

Pick the target

Major AI chats work with no setup. On any other site, register an input field with a click.

ChatGPT Claude Gemini & more
2

Choose the timing

While typing, on blur, on paste, or right before sending. The pre-send pass runs synchronously so it always applies.

Real time On paste Right before sending
3

Adjust per site

Set each domain to “all fields” or “disabled.” Add sites you never want it to run on to your trusted list.

All input fields Disabled here Trusted sites

PRIVACY

Your text is not sent to an external server for masking

Detection and replacement both finish on your device.

This extension never sends your input, detection results, or browsing history externally.

Inspection and replacement both finish on your device; there is no external server or external API used for masking.

Runs on your device

Detection and masking run in your browser, with no external server involved.

No ads, analytics, or telemetry

Detection and masking use no external API, LLM API, analytics, ads, or telemetry.

Browsing history

It does not collect or record the URLs of pages you open or your browsing history.

Where data lives

Settings, custom rules, and site scope are stored only on your device in chrome.storage.local.

Permissions needed

Storage to save settings, and scripting to apply on sites you grant. Page-content access is used to process the target input fields.

Read the Privacy Policy →How to verify (Transparency) →

GET STARTED

Install & use

Three steps to get going.

Adding Safe Privacy Mask from the Chrome Web Store

1Add to Chrome

Just press “Add to Chrome” on the Chrome Web Store to get started.

Safe Privacy Mask settings (options) screen

2Set what to hide and where

In the settings, adjust replacement rules, target sites, and timing.

An input field being masked before sending

3Type into an AI or web form

In target fields, matched strings are replaced before you send.

For details like pinning to the toolbar, see Support and the FAQ. Open it any time from the extensions icon (the puzzle piece).

TECHNICAL

How it works under the hood

Even when custom regex is heavy, processing runs on a separate thread with timeouts and auto-disabling of the offending rule to keep the page responsive.

Runs on a separate thread (Web Worker)

Regex runs in a Web Worker (separate thread), so the page and your typing never freeze during heavy work.

Regex timeout

If one pass exceeds the limit (default 50ms), the worker is stopped and that pass is skipped (your input is left intact).

Isolating & disabling problem rules

On timeout, the offending regex rule is identified and, per your settings, automatically disabled with a notice.

Synchronous at send time

Only the pre-send pass runs synchronously so it reliably applies (guarded by a max scan length). ReDoS is contained in several layers.

Checksum validation (Luhn)

Card numbers and similar are checked against their check digits (Luhn) to avoid replacing unrelated strings of digits.

Where data lives

Settings, custom rules, and site scope are stored only on your device in chrome.storage.local.

Permissions needed

Storage to save settings, and scripting to apply on sites you grant. Page-content access is used to process the target input fields.

How to verify traffic

Traffic from the extension itself (its service worker) shows in the dedicated DevTools opened from chrome://extensions; traffic from the content script running in the page shows in the page’s own DevTools (F12).

How to verify (Transparency) →

How detection rules work

Presets detect by format (regex); custom rules replace matches of the word or regex you specify.

Frequently asked questions

Does Safe Privacy Mask send my input to an external server for masking?

No. Detection and replacement run in your browser, and the extension never sends your input or detection results externally.

Can it detect all personal information?

No. It detects based on string formats and your registered rules, so misses and false positives can occur. Always review before sending.

Can masked content be undone?

Replacement rewrites the text in the field; there is no automatic undo. If you need the original, review and edit it yourself before sending.

Does it work beyond ChatGPT?

Yes. Besides ChatGPT, Claude, and Gemini, it supports major AI chats like Copilot, Perplexity, Poe, Grok, Mistral, and DeepSeek, and works on other sites once you register a field.

Does it send automatically after masking?

No. Replacement happens before sending, but whether anything is actually sent is always up to your action.

Does it replace my company’s DLP?

No. Safe Privacy Mask is an aid to reduce oversights at input time; it does not replace your organization’s DLP, access controls, or approval processes.

Is there a limit on custom rules?

There is no cap on the number of rules you can register, though many rules or heavy regex may affect processing speed.

COMPARE

Gate warns, Mask hides

Both are sibling tools that act before you send. Pick the one that fits your goal.

Aspect Safe Privacy Gate Safe Privacy Mask
Before you sendDetects and warns (notice)Detects and replaces (hide)
Rewrites your textNoYes (just before send)
Automatic masking— (warns only)Yes
Final decisionYouYou
Where it worksAll sites (trusted ones excluded)Major AI chats + fields you add
Custom rulesWords & regexWords & regex (no cap)
External sending for detection/maskingNoneNone

Choose Mask to hide before sending; choose Gate to check without changing your text. You can also use both together.

See Safe Privacy Gate →

Tidy up what you reveal before you paste into AI.

Mask emails, phone numbers, API keys, customer names, and more right in the field.

Add to Chrome (free)

Masking runs on device · No account

LEGAL

Before you start

Our privacy promises and usage rules are collected in the documents below.