JSON formatter
Format, validate and minify JSON right in your browser, without sending data to a server.
10 free runs/dayv1.0.0
About this tool
The JSON formatter pretty-prints hard-to-read JSON, reports syntax errors with their line and column, or minifies JSON before you send it to an API.
Everything runs in your browser, so it is safe for internal data too.
How to use
- Paste your JSON into the input box.
- Choose Format to pretty-print or Minify to strip whitespace.
- Copy the result or download it as a .json file.
Features
- Pretty-print JSON with 2 or 4 space indentation.
- Syntax errors with line and column.
- One-click minify.
- Copy or download the result.
Frequently asked questions
Is my data sent to a server?
No. Your JSON is processed entirely in the browser and is never sent to the server.
What is the maximum JSON size?
By default, 1 MB per run.
Is it free?
Yes. You get a number of free runs every day; sign in for more.
Why is my JSON reported as invalid?
Common causes are trailing commas, single-quoted strings and unquoted keys.
Does it work on my phone?
Yes. The tool works well on phones and tablets.
Need a tool built for your own work?
We build tools and software around how your business works — in the browser, with the source code handed over.
