Skip to content
Burrows Tools

JSON Formatter and Validator

Paste a blob of JSON and get it back indented, sorted into readable lines, and validated. If the document is malformed, you get a plain-English message with the position of the problem instead of a stack trace, which usually makes a missing comma or a trailing bracket obvious in seconds. The same tool minifies: strip every unnecessary byte before shipping a config file or pasting a payload into a request. Parsing uses the browser's own JSON engine, so what you see is exactly what a JavaScript client would accept — and because it runs locally, API responses with tokens or customer data never leave your machine. That matters: pasting production payloads into a server-side formatter is a data-leak waiting to happen.

JSON is parsed in your browser — nothing is uploaded.

Paste JSON and choose Beautify or Minify.

How to use the json formatter and validator

  1. Paste your JSON into the input box.
  2. Choose Beautify for indented, readable output, or Minify to strip whitespace.
  3. If the JSON is invalid, read the error message and fix the position it points at.
  4. Copy the formatted result to your clipboard.

Frequently asked questions

Is my JSON uploaded anywhere?
No. Parsing and formatting run in your browser with the built-in JSON engine. Nothing is sent to a server, which makes this safe for payloads containing tokens or personal data.
Why does my JSON fail to parse?
The usual causes are trailing commas, single quotes instead of double quotes, unquoted keys, comments, or an unescaped newline inside a string. JSON allows none of those. The error message points at the offending position.
What is the difference between beautifying and minifying?
Beautifying adds indentation and line breaks so a human can read the structure. Minifying removes every optional space and newline so the document is as small as possible for transport or storage. The data is identical either way.
Does formatting change my data?
No values change, but key order is preserved and duplicate keys collapse to the last one, which is what every JSON parser does. Very large numbers may be rendered in the shortest form that round-trips to the same value.