IS AN IP ADDRESS PII?

Usually yes. An IP address is a linkable identifier: on its own it names no one, but an internet provider, an employer, or a website with login records can tie it to a person. The GDPR, the CCPA, and HIPAA all treat IP addresses as personal data or identifiers in the right context, so most teams should handle IP addresses in logs and analytics as PII.

Zero retention: your data never leaves this browser. Verify it yourself in DevTools.

Loading the PII tools.

About this guide

Does NIST Treat an IP Address as PII?

Under NIST SP 800-122, PII includes information that can be used to distinguish or trace an individual's identity, and information that is linked or linkable to an individual. An IP address can trace a person's activity across systems and can be linked to a subscriber or an employee, so it fits the "linkable" part of the definition. In the 2pii tier scale it is a Tier 1 quasi-identifier: identifying in combination, not alone.

Is an IP Address Personal Data Under GDPR?

Yes, in most cases. GDPR Article 4(1) covers information relating to an identifiable person, and Recital 30 names online identifiers such as IP addresses. In Breyer (C-582/14, 2016), the Court of Justice of the EU held that a dynamic IP address can be personal data for a website operator that has legal means to obtain the information needed to identify the user. See GDPR sources.

Is an IP Address Personal Information Under CCPA and HIPAA?

  • CCPA/CPRA: the definition of personal information explicitly lists an Internet Protocol address among its examples of identifiers. See CCPA sources.
  • HIPAA: IP addresses are one of the 18 identifiers that the Safe Harbor de-identification method requires removing from health data. See HIPAA sources.
  • State breach laws: most do not list IP addresses in their "personal information" definitions, so an IP address alone rarely triggers breach notification. See breach sources.

When Is an IP Address Low Risk?

Risk drops when nobody can reasonably link the address to a person. Examples include the public IP of a large corporate network shared by thousands of users, the address of a server, a private range such as 10.x or 192.168.x seen only inside one network, and documentation addresses such as 192.0.2.0/24. Even then, combined with timestamps and account data, an address can point back to a person, so treat logs as a whole, not field by field.

How Should You Mask IP Addresses?

  1. Keep full addresses only in security logs that need them, with restricted access and a retention limit.
  2. Truncate addresses in analytics and shared reports, for example by dropping the last octet or two.
  3. Use consistent tokens when you need to follow one visitor through a log without revealing the address.
  4. Delete full addresses when the security or fraud purpose ends.

The PII masking tool has a partial style that keeps the first two octets of an IPv4 address (203.0.113.42 becomes 203.0.***.**), a full style, a label style ([IP]), and a token style ([IP-1]) that maps the same address to the same token.

How Does the 2pii Scanner Find IP Addresses?

The PII scanner matches IPv4 addresses with every octet in the 0 to 255 range, and common IPv6 forms, including compressed ones with a double colon. Private and local ranges are reported with medium confidence because they are less likely to identify an outside person. Everything runs in your browser, so you can scan a production log sample without uploading it. For definitions, see what is PII?

Is This Legal Advice?

What Else Is on 2pii?

  • PII scanner: Paste text or open a TXT, CSV, JSON, or Word file and see every SSN, card, email, phone, birth date, address, and labelled name.
  • PII masking tool: Make a masked copy of text: keep the last four digits, replace with labels, or use consistent tokens, per category.
  • PII tier and impact classifier: Pick the data elements and quantity to get a Tier 0-3 rating, an estimated NIST SP 800-122 impact level, and the laws that may apply.
  • What is PII?: The NIST, GDPR, CCPA, and HIPAA definitions side by side, and what "linked" and "linkable" mean.
  • PII examples list: A practitioner list of PII examples sorted into direct identifiers, quasi-identifiers, and sensitive data.
  • PII sensitivity tiers: Public, Internal, Confidential, and Restricted labels mapped to Tier 0-3 and NIST impact levels, with handling rules.
  • PII do's and don'ts: Practical rules for handling PII in email, tickets, logs, test data, spreadsheets, and AI tools.
  • PII laws and regulators: Primary-source links for GLBA, HIPAA, COPPA, FERPA, NY SHIELD, CCPA/CPRA, the state privacy laws, and GDPR, each dated.
  • Is an email address PII?: Why a personal email address is direct PII, how work and role addresses differ, and what that means for logs and lists.
  • Is date of birth PII?: Why a birth date alone is linkable PII, why it becomes identifying with ZIP and sex, and how to mask it.
  • Is a ZIP code PII?: When a ZIP code is PII, the HIPAA three-digit ZIP rule, and the combinations that make it identifying.
  • Is a name PII?: Why a full name is PII, when a name alone is low risk, and how context turns a list of names into sensitive data.

Everything is on the 2pii home page. Part of the 2suite.io privacy-first ecosystem.

How Can You Verify That Your Data Never Leaves This Browser?

You do not have to take our word for it. Browser developer tools list every request a page makes, so you can watch 2pii work and confirm that your text is never sent anywhere. The check takes about a minute.

  1. Open your browser developer tools with F12, or Cmd+Option+I on a Mac, and select the Network tab.
  2. Reload the page and let it finish. You will see the page's own files, its web fonts, and one anonymous page-view request. No text has been opened yet, so none of them can contain your data.
  3. Click the clear icon in the Network tab so that the log is empty.
  4. Open the PII scanner, paste some text or open a file, and download the report.
  5. Look at the Network tab again. It is still empty. Scanning, masking, classifying, and saving made no request at all. The tools also show a live counter, read from your browser's own Resource Timing records, of the requests made since your text was opened. For extra proof, turn on offline mode after the page loads: every tool keeps working.

Text you paste or open is held in this tab's memory, checked by code that is already on the page, and handed back to you as a copy or a download. It is never uploaded, never stored in the browser, and gone when you close the tab. The only other request the site can make is the feedback form, and only when you submit it.

The production site also sends a Content-Security-Policy header that tells your browser to refuse connections to anywhere except this site and the anonymous analytics endpoint, so even a bug could not send your data elsewhere.

Frequently Asked Questions

Is a dynamic IP address personal data?

It can be. The Court of Justice of the EU held in Breyer (2016) that a dynamic IP address can be personal data for a website operator that has legal means to identify the user.

Does an exposed IP address require breach notification?

Usually not on its own under US state breach laws, which focus on SSNs, ID numbers, and financial account data. Other obligations may apply depending on the context and the laws you are subject to.

Are private IP addresses PII?

A private address such as 192.168.1.20 identifies a device inside one network. It is lower risk, but inside an organization it can still be linked to an employee through DHCP or VPN logs.

Should IP addresses be removed from logs?

Keep them where security monitoring needs them, with limited access and retention, and mask or truncate them in analytics and shared logs.

Was this helpful?