Inspect an API response
Indent a compact response so nested keys are easier to scan.
JSON VALIDATOR AND FORMATTER
Check syntax, add indentation, create a one-line version, and inspect the root type, keys, array items, depth, and UTF-8 size.
HOW TO USE
EXAMPLES
Indent a compact response so nested keys are easier to scan.
Turn formatted JSON into a single line before copying it into a setting.
Review the root type, total keys, array items, depth, and UTF-8 byte size.
No external API is needed to parse or format the input.
Standard browser JavaScript performs all operations on this device.
The tool parses standard JSON in browser memory and serializes the same data structure again.
Keys and strings require double quotes. Comments, single quotes, trailing commas, JSON5, and JavaScript object syntax are not supported.
Prettifying and minifying only change whitespace around a successfully parsed structure.
Input is not sent by this page, but screen sharing and extensions are separate risks. Very large JSON can be slow on limited devices.