FREE TOOL
JSON formatter
Paste your JSON to pretty-print it, minify it or pinpoint exactly where it breaks.
WHAT IT DOES
About this tool
Format, validate and minify JSON online. See the exact line and column of any error, sort keys alphabetically and keep all your data in your browser.
Everything runs right in your browser: your text and files are never uploaded or stored.
QUESTIONS
Frequently asked questions
Why is my JSON invalid?
The usual suspects are a trailing comma after the last item, single quotes instead of double quotes, unquoted keys and comments. JSON allows none of these. The error message shows the line and column where parsing stopped.
Is my data sent anywhere?
No. Formatting and validation use the JSON parser built into your browser. API keys, tokens and customer data in your JSON stay on your device.
What does "Sort keys" do?
It puts the keys of every object in alphabetical order, which makes comparing two JSON documents much easier.
06 / LET'S GET ACQUAINTED
TELL US
WHAT YOUR
BUSINESS NEEDS
Describe the task. Together we'll
work out the next step.
