JSON Workbench: How to Format, Validate and Compare JSON
A developer-friendly guide to formatting, minifying and validating JSON, reading error locations and comparing documents.
Format, validate, explore and diff JSON.
JSON Workbench is a fast, private home for everyday JSON work. Paste a payload to format or minify it, get precise line and column information when it’s invalid, and explore large documents in a collapsible tree.
The Compare tab diffs two documents structurally and line by line, so you can see exactly which keys were added, removed or changed between two API responses.
No. Parsing and diffing happen in your browser, which makes the tool safe for API keys and customer data.
No. It validates strict JSON (RFC 8259), the format APIs expect, and points to the exact problem.
Several megabytes comfortably. Very large documents may make the tree view slower; formatting stays fast.
Step-by-step articles from the HandyBear blog.
A developer-friendly guide to formatting, minifying and validating JSON, reading error locations and comparing documents.
More from Developer and friends.
Check colour contrast against WCAG AA and AAA.
Build campaign tracking links in seconds.
Merge, split, reorder and rotate PDF pages.