JSON Formatter

Paste your JSON below, then format it with proper indentation or minify it down to a single line. Invalid JSON is flagged clearly so you can find the problem. Everything runs in your browser; nothing is sent to a server.

About formatting and minifying JSON

Formatting adds consistent indentation so nested objects and arrays are easy to read. Minifying strips all unnecessary whitespace, producing the smallest possible payload — useful when you're pasting JSON into a config file or API request.