JSON Formatter, Validator & Tree Inspector
Data & FormattingPrettify, minify, validate, and interactively inspect JSON data structures with real-time node tree exploration.
Prettify, minify, validate, and interactively inspect JSON data structures with real-time node tree exploration.
Format, validate, and explore JSON in an interactive tree view. Parsing and formatting run in your browser, and the tool does not send your input over the network.
Paste a minified string, an API response, or a configuration file into the input editor.
Choose 2 spaces, 4 spaces, or tabs and click Format In Place, or click Minify. If the JSON is invalid, the parser error appears below the input.
Search keys and values, expand or collapse nodes, and copy the JSON path or the value of any node.
Parsing, formatting, and tree rendering happen locally. The JSON tool makes no network requests for your input.
Expand and collapse nested objects and arrays, search keys or values with highlighted matches, and copy paths such as items[0].id.
Switch between compact single-line JSON for payloads and 2-space, 4-space, or tab indentation for reading.
Optionally sort object keys alphabetically in the formatted output.