Skip to content

CSV Data Masker & Anonymizer

Sanitize emails, names, phone numbers, IDs and notes in a CSV file locally on your device before sharing with contractors, staging databases or AI prompts.

Processed in your browser. Your data is not uploaded, stored or logged — closing the tab discards it. How this works

Masking & export options Show

Same salt = same token across files.

Per-column masking rules

Auto-detected from column names and cell patterns. Change any column below.

Load CSV data or click "Load sample" to configure per-column masking rules.

Changes apply automatically.

Raw CSV input (stays local)

Paste CSV, choose a file, or load the sample customer dataset.

You can also drag and drop a file here.

Anonymized CSV output

The sanitized CSV appears here.

Anonymized preview (highlighted cells were masked)

The parsed rows appear here after conversion.

How to anonymize a CSV file before sharing

  1. Paste your CSV or open a file. The tool stays entirely in your browser and never uploads your data.
  2. Review the Per-column masking rules card list. Likely PII columns (emails, names, phone numbers, IDs, notes) are pre-selected automatically.
  3. Adjust any column's rule—for example, switch user_id to Hash token so repeat orders from the same customer still share the same anonymized ID.
  4. Inspect the highlighted cells in the Anonymized preview, then copy or download the sanitized CSV.

Masking modes compared

Masking modeExample inputExample outputPreserves uniqueness / joins?
Mask emailmorgan.lee@example.comm***e@example.comKeeps email domain visible
PseudonymMorgan LeePerson 1Yes (within the file)
Keep last 4+1 (415) 555-0142••••0142Partial (last 4 digits)
Hash tokenusr_900142tok_4b81f90c2e1aYes (across files with same salt)
RedactVIP call on Friday[REDACTED]No (replaces all non-empty cells)

Limitations

  • Hash tokens use a fast deterministic 64-bit salted FNV-1a digest designed for dataset pseudonymization and join preservation, not password storage.
  • Free-text comment columns can contain embedded names or phone numbers; use Redact ([REDACTED]) for free-text notes when sharing externally.

Frequently asked questions

Why anonymize CSV files in the browser instead of uploading to a cloud tool?

If a CSV contains customer names, emails, phone numbers or account IDs, uploading the raw file to a third-party server to anonymize it defeats the purpose of data privacy. Here, every masking rule runs inside a Web Worker on your own computer before any file is saved or shared.

How do deterministic hash tokens and pseudonyms preserve joins?

Both "Hash token (tok_…)" and "Pseudonym (Person 1, 2…)" map identical input values to the same output value. If customer_id 00142 appears on 15 order rows, every one of those rows gets the same token (so you can still group by customer or count distinct users) without exposing the real ID.

What is the secret salt used for?

If you hash predictable values like sequential IDs ("1", "2", "3") or phone numbers without a salt, someone could hash all possible phone numbers and match them back. Changing the secret salt produces a different set of tokens that only match other files anonymized with the same salt.

How does automatic PII column detection work?

When you load a CSV, the tool inspects column headers (such as email, phone, full_name, user_id, ssn, address) and sample cell patterns to suggest a sensible default masking mode for each column. You can override any column in one click.

Can I still keep analytics columns like revenue, date and country untouched?

Yes. Any column set to "Keep as-is" is copied through unchanged so your charts, sums and cohort formulas continue to work on the sanitized dataset.

Last updated .