ToolsWaves

JSON Formatter & Validator

Format, beautify, validate, and explore JSON in a tree view. Counts items, supports nested objects, runs in your browser.

input.json
output.json
Tree view will appear here as you type valid JSON.

How to Use

1

Paste your JSON into the input editor on the left.

2

Switch between 'Tree View' and 'Text View' on the right.

3

Click any node to expand or collapse — counts are shown for arrays and objects.

4

Use Format, Minify, or Validate buttons as needed.

Frequently Asked Questions

Is my JSON data sent to any server?

No. All processing happens entirely in your browser. Your data never leaves your device.

What does the tree view show?

It shows your JSON as an interactive, collapsible tree with item counts on each object and array. Color-coded values match standard code editor conventions: keys in blue, strings in green, numbers in amber, booleans in purple, null in red.

Can I expand or collapse all nodes at once?

Yes — use the 'Expand All' and 'Collapse All' buttons in the tree view toolbar. By default, the first two levels are expanded.

What JSON features are supported?

All standard JSON per RFC 8259 — nested objects, arrays, strings, numbers, booleans, and null. Comments and trailing commas are not supported (they are not valid JSON).