JSON Formatter

Input
Output

JSON Formatter and Beautifier

Paste messy or minified JSON and Bracely turns it into neatly indented, readable JSON in an instant. It checks the syntax as it goes, so you see straight away if something is wrong and exactly where.

How to use it

  1. Paste JSON into the Input box, open a file, drop one on the page, or load it from a URL.
  2. Pick 2 spaces, 4 spaces or tabs for the indent.
  3. Copy the formatted JSON or save it to a file. Press Ctrl+Enter to run again.

What it does

Questions

Is this JSON formatter free?
Yes. Every tool in Bracely is free, with no sign-up and no limits.
Is my JSON uploaded anywhere?
No. Formatting happens in your browser on your own device. Nothing is sent to a server, so it is safe for API responses, logs and config with private data.
Can it fix invalid JSON?
The formatter shows you where the problem is. The Repair tool goes further and fixes comments, single quotes, unquoted keys, trailing commas, Python values and cut-off endings.

More JSON tools

Bracely has more than 60 JSON tools in one page. Related ones:

Runs entirely in your browser. Nothing you paste is uploaded. Privacy policy