Developer tool · browser-only
A cleaner JSON formatter.
Turn compact or messy JSON into readable, indented data. Minify it again when you need a smaller payload.
Develop
JSON formatter
Paste valid JSON below, choose an indentation style, and format or minify locally.
Your formatted JSON will appear here.
Format JSON online without sending it to a server
Readable JSON makes debugging, API responses, configuration files, and sample data much easier to inspect. This formatter uses the browser's built-in JSON parser and serializer, so it works quickly without a backend.
Formatter and minifier in one place
Use Format when you need indentation and line breaks. Use Minify when you need the same data compacted into the smallest practical text representation. Invalid JSON is reported with the parser's error message.
What does valid JSON require?
JSON uses double-quoted property names and strings, with commas and brackets in the right places. It does not support comments or trailing commas.