JSON Formatter & Viewer

Validate, format, minify, and explore JSON with a collapsible tree viewer.

Choose a file or drop it here. You can also paste JSON below.

How to use it

Paste a JSON object, array, or scalar. Choose the indentation or minify the output, then expand objects and arrays in the tree viewer.

Formatting a document or inspecting its structure

Indentation makes nesting easier to scan. Minified output removes formatting whitespace outside strings. Use the tree to open one object or array at a time without changing the original values.

JSON inputOutput spacing

Frequently asked questions

What do I need to use JSON Formatter & Viewer?

Start with JSON input, Output spacing. Use the units and formats shown beside the inputs.

Do I need to create an account?

No. You can browse and use TinyToolbox’s available tools without an account.

Related tools