JSON Viewer and Editor

Explore JSON as a tree you can open, close, search and edit in one place.

How JSON Viewer and Editor works

Shows JSON as text or as a tree. Use JSON Text to edit, and JSON Tree to open and close objects and arrays one level at a time. This makes large or deeply nested JSON easy to explore.

Your JSON is checked as you type. If it is not valid, you see the line and column of the first error, and the tree waits until you fix it.

Input to JSON Viewer and Editor

  • Paste or type JSON into the JSON Text view, or upload a .json or .txt file.
  • Input must be valid JSON to show the tree. Use JSON Repair to fix broken JSON first.

Output from JSON Viewer and Editor

  • JSON Tree shows each object, array and value as a node you can expand or collapse. Edits are made in the JSON Text view.
  • Format indents the JSON with 4 spaces. Minify puts it all on one line.
  • Copy the JSON, download it as a .json file or open it in full screen.