About these tools
Start with the formatter or validator when a payload will not parse or is hard to read: both report the exact line and column of the first syntax error. Use the minifier when you need the smallest possible payload for a request body, a query string or a config value.
The converters save time when JSON has to move into another system. Flatten an array of records into CSV for a spreadsheet, produce XML for a legacy integration, or generate strongly typed C# classes and TypeScript interfaces from a sample API response instead of writing them by hand.
Every JSON tool on this page processes your input with JavaScript inside your browser, so the data you paste is not uploaded to our server.
Frequently asked questions
What is the difference between formatting and validating JSON?
Formatting re-indents valid JSON so it is easy to read. Validating checks whether the text is valid JSON at all and explains where and why parsing fails. The formatter also validates, but the validator gives more detail about problems such as duplicate keys.
Is my JSON sent to a server?
No. The JSON tools run entirely in your browser using JavaScript. The page is loaded from our server, but the text you paste is processed locally.