JSON Formatter
Format JSON and remove sensitive fields.
How to use this tool
Steps
- Paste or type a copy of the JSON and validate it before making assumptions about the structure.
- Use formatting for review and minification only when a compact representation is actually required.
- Configure scrub rules for exact field names used in the document, then inspect every replacement in context.
- Copy or download the result and validate it again in the destination system.
Supported formats
- Input: one valid JSON value, including an object, array, string, number, boolean, or null.
- Output: formatted, minified, or scrubbed JSON text.
- Comments, trailing commas, NaN, Infinity, and JavaScript object syntax are not standard JSON.
Things to know
- A valid document can still have the wrong schema or misleading values.
- Key-based scrubbing misses secrets stored under unexpected names or embedded in text.
- Large pasted documents can make the editor and browser storage slow.
- Formatting does not encrypt, anonymize, or validate business rules.
