gukbap-tools

JSON Formatter

Format, validate and minify JSON

Paste JSON and it is formatted instantly. Nothing is sent to a server โ€” it all runs in your browser.

Input 0 characters

Paste some JSON to see the formatted result.

Paste JSON to pretty-print it with indentation, validate it, or minify it to a single line. Errors point to the exact position โ€” a free JSON formatter and validator that runs in your browser.

How to use

  1. Paste your JSON into the input box.
  2. Choose format (indented) or minify (single line).
  3. If the JSON is invalid, the error message shows what went wrong and where.

FAQ

Q. What happens if my JSON is invalid?
A. You get the parser's error message with the position, so you can find the missing comma or bracket quickly.
Q. Is my JSON sent anywhere?
A. No. Parsing and formatting happen in your browser, so API responses and config files stay private.
Q. Can I minify as well as format?
A. Yes. Minify strips all whitespace to a single line โ€” handy for pasting into environment variables or query strings.

Spotted something wrong? Let us know.