PII SCANNER

Paste text or open a file to see every Social Security number, ITIN, EIN, payment card, bank number, email address, phone number, labelled birth date, street address, IP address, and labelled name in it. Each finding shows its line, confidence, and the reason it matched, and the report downloads as JSON or CSV.

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

Loading the PII tools.

About the PII scanner

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. Paste some text into the PII scanner above, or open a file, and download the result.
  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.

What Does the PII Scanner Detect?

  • Social Security numbers that follow the SSA issuing rules, and widely published sample numbers flagged as test data.
  • ITINs (9XX numbers in the IRS middle-digit ranges) and EINs with a valid IRS prefix.
  • Payment card numbers from 13 to 19 digits that pass the Luhn checksum and match a Visa, Mastercard, American Express, Discover, JCB, Diners Club, or UnionPay prefix.
  • Bank routing numbers that are labelled and pass the ABA checksum, and account numbers when they are labelled.
  • Email addresses, US and Canadian phone numbers, and international numbers with a country code.
  • Birth dates when labelled or in a birth-date column, in numeric and written formats.
  • Street addresses with a house number and street suffix, PO boxes, and values in address columns.
  • IPv4 and IPv6 addresses, with private and local ranges marked as lower confidence.
  • Names when labelled, after a title such as Ms. or Dr., or in a name column.

How Does the Scanner Avoid False Positives?

A number that merely looks like an identifier is not enough. The scanner validates each candidate: SSNs cannot have a 000, 666, or 900-999 area, a 00 group, or a 0000 serial; card numbers must pass the Luhn check and belong to a known issuer; routing numbers must pass the ABA checksum. A bare nine-digit number is only reported as an SSN when a label such as SSN or Social Security appears just before it on the same line, or when it sits in an SSN column.

When findings overlap, the more specific one wins, so a card number is not also reported as a phone number. Labels only count within the same sentence, so "Born on March 4, 1990. Meeting on 2026-01-05" reports the first date as a birth date and leaves the meeting date alone.

How Do CSV Column Headers Help?

When the text is a table, such as a CSV or TSV export, the scanner reads the header row and uses each column's name as context. Values in columns named dob or birth_date are reported as birth dates, values in ssn columns as SSNs even without dashes, and values in first_name, last_name, patient, or customer columns as names. This catches the bulk exports where most PII leaks happen, without guessing on ordinary text.

What Is in the Report?

The JSON and CSV reports list every finding with its category, line number, character position, confidence, and reason, plus the totals per category. By default the value column is masked, so the report is not one more copy of the PII in your ticketing system. If you need the full values, tick the option first and store the report as Restricted data.

CSV reports guard against spreadsheet formula injection: any cell that starts with =, +, -, or @ is prefixed with an apostrophe.

What Can the Scanner Not Do?

  • It does not scan PDFs or images. Use 2redact to find and permanently redact PII in those.
  • It does not find unlabelled names in sentences, because that needs a language model, and 2pii runs on rules alone.
  • It does not detect free-text health details, driver's license or passport numbers, or other formats that vary by issuer.
  • It does not scan folders or many files at once; open one file at a time, up to 20 MB of text.

Those limits are why each result explains itself: the scanner shows you where PII is, and you decide what to do with it.

What Else Is on 2pii?

  • 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 IP address PII?: When an IP address is personal information under NIST, GDPR, CCPA, and HIPAA, and how to handle it in logs.
  • 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.

Frequently Asked Questions

Is the text I scan uploaded anywhere?

No. The scanner runs in your browser tab and the page shows a live count of network requests since your text was opened. It stays at zero while you scan, mask, and download.

Why was a nine-digit number not flagged as an SSN?

Bare nine-digit numbers are only reported as SSNs when labelled or in an SSN column, because most of them are order, invoice, or account numbers. Numbers written as 123-45-6789 are checked against the SSA issuing rules.

Can it scan a Word document?

Yes. Open a .docx file and the scanner reads the body text, headers, footers, footnotes, comments, and tracked deletions, using only the browser's built-in decompression.

Why are some findings marked medium confidence?

Medium means the value matched but something makes it less certain: a 555-01XX phone number reserved for fiction, a private IP address, a widely published sample SSN, or a number identified only by its label.

Can I export the results?

Yes. Download a JSON or CSV report. Values are masked unless you choose to include them in full.

Was this helpful?