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
- Paste JSON into the Input box, open a file, drop one on the page, or load it from a URL.
- Pick 2 spaces, 4 spaces or tabs for the indent.
- Copy the formatted JSON or save it to a file. Press Ctrl+Enter to run again.
What it does
- Syntax checking with the line and column of the first error
- Collapsible code with bracket matching and code folding
- Handles large files in a background worker so the page stays responsive
- One click to Repair broken JSON, or switch to Tree view, Minify or Sort keys
- Works offline once loaded and can be installed as an app
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