How to use this tool
- Enter json document, property names to redact — one per line, replacement text.
- Select Update result to view the result.
- Check the method and assumptions below before using the result.
The method, explained
Traverse objects and arrays recursively. Replace the entire value of each matching, case-sensitive property name with your replacement string. Other values and keys are preserved.
Using json document = {"user":"Sam","password":"example-only","nested":{"token":"demo"}}, property names to redact — one per line = password token secret, replacement text = [REDACTED], the result is { "user": "Sam", "password": "[REDACTED]", "nested": { "token": "[REDACTED]" } }. Change these example inputs to match your task; use the method above to check each step.
Understanding your result
No. It only replaces values whose property names you list. A secret under another name, or inside a free-text value, remains unchanged.
What to keep in mind
This is exact key-based replacement, not automatic personal-data detection. Do not assume the output is safe without reviewing it.
Common questions
Does it discover secrets automatically?
No. It only replaces values whose property names you list. A secret under another name, or inside a free-text value, remains unchanged.
Are nested keys included?
Yes. Matching property names are replaced at any supported depth, including objects inside arrays.
Methodology maintained by ClarityKit. How these tools are built and checked.