FREE TOOL · NO SIGN-UP
JSON formatter and validator
Paste JSON to pretty-print it with 2 or 4 spaces, minify it, sort its keys, or find exactly where it is broken.
RUNS IN YOUR BROWSERNOTHING UPLOADEDNO WATERMARK
Valid JSON · 134 bytes
How to use it
- Step 1
- Paste JSON into the input.
- Step 2
- Choose Format, Minify or Sort keys.
- Step 3
- Copy the result, or fix the error at the line and column shown.
Frequently asked questions
- Why is my JSON invalid?
- The usual causes are trailing commas, single quotes instead of double quotes, comments, and unquoted keys. The error message points to the first character the parser could not read.
- Is there a size limit?
- Only your browser memory. Files of several megabytes format in well under a second.
- Is my JSON uploaded?
- Everything runs in your browser. Nothing you paste or open is uploaded.
Build with it on SandBase
Models and APIs on one key, when the job outgrows a browser tool.
More free tools
FREE
Developer toolsJSON to CSV Converter
Turn a JSON array into a CSV file or spreadsheet, with nested fields flattened into columns.
Open tool →FREE
Developer toolscURL to Code Converter
Convert a cURL command into Python requests, JavaScript fetch or Node.js code.
Open tool →FREE
Developer toolsBase64 Encoder & Decoder
Encode text or files to Base64 and decode Base64 back to text, with UTF-8 and URL-safe options.
Open tool →