Free Online Utility • JSON Studio • RFC 8259 Engine

Censor JSON Data

Automatically detect and redact sensitive PII and secrets inside JSON — passwords, API keys, tokens, emails, phone numbers, SSNs, credit cards, or custom key names.

Reference & JSON Spec RFC 8259
Matches sensitive key patterns case-insensitively + auto-detects email/card/JWT patterns
Leaves non-sensitive fields (role, score, active, orderId) completely untouched!
Sensitive Keyspassword, token, api_key, cvv
Partial MaskKeeps domain / last 4
Non-PIIPreserved cleanly
PII-REDACTED JSON
Censored Safe Output

        
100% client-side RFC 8259 JSON Engine Instant

Session Calculation Log

No entries recorded in this session yet.

How Censor JSON Data Works

Censor JSON Data scans JSON payloads recursively to detect and redact sensitive PII and credentials — matching customizable key names (`password`, `api_key`, `token`, `email`, `phone`, `card`, `cvv`, `jwt`) plus regex email/credit-card patterns — while keeping non-sensitive fields intact.

JSON (JavaScript Object Notation, RFC 8259) is the universal structured data interchange format across REST APIs, microservices, configuration pipelines, and document databases. Every parsing, transformation, and serialization step in this utility runs completely client-side inside your browser with zero server uploads, guaranteeing instant turnaround and strict privacy even for sensitive payloads.

Key-Pattern + Content-Regex Redaction

Redact value if:
  key.toLowerCase() includes any sensitive term (password, token, secret, card...)
  OR value matches email / 13–16 digit payment card regex

Sanitizing API debug logs locally in your browser before sharing them with vendors or support teams eliminates accidental credential leaks.

Worked Reference Examples

InputOutputTechnical Note
password: "s3cr3t!""password": "[REDACTED]"Key-matched secret
email (Partial Mask)"al***@example.com"Preserves domain context
role: "admin""role": "admin"Non-PII untouched

Practical Developer & Data Engineering Workflows

Sanitizing Production Error Logs

Strip JWTs, passwords, and API keys before attaching JSON to Jira or Slack.

GDPR & HIPAA Data Sharing

Redact customer emails, phones, and SSNs completely client-side.

Compatibility, Edge Cases & Best Practices

Add or remove any comma-separated key patterns in Custom Keys to Censor for domain-specific redaction.

Copy verified outputs straight to your clipboard or download clean files ready for REST clients, CI/CD configs, database seeds, and unit test suites.

Frequently Asked Questions

Is my sensitive JSON sent to any server for redaction?
No — all scanning and redaction execute 100% locally inside your browser.
Can I add custom field names like "dob" or "license_key"?
Yes — simply append them to the Custom Keys to Censor input separated by commas.
What does Partial Mask mode show?
It keeps the first 2 characters and email domain (e.g. `al***@example.com`) so logs remain debuggable without exposing full PII.