privacy · tabular data

100% Free | No Sign-Up Required

CSV PII Checker

Find likely personal data in a CSV, review masked findings, and redact selected columns before you share, analyse or upload the file. Everything runs in your browser.

Your CSV never leaves this tab. Parsing, detection, redaction and download all happen locally.

No upload endpoint, no detection API, no analytics and no model download. The Content Security Policy blocks script connections with connect-src 'none'.

uploaded
0 bytes
stored
no CSV data
input
file or paste
export
cleaned CSV

your CSV

local only

Drop a CSV file here

Or click to browse. UTF-8 text, comma-delimited, up to 5 MB.

Press Enter to open the file picker. The file is read on this device only and never uploaded.

No file or pasted CSV loaded.

0 characters · 0 bytes uploaded. The first row is treated as the header.

Ready. Load a CSV to begin; nothing will be uploaded.

Findings are a review aid, not an anonymity certificate. Names, unusual IDs and combinations of ordinary fields can remain even when no supported pattern matches.

direct answer

To check a CSV for PII, load the file and review the flagged columns before exporting. This checker uses column headers to identify fields such as names, dates of birth, addresses and account IDs, and validates fixed-format values such as emails, phone numbers, cards, IBANs and IP addresses. Select the columns to replace with [REDACTED] or remove entirely, then download a cleaned CSV. The file stays in browser memory, but a clean scan does not prove anonymity: quasi-identifiers and unusual personal details still need human review.

how detection works

Headers give context; validators reduce false positives

The checker combines structured column clues with fixed-format value checks. It does not guess names from capital letters.

SignalExamplesWhat it can miss
Column headersfull_name, date_of_birth, customer_id, notesUnusual labels, abbreviated schemas and personal data hidden in a generic column.
Validated valuesEmail, phone, US SSN, Luhn-valid card, mod-97-valid IBAN, IP, JWT, API keyFormats not supported by the checker and identifiers with no universal structure.
Combination riskPostal code + birth date + age + genderWhether a combination actually identifies someone in your dataset or against outside data.

Why the preview is masked. A findings table that prints the original email or card number merely creates a second copy of the data you are trying to protect. This page stores only a masked preview for display; the full values remain in the in-memory CSV until you clear the tab.

What counts as PII in a CSV?

Personally identifiable information is not limited to a column called name. NIST defines PII as information that can identify a person alone or in combination with other information. A CSV can therefore contain direct identifiers such as an email address, quasi-identifiers such as a postal code and birth date, and sensitive attributes such as health details. The risk depends on the dataset, the recipient and what other data is available.

Why column headers matter

A value such as 12/04/1988 could be a date of birth, an invoice date or a product date. The header supplies the context that the value alone cannot. Google's sensitive-data guidance similarly describes using table structure and headers when inspecting structured text. This checker flags a whole column when its header indicates a personal field, then shows how many non-empty cells were covered.

Why removing names is not enough

NISTIR 8053 explains that re-identification risk can remain after direct identifiers are removed. A rare combination of postal code, exact age, gender and purchase date may point to one person even when the name column is gone. Treat redaction as one step in a documented review process, not as proof that a dataset is anonymous.

Replace, remove or generalise

Replace values preserves the schema and makes the redaction visible. Remove columns deletes the field entirely and is usually the safer choice when the data is not needed. Generalise is a separate process: for example, replacing an exact birth date with an age band. This tool performs the first two operations; generalisation and suppression rules need to be designed for the dataset.

CSV correctness and spreadsheet safety

The parser accepts quoted commas, doubled quotes and embedded line breaks, and it reports malformed rows instead of repairing them silently. The exporter quotes fields that contain commas, quotes or line breaks and writes CRLF records in line with RFC 4180. It also protects against CSV formula injection by prefixing untrusted cells that begin with =, +, - or @; quoting alone does not stop a spreadsheet from evaluating a formula.

The honest limit

This is a deterministic first pass, not a language model or a legal classification engine. It can miss a name written in an unfamiliar format, an unusual national identifier, a username that acts as an account ID, or personal information inside an image. It can also flag a column that is not personal in your specific context. Review the output and keep the original only if your retention policy permits it.

Sources: NIST, personally identifiable information glossary definition; NISTIR 8053, De-Identification of Personal Information; RFC 4180, Common Format and MIME Type for Comma-Separated Values (CSV) Files; Google Cloud, inspecting structured text with sensitive data protection; OWASP, CSV Injection; GDPR Article 4(1) and 4(5), EUR-Lex.

faq

Frequently Asked Questions

Privacy, accuracy, export choices and the limits of an automatic scan.

Is my CSV uploaded to a server?

No. The file is read with the browser File API, parsed and scanned in this tab, and exported as a local download. There is no upload endpoint, no fetch call, no analytics script and no CSV storage. The page also sets connect-src 'none' in its Content Security Policy to block network connections from scripts.

How accurate is a CSV PII checker?

It is reliable for supported fixed-format values and useful for header-based review, but it cannot find every identifier. Cards are Luhn-checked, IBANs are mod-97-checked and IP addresses are range-checked. Names, unusual national IDs and personal details in free text have no universal pattern, so human review is still required. A clean scan is not proof of anonymity.

What counts as PII in a CSV?

Direct identifiers such as names, email addresses, phone numbers and government IDs count, and so can combinations of quasi-identifiers such as postal code, date of birth, age, gender and location. NIST defines personally identifiable information as information that can identify a person alone or in combination with other information.

Should I replace values or remove columns?

Replace values when a downstream process needs the same column structure; selected non-empty cells become [REDACTED]. Remove columns when the field is not needed at all. Removal is usually safer because the header and every value disappear, but keep at least one column so the output remains a valid CSV.

Does it protect against spreadsheet formula injection?

Yes, by default. Cells whose first non-whitespace character is =, +, - or @ are prefixed with an apostrophe during export so spreadsheet software treats them as text. You can switch this off if you need byte-for-byte preservation of non-selected cells, but do that only when you trust the data and its destination.

What are the CSV size and row limits?

The limits are 5 MB, 20,000 rows including the header, 200 columns, 2,000,000 cells and 32,000 characters per field. The tool reports an error instead of silently truncating. Split larger files and scan each part separately.

Does a cleaned CSV count as anonymous under GDPR?

Not automatically. Replacing identifiers is usually pseudonymisation, not anonymisation, especially if a mapping or the original file still exists. GDPR anonymity depends on whether a person can be identified by means reasonably likely to be used, including combinations with other data. This tool does not make a legal determination.

Can I use the CSV PII Checker offline?

Yes, after the page and its same-origin assets have been cached by the service worker. The checker itself has no external fonts, model downloads or API calls, so scanning and export continue with the network disconnected.