Free tool · Privacy referenceUpdated November 1, 2026

HIPAA Safe Harbor identifier scanner: check a CSV against the 18 identifiers in your browser

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.

  • Nothing uploaded
  • Heading and value checks
  • Masked samples
  • Example CSV built in

Free sandbox · No credit card · 21 CFR Part 11 compliant

  • ISO 27001 certified
  • 21 CFR Part 11 compliant
  • GDPR compliant
  • EU and US data hosting
  • HIPAA compliant
  • ICH GCP E6(R3) compliant
Demo scan · 5 rows, 12 columns
ColumnRiskLooks likeSuggested action
dobHighDatesGeneralise to year
zip_codeHighGeographyTruncate to 3 digits if area has over 20,000 people
ageHighAge over 89Top-code to 90+
emailHighEmailRemove
sbpNone found–Keep
Demo output. Sample values are masked.

Safe Harbor in brief

  • Safe Harbor is one of two HIPAA routes to de-identified data (45 CFR 164.514(b)). Remove 18 categories of identifiers, and have no actual knowledge that what remains could identify the person. The other route is Expert Determination, where a qualified statistician documents that the risk is very small.
  • The 18 categories go well beyond names and numbers: dates other than year, geography smaller than a state, ages over 89, URLs, IP addresses, device serials, biometric identifiers, face photos and any other unique code.
  • Dates are the usual surprise in trial data. A visit date is an identifier under Safe Harbor even though it is not a name. Study day or interval since enrolment is the common substitute.
  • The ZIP rule is narrow: the first three digits may stay only if all ZIP codes sharing them cover more than 20,000 people (current Census data). Otherwise they become 000.
  • This scanner is a first pass. It reads headings and value patterns. It cannot see names in free text, small cells that re-identify, or what a recipient already knows.

Free tool

Scan a CSV for the 18 identifier categories

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

Heading rules, value patterns and a worked example

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

Typical de-identification action for each category

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 forCommon action
(A) NamesHeadings onlyRemove, or replace with a random study code with the key held separately
(B) Geography below stateAddress, city, county, ZIP headings; ZIP+4, postcodesRemove; keep state; 3-digit ZIP only for areas with more than 20,000 people, else 000
(C) Dates and ages over 89Date headings and formats; ages above 89Year only, or study day; age 90+ as one category
(D)(E)(F) Phone, fax, emailHeadings and patternsRemove
(G)(H)(I)(J)(K) SSN, record, plan, account, licence numbersHeadings; SSN, card and IBAN patternsRemove
(L)(M) Vehicle and device identifiersHeadings; 17-character VIN, MAC addressRemove or generalise to a model type
(N)(O) URLs and IP addressesHeadings and patterns, including inside textRemove
(P)(Q) Biometrics, full-face imagesHeadings; image file namesRemove the files and the file names
(R) Other unique codeStudy, subject and participant ID headingsAllowed 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.

Keep identifiers apart from the start

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.

Collect data with role-based access

Limits

What a column scan cannot tell you

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

Design the study so identifiers are separate from the data

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-based access with PII segregation: site coordinators see participant names, researchers see coded IDs, enforced by row-level security.
  • CSV and Excel exports with an automatic data dictionary, with date-range and by-site filters.
  • HIPAA compliant, with a BAA available on request, AES-256 encryption at rest and TLS in transit; EU (Frankfurt) or US (Virginia) hosting.
  • Capture does not de-identify datasets for you: use a scan like this one and your privacy officer before sharing exports.
Who sees what · demo roles
RoleNamesCoded IDExport
Site coordinatorsite only
Researcher
Adminper policy
Illustrative role matrix

Before you release a dataset

Safe Harbor release checklist

Columns scanned

Run the scan on the exact file you will release, not on a similar one.

Free text reviewed by a person

Read or search notes, reasons and comments for names, places and contact details.

Dates handled

Dates other than year removed or converted to study days; ages over 89 top-coded.

Geography handled

Nothing smaller than a state, except 3-digit ZIPs for areas with over 20,000 people per current Census data.

Codes safe

Study IDs are random and not derived from names, record numbers or birth dates; the key stays inside the study team.

Decision recorded

Who reviewed, when, what was removed, and whether Expert Determination was considered.

FAQ

Questions teams ask before they switch

Something not covered here? Ask us directly.

What are the 18 HIPAA Safe Harbor identifiers?

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).

Is the 3-digit ZIP code allowed under Safe Harbor?

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.

Why is a visit date an identifier?

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.

What about ages?

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+.

Is my file uploaded?

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.

Does a clean scan mean my data is de-identified?

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.

What is Expert Determination?

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.

Can a study code count as an identifier?

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.

Collect data with identifiers kept apart

Set up roles, coded IDs and exports in the free sandbox with sample participants. No credit card; pay only at go-live.

Collect data with role-based access