jsonlkit.com
JSONL (JSON Lines) utilities, in the browser
Say hi →

JSONL Anonymizer

updated 12 May 2026

JSONL anonymizer. Redact PII (emails, phone numbers, IPs, credit cards, SSNs) in a JSONL (JSON Lines) file before sharing or using it for AI training. Mask, hash or remove. Up to 1 GB, in your browser.

Redact

Drop a .jsonl file here, or Up to 1 GB · in your browser

Before you start

This tool scrubs personally identifiable information from a JSONL file before you share it, post it as a sample, or feed it into AI training. It's a helper, not a compliance officer — combine it with a human review.

How to use it

  1. Drop a file or paste JSONL.
  2. Tick which detectors to run: Email, Phone, IP, Credit card, SSN.
  3. Pick a Strategy:
    • Mask — keep first/last char, replace middle (good for spotting duplicate emails without revealing identity).
    • Hash — replace with an 8-hex non-crypto hash (deterministic, so the same email always maps to the same token).
    • Remove field — when used together with the always-redact key list, the key is deleted entirely.
  4. Optionally list always-redact keys (e.g. password, user.ssn, auth_token). Dot.notation supported.
  5. Click Anonymize, then Copy or Download.

What gets detected

Example

Input:

{"user":"[email protected]","phone":"+1 (555) 123-4567","note":"Backup IP 10.0.0.5"}

With mask strategy:

{"user":"a***m","phone":"+***7","note":"Backup IP 1***5"}

Tips & common pitfalls

Frequently asked questions

Is this safe for HIPAA / GDPR?

No tool is by itself. This is a quick scrub; for regulated data, talk to your DPO and use a server-side, audited tool.

Will the same email always hash the same way?

Yes — the hash is deterministic within a single page load. You can use it to count unique users without revealing them. (It's a tiny non-crypto hash, so it's not safe for adversarial attackers, but it's fine for "I want to count distinct users in a shared log".)

Are my files uploaded?

No. Everything runs in your browser.

Related tools