Skip to content

JSON Tree Viewer

Runs in your browser

Fold away everything you don't care about, search what's left, click anything for its path.

Input

Tree

Paste some JSON and the tree shows up here.

Details

Click anything in the tree.

Its path, type, and value land here, ready to copy.

Exploring large JSON documents

The tree viewer renders objects and arrays lazily — only a page of children at a time, expandable on demand — so pasting a large API response won't lock up the tab. Click any node to see its resolved JSON path, type, and value in the details panel, or use the search box to highlight matching keys and values anywhere in the document.

Questions

How do I get the path to one specific value?
Click it. The Details panel gives you the path ($.users[0].address.city), the type, and the value — each with its own copy button, so you can paste straight into your code.
Why did the tree refuse to render my document?
Extremely large documents (over 5,000 nodes) are still parsed and statistics are still computed, but rendering every node as an interactive DOM element could freeze the tab, so the tree view is disabled as a safety measure.

Keyboard shortcuts

Global

  • Show this shortcuts dialogShift?
  • Toggle light / dark themeCtrlShiftL
  • Close dialogsEsc

Formatter & Validator

  • Format JSONCtrlEnter
  • Minify JSONCtrlShiftM
  • Copy outputCtrlShiftC
  • Download output as .jsonCtrlShiftS
  • Clear input and outputCtrlShiftX

Tree Viewer

  • Focus the search box/
  • Expand all nodesCtrlShiftE
  • Collapse all nodesCtrlShiftR

Diff

  • Swap document A and BCtrlShiftS

JSON tools

JSON FormatterPretty-print or minify
JSON ValidatorCheck strict JSON validity
JSON Tree ViewerBrowse JSON as a tree
JSON DiffCompare two documents
JSON Path FinderExplore JSONPath expressions
JSON → CSVFlatten JSON into rows
CSV → JSONTurn rows back into objects

JWT tools

JWT DecoderRead header, payload, claims
JWT VerifierCheck an HMAC signature
JWT Expiry Checkeriat, nbf and exp in local time
JWT GeneratorBuild a signed test token
Base64URL EncoderEncode or decode a segment

Code formatters

SQL FormatterBeautify or minify SQL
HTML FormatterBeautify or minify HTML
CSS FormatterBeautify or minify CSS
JavaScript FormatterBeautify or minify JS
Markdown to HTMLConvert with a live preview

Pages

JSON toolsFormat, validate, compare and convert JSON.
JWT toolsDecode, verify and generate JSON Web Tokens.
Code formattersBeautify and minify SQL, HTML, CSS and JavaScript.
HomePopular tools and categories
All categoriesBrowse tools by category
AboutWhat ToolJar is and why
PrivacyWhat is and is not collected

Theme

Switch to light theme
Switch to dark theme