Skip to main content
matte

JSON

Format, validate, and explore JSON.

Runs in your browser
ShortcutsFormatCtrl⏎

About

JSON formats, validates, and lets you explore JSON with a tree view, reporting the specific syntax error rather than just "invalid JSON." It can also minify, deep-sort object keys, and show structural stats — depth, key count, how many strings versus numbers versus booleans. Large documents are parsed in your browser; nothing you paste is sent to a server.

Frequently asked

Does it tell me exactly where a syntax error is?
Yes, invalid JSON is reported with the specific error rather than a generic failure, so you can jump straight to the problem.
Can it sort object keys recursively?
Yes, the sort-keys option deep-sorts every nested object's keys alphabetically, not just the top level.