PII TOOLS

Three quick tools and a set of practitioner guides for personal data. Paste text or open a file to find Social Security numbers, card numbers, emails, phone numbers, birth dates, addresses, and labelled names; make a masked copy you can share; and rate a data set by sensitivity tier, NIST impact level, and the laws that may apply.

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

Loading the PII tools.

About 2pii

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.

What Is 2pii?

2pii is a set of browser-based tools and reference guides for personally identifiable information (PII), built for security specialists, privacy and compliance teams, help-desk and SOC staff, and anyone who has to decide whether a file is safe to share. The tools detect PII in text, mask it, and classify how sensitive a data set is. The guides explain what counts as PII and which laws apply.

Every tool runs inside your browser tab. Text you paste or open is never uploaded, never stored, and gone when you close the tab, which matters most for exactly the kind of data these tools look at. There is no account, no install, and no usage limit, and every tool costs $0.

Which Tools Are Included?

  • PII scanner: paste text or open a TXT, CSV, TSV, JSON, Markdown, log, or Word (.docx) file and see every Social Security number, ITIN, EIN, payment card, bank routing and labelled account number, email address, phone number, labelled birth date, street address, IP address, and labelled name, with counts, line numbers, and JSON or CSV reports.
  • PII masking tool: make a masked copy of the same text, choosing per category whether to keep the last four digits, replace everything, write a label such as [EMAIL], or use consistent tokens such as [EMAIL-1].
  • PII tier and impact classifier: tick the data elements in a data set, the number of people, and the context, and get a Tier 0-3 rating, an estimated NIST SP 800-122 confidentiality impact level with every factor shown, a suggested classification label, and the laws that may apply.

Which Guides Can You Read Here?

How Do You Check a File for PII?

  1. Open the PII scanner and paste the text, or drop a file on the page. Word documents are read with the browser's own decompression, including headers, footers, comments, and tracked deletions.
  2. Read the summary: one chip per category with its count. Click a chip to show only that category in the highlighted preview and the findings table.
  3. Check the findings table. Values are masked on screen until you choose Show full values, and each row says why it matched.
  4. Download a JSON or CSV report for your ticket or audit trail. Reports carry masked values unless you opt in to full values.
  5. Press Make a masked copy to switch to the masker with the same text, or Classify what was found to carry the categories into the classifier.

The scanner, the masker, and the classifier share the text in memory while the page is open, so you can move between them without pasting again. Leaving the page asks first, so a stray click does not lose your work.

Why Does It Matter Where PII Is Scanned?

Most online PII checkers and redaction services upload your file to a server, process it there, and send a result back. For a file that may hold Social Security numbers or patient details, that upload is itself a disclosure to a third party, governed by someone else's retention policy, logging, and breach exposure. Many security policies forbid it outright.

2pii does the work inside your browser tab instead. Detection is a set of patterns and checksums that run in JavaScript already on the page, so there is nothing to send. Each tool page shows a live count, read from your browser's own Resource Timing records, of the network requests made since your text was opened, and the verification steps on this page show how to confirm the same thing in DevTools.

How Accurate Is Pattern-Based PII Detection?

Pattern-based detection is strong on structured identifiers and weak on free text. 2pii checks more than the shape of a number: Social Security numbers must follow the issuing rules (no 000, 666, or 900-999 area, no 00 group, no 0000 serial), card numbers must pass the Luhn checksum and match a known issuer prefix, routing numbers must pass the ABA checksum, and phone numbers must follow the North American numbering rules or carry a country code.

  • Context matters: a bare nine-digit number is reported as an SSN only when it is labelled or sits in an SSN column, so order numbers are not flagged.
  • Dates are reported as birth dates only when labelled (DOB, born, date of birth) or in a birth-date column, because most dates in a document are not birth dates.
  • Names are found only when labelled (Name:, Patient:), after a title (Ms., Dr.), or in a name column. There is no language model, so an unlabelled name in a sentence is not found.
  • Health details, free-text descriptions, and ID numbers whose format varies by issuer, such as driver's licenses and passports, are not detected.

Treat a clean result as "nothing obvious found", not as proof. The scanner is a fast first pass that shows you where to look, and every finding explains why it matched so you can judge it.

What Is the Difference Between Masking and Redaction?

Masking makes a copy of text in which sensitive values are partly or fully replaced, so the copy can go into a ticket, a chat, a log excerpt, test data, or an AI prompt. The original stays as it was. Redaction removes information from a document itself, such as blacking out and permanently deleting text in a PDF or covering a face in an image, so that the shared document no longer contains it.

2pii masks text. For permanent redaction of PDFs and images, use 2redact, which also runs entirely in your browser. A good routine is to scan with 2pii to see what a document holds, then redact the original document with 2redact before it leaves your hands.

How Does the Classifier Rate a Data Set?

The classifier gives two separate answers on purpose. The 2pii tier (0 to 3) is 2pii's own identifiability and sensitivity scale: Tier 0 is not identifying, Tier 1 is linkable, Tier 2 directly identifies people, and Tier 3 is sensitive or high-impact data. The NIST answer estimates the PII confidentiality impact level (low, moderate, or high) from the six factors in NIST SP 800-122.

NIST lists the factors but does not publish point values, so the classifier shows the points it gave each factor and why. It also flags laws that may apply, such as GLBA, HIPAA, COPPA, FERPA, the GDPR, state breach laws, and the state privacy laws, each with its reason and a link to the primary source in the laws directory.

Who Is 2pii For?

  • Security analysts and incident responders who need to know, fast, what kind of data is in a file, a log, or a ticket.
  • Privacy, compliance, and GRC teams who classify data sets and answer "is this PII?" questions every week.
  • Help-desk and support staff who paste customer details into tickets and need a masked version first.
  • Developers and data engineers making test data or AI prompts from real records.
  • Anyone who would rather not upload a file full of personal data to find out what is in it.

2pii is part of the 2suite.io privacy-first ecosystem. 2redact redacts PDFs and images, 2count counts characters with platform limits, and 2csv cleans and converts CSV files, all in the same browser-only way.

Is This Legal Advice?

Frequently Asked Questions

Does 2pii cost anything?

No. Every tool and guide costs $0, with no account, no usage limits, no paid tier, and nothing to install.

Is my text uploaded to a server?

No. Every tool runs in your browser tab. Text you paste or open is held in the tab's memory, processed there, never stored, and gone when you close the tab.

Does 2pii collect any analytics?

The only analytics is one anonymous page-view count, sent when a page loads, before you can open any text. If you submit the feedback form, your vote and comment are sent too. Nothing about your text, files, findings, or classifier answers is ever included.

Which files can the scanner open?

Plain text, CSV, TSV, JSON, JSON Lines, Markdown, logs, XML, HTML, YAML, email files, and Word .docx documents, up to 20 MB of text. PDFs and images are not scanned here; use 2redact for those.

Can 2pii find every piece of PII?

No tool can. 2pii finds structured identifiers reliably and checks them with issuing rules and checksums, but names are found only when labelled, and free-text health details or unusual ID formats are not detected. Read the text before sharing it.

Is the classifier result legal advice?

No. It is an education tool that shows its reasoning. Whether a law applies depends on facts only your organization and counsel know, and your organization sets the final classification.

How is 2pii different from 2redact?

2pii detects, masks, classifies, and explains PII in text. 2redact permanently redacts PDFs and images. Both run in your browser, and they work well together: scan with 2pii, redact with 2redact.

Was this helpful?