JSON Editor
Write, validate, and edit JSON with a side-by-side tree representation. Fast, free, and fully client-side.
How the JSON Editor Works
Edits JSON text in a textarea while a collapsible tree of the same document updates as you type. Invalid text replaces the tree with a syntax error message. Format and Minify buttons rewrite the text with two-space indentation or onto one line. Editing happens in your browser and nothing is uploaded.
Usage Example
Tidying a hand-written configuration file, then checking its nesting before committing it.
Frequently Asked Questions
What do the Format and Minify buttons change?
Format rewrites the document with two-space indentation, and Minify collapses it onto a single line. Both buttons appear only when the current text parses as valid JSON, so a syntax error must be fixed before they show.
Why does the tree disappear while I type?
When the text is not valid JSON, the tree is replaced by a JSON Syntax Error message. Typing a missing quote, bracket, or comma triggers this, and the tree returns as soon as the document parses again.
Can I save the edited document from this page?
The editor does not download or save a file. Edits stay in the open page, so copy the text out before you leave, and nothing is sent to a server in the process.
Browse more
See all JSON tools.
