jakup

Parses your JSON and either beautifies it with indentation or minifies it to a single line. Strings, numbers, and nested structures are preserved; errors show the position.

Why format JSON?

JSON works fine without line breaks or indentation, so the JSON in an API response or a log line usually arrives as one long line. To read the structure, a human needs it broken up to match the nesting.

Pretty mode adds indentation so you can see at a glance which value belongs where. Minify mode strips every space to reduce transfer size. A good habit is formatted for config files, minified for request bodies.

If the syntax is invalid you get the error position too, which makes finding a trailing comma or a missing quote much faster. Pasted JSON is processed only in your browser and never sent to a server, so real response data is safe to paste.