JSON Formatter & Validator
Online JSON parser and formatter. Beautify with 2/4 spaces or tabs, minify, sort keys, validate with exact line and column, browse a collapsible tree with JSONPath, tolerate JSON5 comments and trailing commas, and keep big numbers precise.
JSON Input
Tree view appears here after valid JSON is entered.
- Strict mode follows RFC 8259: keys and strings must use double quotes, and comments or trailing commas are not allowed.
- Numbers beyond the JavaScript safe integer range (such as 64-bit IDs) are kept exactly as written when big number precision is enabled.
- Click any key or value in the tree to get its JSONPath.
- Open this page with #data= followed by URL-encoded JSON to load it directly. The data stays in your browser.
Try other tools
All
Have an issue or feature request for this tool?
Feedback & Suggestions