Developer utility

JSON Parser and Tree Viewer

Validate JSON, format payloads, inspect syntax errors, and explore nested data in a compact tree without uploading content.

Runtime
Browser
Parser
Native
Views
Tree

Parser workspace

Input is parsed with the browser JSON API.

No uploads
0 chars
0 chars

Waiting for JSON input.

Tree viewer

Validated JSON is rendered as collapsible nodes.

0 nodes

Enter valid JSON to generate a tree.

JSON objects

Objects store named members inside braces. The tree viewer counts object keys and keeps nested values grouped under their parent node.

JSON arrays

Arrays preserve ordered values inside brackets. Numeric indexes appear as labels so nested arrays are easier to scan.

Strict syntax

JSON requires quoted property names, valid commas, and supported scalar values. The error lens highlights the reported parser position.

Usage guide

How to use the JSON parser

What this tool shows

It validates JSON, formats or minifies valid input, estimates the syntax error location, and renders nested values as a collapsible tree.

How to test it

Paste an API response, press Format, collapse deep objects, then intentionally remove a comma or quote to see the error lens react.

When it helps

Use it when reviewing API payloads, checking configuration files, cleaning copied logs, or finding where malformed JSON breaks a parser.