PII Mask & Restore Tool Reversible masking with a mapping table, not irreversible anonymization
This is reversible masking, not irreversible anonymization. Detection covers selected formats and can miss or misidentify data; review the text manually before sharing. Editing the source clears previous results, so save any mapping you need first.
Step 1: Paste the original text containing personal data
Tip: Running auto-detect again resets the current masked result and mapping table. Do manual marking only after detection is finished.
The Ultimate Slack-Off Tool!
Stealth-watch videos & listen to novels
No card needed. Try it right now.
Get it on Microsoft StoreWindows 11 / 10 only
What is the PII Mask & Restore Tool?
Before sharing text with ChatGPT, Gemini or Claude, replace supported data patterns with codes such as [MASK_1] and keep the original-value mapping table in your browser. Manual marking is also available. This is reversible masking, not irreversible anonymization. Detection can miss data and context can still identify people, so review before sharing. Restoration requires your mapping table and matching codes in the reply; do not send the mapping table to the AI.
Supported detection formats
- Email addresses: standard email format.
- Phone numbers: common international and local formats.
- Credit card numbers: 13-19 digits with optional separators, validated with the Luhn algorithm to reduce false positives.
- ID / Passport numbers: US SSN format, Taiwan National ID format, and common letter+digit passport patterns.
- IP addresses: IPv4 and IPv6.
- Bank account / IBAN: international bank account number format.
- Manual marking: unstructured data like names can't be reliably detected by regex, so you can select text and add it manually.
Typical use case
For example, before pasting a customer support email into an AI tool for proofreading, mask the customer's name, email and phone number first. Or before asking an AI to reformat a spreadsheet containing employee data, de-identify it first. As long as the codes remain in the AI's reply, you can restore them back to real values with the mapping table — the AI only ever sees the codes, never the real personal data.
Frequently Asked Questions
Q1: Is the mapping table ever uploaded to your servers?
No. This tool runs 100% in your browser (Chrome, Firefox, Safari, etc.) — detection, masking and restoration all happen locally. We have no backend server receiving any of your text. The mapping table only exists in your current tab's memory; it disappears when you refresh or close the tab, so please download it if you want to keep it.
Q2: Why not just give the mapping table to the AI to restore it for me?
If you paste the mapping table into the AI as well, the AI would see both the codes and the real values at the same time, which completely defeats the purpose of de-identification. The restore step is deliberately designed to run entirely offline on your device so real sensitive data never passes through any third-party AI server.
Q3: Can regex-based detection miss things or over-match?
Yes — that's a known limitation of pattern-based detection. Unstructured data like names or addresses can't be reliably identified by format alone. We recommend reviewing the masked text once after detection; if something was missed, use "Mark selected text as sensitive" to add it manually so nothing important slips through.
Q4: What is PII and de-identification?
Personally Identifiable Information (PII) refers to any data that can identify a specific individual, such as a name, ID number, or contact details. De-identification replaces this data with codes or pseudonyms to reduce the risk of exposure. See Wikipedia: Personal data for more background.