Mask Personal Information Online (PII Masker)
Instantly redact and anonymize sensitive personal data from your spreadsheets and text – securely in your browser.
Why Use This Tool?
Sharing datasets, customer lists, or financial reports can easily expose Personally Identifiable Information (PII) such as emails, phone numbers, or ID numbers. Our free PII Masker helps you instantly anonymize this sensitive data within your CSV and Excel files or any pasted text, allowing you to safely share or analyze your datasets while maintaining strict privacy and compliance.
Because handling PII requires absolute security, this tool is built entirely on client-side technology. This means your spreadsheets are processed locally right on your device, and your sensitive data is never uploaded to any external servers.
How to Use This Tool
4 Quick StepsAdd Your Data
Upload a CSV or Excel file, or switch to Paste text to mask an email, chat log or document.
Choose What to Find
Tick emails, phones, card numbers, IDs, IBANs or IP addresses, and add any custom words to hide.
Pick a Mask Style
Choose Label, Partial, Full or Token, and mask whole columns such as names or addresses in one click.
Review and Download
Compare the masked and original data, then save your safe-to-share file as Excel or CSV.
PII Masker
Find and mask emails, phone numbers, card numbers and IDs in spreadsheets or text.
Every sheet in an Excel workbook is scanned. Nothing is uploaded.
Add a file or try the sample data to see your masked spreadsheet.
Use the menu under each column heading to scan it, mask the whole column, or leave it unchanged.
The token key links each token to its original value. Keep it private and store it separately from the masked file.
What the PII Masker Detects
The tool scans every cell and every line of text for these types of personal data. Checksums and format rules keep false matches, such as dates and prices, to a minimum.
| Data Type | Example | How It Is Recognised |
|---|---|---|
| Email addresses | name@example.com | Standard email format, including subdomains and plus addressing |
| Phone numbers | +1 555 123 4567, (555) 123-4567, 0300-1234567 | International, bracketed and local formats, while skipping dates and amounts |
| Card numbers | 4111 1111 1111 1111 | 13 to 19 digits that pass the Luhn checksum used by Visa, Mastercard, Amex and others |
| National ID numbers | 123-45-6789, 12345-1234567-1, QQ 12 34 56 C | US SSN, Pakistani CNIC, Indian Aadhaar and UK National Insurance formats |
| Bank IBANs | GB82 WEST 1234 5698 7654 32 | Country code, check digits and the official mod-97 checksum |
| IP addresses | 203.0.113.42 | Four number groups from 0 to 255 |
| Custom words | Sarah Khan, Acme Ltd | Any words you enter, matched as whole words and ignoring case |
Choosing How to Mask Your Data
The right style depends on who will see the data and what they need to do with it. You can switch styles and the preview updates instantly.
| Style | Example Result | Best For |
|---|---|---|
| Label | [EMAIL], [PHONE], [CARD] | Sharing reports and documents where readers only need to see what was removed |
| Partial | s***@example.com, **** **** **** 1111 | Customer support, testing and checks where staff must still recognise a record |
| Full | *****.****@*******.*** | Hiding every character while keeping the layout and length of the data |
| Token | EMAIL_001, PHONE_002 | Analysis and reporting where you still need to count, group or match records |
Columns Masked Automatically
When your file has a header row, columns with these headings are set to Mask whole column for you. Every other column is scanned cell by cell, and you can change any column from the menu under its heading.
| Column Headings Like | Masked As |
|---|---|
| Name, Full Name, First Name, Last Name, Username | NAME |
| Email, Email Address | |
| Phone, Mobile, Cell, Telephone, WhatsApp | PHONE |
| Address, Street, Postcode, ZIP Code | ADDRESS |
| Date of Birth, DOB, Birthday | DOB |
| Card Number, Credit Card | CARD |
| IBAN, Bank Account, Account Number | BANK |
| SSN, CNIC, Passport, National ID, Tax ID | ID |
When to Mask Personal Information
Any time data leaves the people who need to see it, masking the personal details first protects your customers and your business.
- Sharing data with vendors. Send a customer list or order export to an agency or developer without revealing who your customers are.
- Test and demo data. Create realistic-looking test files from production data without exposing real people.
- Support tickets and chats. Paste a customer email or chat log and remove contact and payment details before forwarding it.
- Reports and dashboards. Use Token mode to keep counts and trends accurate while hiding individual identities.
- Privacy compliance. Reduce the personal data you share under GDPR, CCPA and similar data protection rules.
- AI and analytics tools. Strip personal details from data before you paste it into chatbots, BI tools or online services.
Tips for Safe Data Masking
Automatic detection does most of the work. These checks help make sure nothing personal slips through.
- Mask whole columns for names. Patterns cannot reliably spot names or addresses, so set those columns to Mask whole column.
- Check the Original data view. Switch views to see exactly which cells changed, and fine-tune any column before downloading.
- Search free-text columns. Notes and comments often hide emails and phone numbers, so leave them on Scan for PII.
- Keep the token key safe. Anyone with the key can reverse Token mode, so store it separately from the masked file or do not download it at all.
Frequently Asked Questions
Quick answers to common questions about masking personal data in spreadsheets and text.
What is PII?
PII stands for personally identifiable information: any data that can identify a person on its own or when combined with other data. Common examples are names, email addresses, phone numbers, home addresses, dates of birth, card numbers, bank account numbers, national ID numbers and IP addresses.
How do I mask personal data in an Excel or CSV file?
Select your file, tick the types of data you want to find, and choose a masking style. The tool scans every cell and shows a preview with each changed cell highlighted. When you are happy with it, click Download masked file to save a safe copy as Excel or CSV.
Can it mask names and addresses?
Yes. Names and addresses do not follow a fixed pattern, so they are handled by column. Columns with headings such as Name, Full Name, Address, Postcode or Date of Birth are set to Mask whole column automatically, and you can switch any other column to Mask whole column from the menu under its heading. To hide names inside free text, add them to Custom words.
Which ID numbers can it find?
It finds US Social Security numbers (123-45-6789), Pakistani CNIC numbers (12345-1234567-1), Indian Aadhaar numbers (1234 5678 9012) and UK National Insurance numbers (QQ 12 34 56 C). For any other ID format, use Mask whole column on the ID column.
Will dates, prices or order numbers be masked by mistake?
The tool is built to avoid this. Dates, decimal amounts, thousand separators and plain order or reference numbers are skipped, and card numbers and IBANs must pass their checksum before they are masked. You can review every change in the preview, and switch any column to Leave unchanged if needed.
Which masking style should I use?
Use Label when the data only needs to show what was removed, such as [EMAIL]. Use Partial for support or testing work where staff must still recognise a record, such as a card ending in 1111. Use Full to hide everything while keeping the format, and Token when you need to keep counting or matching records for analysis.
What is the difference between masking and anonymization?
Masking hides or replaces sensitive values. When every identifying value is removed for good, the result is close to anonymized data. Token mode is pseudonymization: each value is replaced with a code that can be traced back with the token key, so the data can still count as personal data under laws such as the GDPR. Keep the key private and separate from the masked file.
Are my files uploaded to a server?
No. Your files and text are read and masked entirely in your web browser, and they are never uploaded or stored anywhere. Only your settings, such as which types to find and the masking style, are remembered on your device. Your data and custom words are never saved.
Does it keep every sheet in my Excel workbook?
Yes. Every sheet that contains data is scanned, and the Excel download keeps all of them, with numbers and dates you did not mask kept as real values. Only cell values are saved, so formatting, formulas and charts are not carried over. A CSV download holds just the sheet you are viewing.
What is in the masking report?
The masking report is a CSV file that lists the sheet, the cell, the column and the type of data masked for every change. It does not include the original values, so it is useful for audits and reviews. In Token mode you can also download a token key, which does contain the original values.
Is this PII masking tool free?
Yes. It is completely free, with no sign-up, no limits on the number of files and no watermarks on your files.
Related Free Tools
These free tools work well alongside the PII Masker. Like this one, they all run privately in your browser.