CohortWeir · Clinical Privacy Tools Open Workbench →

45 CFR 164.514(b)(2)(i)(B) · GEOGRAPHIC SAFE HARBOR

HIPAA 3-digit ZIP code truncator & restricted audit.

Paste a list or CSV of 5-digit or 9-digit US ZIP codes to truncate standard prefixes to 3 digits and automatically replace all 17 Census prefixes with populations of 20,000 or fewer with 000 strictly inside your browser.

Free local utility · CohortWeir Solo $149 one-time

HIPAA SAFE HARBOR ZIP3 TRUNCATOR

Drop a local ZIP list (.TXT) or cohort (.CSV), or paste below

Handles 5-digit ZIPs (03601), ZIP+4 (69201-1102), and CSV files containing a ZIP column.

ALL 17 HHS RESTRICTED 3-DIGIT PREFIXES (POPULATION ≤ 20,000 → 000)
Ready to truncate ZIP codes locally.
Total ZIPs Processed 0
Standard 3-Digit Kept 0
Restricted Zeroed (000) 0
Unique Restricted Hits 0 / 17
Original ZIP 3-Digit Prefix Safe Harbor Output Rule / Geographic Area Status

Truncated Output


              

HIPAA ZIP3 Rule FAQ

Why naive substring truncation fails HIPAA Safe Harbor compliance.

Which 17 3-digit US ZIP prefixes must be changed to 000?

Under HHS Safe Harbor guidance based on US Census population counts, the 17 prefixes with 20,000 or fewer inhabitants are 036, 059, 063, 102, 203, 556, 692, 790, 821, 823, 830, 831, 878, 879, 884, 890, and 893. Every one of these must be replaced with 000.

Does this tool preserve leading zeros in Northeast ZIP codes?

Yes. All ZIP codes are processed as strings so leading-zero prefixes such as 021 (Boston) and restricted prefixes like 036, 059, and 063 are never corrupted into integers.

TOOL

HIPAA Safe Harbor 18-Identifier Checker

Audit all 18 identifiers across full CSV files and clinical discharge notes.

Open Checker →
TOOL

k-Anonymity Risk Calculator

Test whether ZIP3 combined with age and sex meets k ≥ 5 across your cohort.

Open k-Anonymity Tool →
TOOL

Clinical Date Shifter & Age 90+ Capper

Shift longitudinal clinical timelines per patient and cap ages over 89.

Open Date Shifter →