JSON Formatter & Validator — online beautify / minify / validate / convert / diff (Util123)

JSON Formatterutil123.top/jsonBeautify · Minify · Validate · Tree · Convert · Diff
Ready
Input JSON 0 chars
Drop to load a JSON file
Escape Click to edit the raw input directly
Code
Tree
Convert
Diff
JSONPath
Converts the JSON from the left input (for escape / Unicode conversion use the left “Escape” toolbar)
The left side defaults to the current input; paste another JSON on the right. Green = added, red = removed.
Supports $ .key [n] [*] $..key ['key']
Enter a JSONPath expression to query the current JSON; results are listed by path.
Ready Chars 0 Nodes — Depth — Keys — 100% client-side · nothing is uploaded · ⌘/Ctrl + Enter to format
AD · LEADERBOARD 728×90 (PLACEHOLDER — REPLACED WHEN ADSENSE GOES LIVE)

FAQ

What features does this JSON formatter support?
Beautify (format), minify, real-time syntax validation with error location, syntax highlighting, a collapsible tree view, key/value search, key sorting, auto-repair of common syntax errors, conversion to YAML / CSV / XML, Unicode escape conversion, escape and unescape, a two-pane diff, and JSONPath queries.
Is my pasted JSON uploaded to a server?
No. All parsing, conversion and comparison happen locally in your browser — your data never leaves your machine.
How do I convert JSON to YAML, CSV or XML?
Switch to the YAML / CSV / XML tab in the output pane; Unicode escape conversion and escape/unescape live in the “Escape” toolbar on the left.
How large a JSON file can it handle?
It depends on the memory your browser has available; JSON up to a few megabytes formats smoothly. For very large files, minify or split them first.
Does it support JSONPath queries?
Yes. Enter an expression like $.store.book[0].title to extract the node you need from the result.