Mask AI prompts locally, restore in one click

Replace PII, API keys, IPv4/IPv6, credit cards, and custom terms with consistent tokens in browser memory. Zero server uploads.

Original text
0 chars
Masked outputReady
Repeated values receive the same numbered token (e.g. [PUBLIC_IP_1], [EMAIL_1]) so AI keeps full context.
Runs in browser RAM only · 0 bytes uploaded

Session mapping table

Detected entities and the RAM-only restore lookup appear here once you paste text.

Practical workplace scenarios

Debug production incidents with ChatGPT or Claude

Paste error traces containing AWS keys, JWT Bearer headers, and customer emails without risking secret exposure. Identical values keep identical tokens so AI tracks root causes accurately.

Before
Error from 203.0.113.42 (ops@northstar.io) Bearer eyJhbGci... retry 203.0.113.42
After
Error from [PUBLIC_IP_1] ([EMAIL_1]) Bearer [API_KEY_1] retry [PUBLIC_IP_1]

Summarize customer emails and billing tickets

Redact credit card numbers (Luhn-verified), US SSNs, Korean RRNs, phone numbers, and bank accounts before drafting responses with AI, then restore real details locally.

Before
Refund card 4532-0151-1283-0366 / SSN 123-45-6789 / RRN 900101-1234568
After
Refund card [CARD_1] / SSN [SSN_1] / RRN [RRN_1]

Protect confidential client and project names

Add internal codenames, customer names, or executive names to your browser-local Custom Terms list so proprietary business context never leaves your machine.

Before
Project Orion contract review for Northstar Cloud
After
[PROJECT_1] contract review for [CLIENT_1]

Supported detection patterns and validation rules

API Keys, JWT & Bearer [API_KEY_1]
AKIA..., sk-proj-..., ghp_..., xoxb-..., eyJ...eyJ..., Bearer <token>

Provider prefix + length rules; masks token while keeping "Bearer" readable

IPv4 (Public vs Private) [PUBLIC_IP_1] / [PRIVATE_IP_1]
203.0.113.42 (Public) / 10.24.8.15, 192.168.1.1 (Private)

Strict 0–255 octets, RFC1918/CGNAT/loopback split, excludes v1.2.3.4 versions

IPv6 & MAC Address [IPV6_1] / [MAC_1]
2001:db8::8a2e:370:7334 / 00:1A:2B:3C:4D:5E

Full/compressed IPv6 parser excludes timestamps (12:34:56); consistent MAC delimiters

Credit Card & US SSN [CARD_1] / [SSN_1]
4532-0151-1283-0366 / 123-45-6789

Strict Luhn checksum + IIN check for cards; SSA area/group/serial rules for SSN

Korean RRN & Biz Reg No. [RRN_1] / [BIZ_NUM_1]
900101-1234568 / 123-45-67891

Calendar birthdate + weighted checksum verification prevents random number false positives

Korean Phone, Bank Account & Email [PHONE_1] / [BANK_ACCOUNT_1] / [EMAIL_1]
010-9876-5432, 02-3456-7890, 신한은행 110-456-789012, user@domain.com

Context-aware bank keyword matching + standard multi-hyphen account formats

Custom Terms Dictionary [CLIENT_1] / [CUSTOM_1]
Company names, client names, codenames, staff names

Longest-match-first, optional case sensitivity, saved only in browser localStorage

Verify zero-upload processing in 10 seconds

  1. Press F12 to open DevTools > Network and clear the request log.
  2. Paste sample data above and run masking, restoration, or IOC extraction. Confirm 0 outgoing requests.
  3. Switch DevTools throttling to Offline or disconnect Wi-Fi. Every tool continues working identically.

Frequently asked questions

Does MaskPrompt send my pasted text or API keys to any server?

No. MaskPrompt is a 100% static client-side web application. All detection, masking, and restoration run purely in your browser JavaScript memory with zero network requests. You can verify this in DevTools Network tab or by disconnecting from the internet.

How does One-Click Restore work without a backend database?

When you mask text, MaskPrompt builds a temporary token-to-value lookup map solely in browser RAM (for example, [PUBLIC_IP_1] -> 203.0.113.42). When you paste the AI reply into the Restore tab, MaskPrompt swaps every matching token back locally. Reloading the tab or clicking "Wipe session" permanently clears the map.

Why does MaskPrompt use numbered tokens like [IP_1] instead of [REDACTED]?

Numbered tokens preserve relationships across your prompt. If an attacker IP appears four times in a log, replacing every occurrence with [PUBLIC_IP_1] lets ChatGPT or Claude trace the exact sequence of events while keeping the real IP completely private.

How do you prevent false positives on random 10-digit or 16-digit numbers?

MaskPrompt validates Korean Resident Registration Numbers (birthdate + official weighted checksum), Korean Business Registration Numbers (weighted checksum), Credit Cards (Luhn algorithm + valid IIN prefixes), IPv4 octets (0–255), and IPv6 structure before redacting.

Where are my Custom Terms stored?

Custom Terms are saved exclusively in your browser localStorage under key "maskprompt:custom-terms:v1" so you do not have to re-type them each visit. They are never transmitted over the network, and you can delete them anytime with one click.