How to de-identify patient data in a spreadsheet (HIPAA Safe Harbor)
- Choose your CSV files, or drop them on the box above. Use the arrows to put them in the order you want.
- Check the settings (Replace personal data with, Column rules (optional), Secret phrase (optional), Also save a key file (original → replacement), First row is the header and Free-text columns (notes, comments)). The defaults suit most CSV files.
- Click “De-identify”. Your device does the work, so there's nothing to upload and no queue.
- Download the result. You can rename it first, or carry on with “Split a CSV file” or “Convert CSV to Excel” in one click.
When it helps
For research, quality reports or vendors, health data often has to be de-identified first. The Safe Harbor method removes 18 kinds of identifiers. This tool handles those that live in spreadsheet columns, in CSV or Excel files, on your computer.
Tips
- Names, medical record, health plan, account, licence, vehicle and device numbers, SSNs, emails, phones and faxes become pseudonyms (or masks).
- Every date becomes its year; ages over 89 become “90 or over”.
- ZIP codes keep their first three digits, or become 000 in the 17 low-population areas.
- Street addresses, towns, counties, URLs, IP addresses and free-text notes are removed.
- Photos and biometric data can’t be in a spreadsheet; other unique codes need a rule from you (“badge = pseudonym”).
- Read the HHS de-identification guidance. Safe Harbor also requires that you don’t know of a way the rest could identify someone. This helps you get there but isn’t a compliance guarantee or legal advice.
If something’s off
- A column with identifiers was kept: add a rule, e.g. “Insurance ID = pseudonym” or “Room = drop”.
- A date column wasn’t reduced: it may not look like dates. Add “Visit = year”.
Settings explained
- Replace personal data with. IDs always get pseudonyms; postcodes, ages and dates of birth are made less precise. Choices: Realistic fake values (names, emails, IBANs…), Pseudonyms (codes like PERSON-7KQ2M9XA4B), Masks (j***@e***.com, ****1234).
- Column rules (optional). Column = keep, fake, pseudonym, mask, year, month, generalise or drop. Overrides what was detected.
- Secret phrase (optional). Use the same phrase next time to get the same pseudonyms and fakes. Keep it as safe as a password.
- Also save a key file (original → replacement). Anyone with the key file can undo the anonymisation. Store it separately and securely, or not at all.
- First row is the header.
- Free-text columns (notes, comments). Choices: Keep them (check them yourself), Remove them.
Questions
Is it safe to use with private CSV files?
Yes. Your CSV file is opened by your own browser and never uploaded. The tool runs in a sealed box on this page: it's served from a separate address that is blocked from connecting to any other server, and nothing else on the page can see inside it.
Is there a file size limit?
No fixed limit. Big files don't need to upload, so the only limit is your device's memory. Before a large job, the tool checks what your device can handle and tells you if it might not fit.
Do I need to sign up or pay?
No. It's free, with no signup and no watermark.
Which files does it open?
CSV, TSV, TXT, XLSX, XLS or ODS files, as many as you like at once.