JSON Formatter

Format, minify, or validate JSON. Configurable indent (2/4 spaces or none).

About this tool

Paste JSON, click Format for pretty-printed output with configurable indent, click Minify for a single-line dense output, or click Validate to check syntax. Runs 100% client-side via the browser JSON.parse and JSON.stringify — no network round-trip. Handles nested objects, arrays, unicode escapes, and all valid JSON types.