Drop a CSV. The scan runs entirely on your device, flags columns by heading and by value pattern, shows masked samples and suggests how to de-identify each one. It cannot certify anything; it finds what to look at first.
Free sandbox · No credit card · 21 CFR Part 11 compliant
| Column | Risk | Looks like | Suggested action | |
|---|---|---|---|---|
| dob | High | Dates | Generalise to year | |
| zip_code | High | Geography | Truncate to 3 digits if area has over 20,000 people | |
| age | High | Age over 89 | Top-code to 90+ | |
| High | Remove | |||
| sbp | None found | – | Keep |
Safe Harbor in brief
Free tool
Drop a file, paste text, or press Load example CSV. Your data is parsed in this tab and never sent anywhere. Each column gets a risk level, the categories it matches, masked sample values and a suggested action.
Your file never leaves your device. It is read and parsed entirely in this browser tab; nothing is uploaded, stored or sent.
Drop a CSV file here, choose one, or paste the contents below.
Load the example or your own CSV to see which columns look like Safe Harbor identifiers.
Heuristics only. This scan cannot certify de-identification: it cannot recognise names in free text, cannot judge whether a small cell is re-identifiable, and cannot know what else you hold. HIPAA also allows the Expert Determination method (45 CFR 164.514(b)(1)). Passing the scan is not evidence of compliance.
How the scan works
Each column is checked two ways. Heading rules look for words such as first name, phone, MRN, address, zip, dob, date, email, IP address or device serial, after normalising case, punctuation and camelCase, so “PatientName”, “patient_name” and “Patient Name” all match while “form_name” and “drug_name” do not. Value patterns inspect every non-empty cell: emails, URLs, US social security numbers (with the invalid 000, 666 and 9xx area numbers excluded), US and international phone numbers, IPv4 and IPv6 addresses, dates in six common formats, ZIP+4 and Canadian or UK postcodes, card numbers that pass the Luhn check, IBANs that pass the mod-97 check, 17-character vehicle numbers, MAC addresses and image file names. A plain five-digit number counts as a ZIP only when the heading says it is geography, because five-digit numbers are otherwise everywhere.
A column is high risk if any cell matches a pattern or the heading names a direct identifier (name, phone, email, SSN and similar). It is review if only the heading suggests something indirect, such as a study ID, a device or an image. It is none found otherwise. Ages are special: the heading alone is not a problem, but any numeric value above 89 raises the column to high, because Safe Harbor requires those ages to be aggregated into a 90-or-older category. A value that already reads “90+” is not flagged.
Worked example. The built-in file has 5 rows and 12 columns. The scan reports 9 high-risk columns, 1 to review and 2 with no pattern found. dob and visit_date match as dates in all 5 of 5 values, zip_code as geography in 5 of 5, phone in 4 of 5 and email in 4 of 5; age is high because 1 of 5 values (91) is over 89; the free-text notes column is high because it contains a phone number, a URL and an IP address inside sentences. subject_id is a review item and sbp and sex show nothing. The first and last name columns are flagged by heading alone, since the scanner cannot recognise a name from its value.
What to do with a flag
Starting points under Safe Harbor. Your protocol, consent, data use agreement and a privacy officer decide what is actually allowed.
| Category (45 CFR 164.514(b)(2)(i)) | What the scan looks for | Common action |
|---|---|---|
| (A) Names | Headings only | Remove, or replace with a random study code with the key held separately |
| (B) Geography below state | Address, city, county, ZIP headings; ZIP+4, postcodes | Remove; keep state; 3-digit ZIP only for areas with more than 20,000 people, else 000 |
| (C) Dates and ages over 89 | Date headings and formats; ages above 89 | Year only, or study day; age 90+ as one category |
| (D)(E)(F) Phone, fax, email | Headings and patterns | Remove |
| (G)(H)(I)(J)(K) SSN, record, plan, account, licence numbers | Headings; SSN, card and IBAN patterns | Remove |
| (L)(M) Vehicle and device identifiers | Headings; 17-character VIN, MAC address | Remove or generalise to a model type |
| (N)(O) URLs and IP addresses | Headings and patterns, including inside text | Remove |
| (P)(Q) Biometrics, full-face images | Headings; image file names | Remove the files and the file names |
| (R) Other unique code | Study, subject and participant ID headings | Allowed if random and not derived from personal data, with the key kept apart |
Generalising a date to a year loses information that analyses often need (time to event, visit timing). If you need intervals, compute study days before release and drop the dates. If you cannot lose dates or geography, the Expert Determination route may fit better.
Collect data with role-based access and PII segregation so researchers see coded IDs, not names. Try it in the free sandbox with sample participants. No credit card.
Limits
Safe Harbor has two conditions. The first, removing the 18 categories, is what the scan helps with. The second, no actual knowledge that the remaining information could identify an individual, is a judgement about your data and your recipient that no software can make. A rare diagnosis in a small town, a very unusual height or a one-of-a-kind combination of visit dates can all identify someone without matching any pattern. Free-text columns are the other blind spot: the scanner finds phone numbers, emails and URLs inside notes, but not “Mrs Patel from the bakery”.
That is why the scanner reports risk and suggested actions, not a pass. For the legal tests and the Expert Determination alternative, read HIPAA de-identification in clinical research; for how HIPAA relates to consent, see HIPAA authorization versus informed consent, and for the European angle HIPAA versus GDPR for trial data. If you are building a data dictionary and want to mark identifier fields as you design the study, the data dictionary and codebook generator is a useful companion.
A practical routine: scan the export before every external share, fix the columns it flags, scan again, then have the data owner or privacy officer review the result and the free text. Keep a note of what you removed and why. The tool never keeps a copy of your data, so the note is the only record of the check.
In Capture
Prevention is cheaper than cleaning. In Capture the coordinator and researcher roles are separated at the database layer, so the people analysing data work with coded participant IDs.
| Role | Names | Coded ID | Export | |
|---|---|---|---|---|
| Site coordinator | site only | |||
| Researcher | ||||
| Admin | per policy |
Before you release a dataset
Run the scan on the exact file you will release, not on a similar one.
Read or search notes, reasons and comments for names, places and contact details.
Dates other than year removed or converted to study days; ages over 89 top-coded.
Nothing smaller than a state, except 3-digit ZIPs for areas with over 20,000 people per current Census data.
Study IDs are random and not derived from names, record numbers or birth dates; the key stays inside the study team.
Who reviewed, when, what was removed, and whether Expert Determination was considered.
Names; geographic subdivisions smaller than a state; all elements of dates except year, and ages over 89; telephone numbers; fax numbers; email addresses; social security numbers; medical record numbers; health plan beneficiary numbers; account numbers; certificate or licence numbers; vehicle identifiers and plates; device identifiers and serial numbers; web URLs; IP addresses; biometric identifiers; full-face photographs and comparable images; and any other unique identifying number, characteristic or code. They are listed in 45 CFR 164.514(b)(2)(i)(A) to (R).
Only where the geographic unit formed by all ZIP codes sharing those first three digits contains more than 20,000 people according to current publicly available Census data. If it holds 20,000 or fewer, the three digits must be replaced with 000. Look up the current figures; the tool does not.
Safe Harbor treats all elements of dates directly related to an individual, other than year, as identifiers, including admission, discharge, visit and birth dates. For analysis, convert dates to study days or intervals before release.
Ages up to 89 may stay. Ages over 89, and dates that would reveal them, must be aggregated into a single category of 90 or older. The scanner flags numeric ages above 89 and does not flag a value that already says 90+.
No. The file is read with your browser and parsed by code running in the page. Nothing is sent to a server, saved or logged, and closing the tab discards it.
No. Safe Harbor also requires that you have no actual knowledge that the remaining data could identify someone, and the scan cannot read names in free text or judge re-identification risk. Treat a clean scan as one input to a human review.
The other HIPAA de-identification method (45 CFR 164.514(b)(1)). A person with appropriate statistical knowledge applies accepted methods and documents that the risk of identifying anyone is very small. It allows keeping some data, such as dates, that Safe Harbor would remove.
It can. A code is allowed if it is not derived from information about the person and the mechanism to re-identify is not disclosed. A code made from initials and birth date does not qualify. The scanner marks ID columns for review rather than failing them.
Keep exploring
HIPAA de-identification in clinical research
Safe Harbor and Expert Determination explained.
HIPAA compliant clinical trial software
What to look for in a platform.
HIPAA authorization vs informed consent
Two different permissions.
HIPAA vs GDPR for trial data
US and EU rules side by side.
Data dictionary and codebook generator
Mark identifier fields as you design.
Security
Hosting, encryption and compliance badges.
Set up roles, coded IDs and exports in the free sandbox with sample participants. No credit card; pay only at go-live.