JSON Formatter & Validator

Pretty-print, minify and validate JSON, find errors by line and column, and browse it as a tree

Result

Format and check JSON without leaving your browser

Paste a JSON document to make it readable with your preferred indentation, shrink it into a single line for APIs and config files, or just check that it is valid. When something is wrong the tool points to the exact line and column, shows the line with a marker and can jump to it in the editor. The tree view lets you collapse and expand objects and arrays in large payloads. Your data is processed locally and never uploaded.