Censor JSON
Hide sensitive data in JSON by censoring strings, keys, and numbers using pattern matching.
Input (JSON)
Options
Output (Censored JSON)
Example: Before and After
Before (input)
{"email":"ada@example.com","token":"abc123"}After (output)
{"email":"***","token":"***"}About This Tool
Protect sensitive data in JSON by replacing specific values with asterisks, placeholders, or custom redaction text. This tool is essential for sharing JSON examples in documentation, sanitizing logs before sharing, or preparing data samples without exposing confidential information like passwords, API keys, or personal data.
Common Use Cases
- Redacting passwords and API keys before sharing JSON configs
- Creating safe documentation examples from real data
- Sanitizing log files containing sensitive information
- Preparing JSON samples for bug reports or support tickets
- GDPR-compliant data masking for JSON exports
How to Use
- Paste your JSON containing sensitive data
- Specify which keys should be censored
- Choose replacement text (asterisks, [REDACTED], etc.)
- Copy the sanitized JSON output
Features
- Censor specific keys by name
- Custom replacement text
- Works with nested JSON structures
- Preserves JSON validity and structure
Frequently Asked Questions
Is my input stored or logged?
No. This tool is designed to run in your browser, and we do not store or log your content during processing.
Is conversion instant?
Yes for most inputs. Output updates immediately, and large inputs may take a moment depending on your device.
Can this handle large text?
It can handle large text, but performance depends on your browser and device. For very large files, consider splitting the input.
Does it support mobile?
Yes. The interface is responsive and works on phones and tablets, so you can use it on the go.
Can I use it for commercial projects?
Yes. You are free to use the output in personal or commercial projects without attribution.
Does this affect numbers or punctuation?
Only if the selected options target them. Otherwise, numbers and punctuation are preserved as-is.