JSON Tools Online
JSON is the default format for APIs, config files and logs, and most of the time the problem is the same: the JSON is on one line, or it will not parse. These tools cover the everyday jobs. Format or beautify a payload so you can read it, validate it to find the syntax error, or minify it for a request body or environment variable.
When you start from a sample response, the converters write a first draft of a class or type in C#, TypeScript, Java, Python, Go, PHP or Kotlin. For data moving in and out of spreadsheets and config files there are JSON to CSV, CSV to JSON and YAML to JSON converters.
Which json tools tool do you need?
- The JSON is one unreadable line: JSON Formatter. Format it with indentation. The beautifier does the same job with wording aimed at minified input.
- JSON.parse is throwing an error: JSON Validator. Find out whether it parses and read the parser message. Trailing commas, single quotes and unquoted keys are the usual causes.
- You need the smallest possible JSON: JSON Minifier. Strip whitespace without changing the data.
- You need a model class from a response: JSON to C#. Generate a first draft in C#, then see the TypeScript, Java, Python, Go, PHP and Kotlin converters in the list below.
- The data lives in a spreadsheet or a YAML file: JSON to CSV. Move between JSON and CSV, or turn YAML into JSON with the YAML to JSON converter.
All json tools
- JSON Formatter Paste messy or minified JSON, get clean, indented JSON back. Then copy it with one click.
- JSON Validator Check whether a string is valid JSON and see the parser error if it is not.
- JSON Beautifier Turn minified or messy JSON into clean, indented, readable JSON.
- JSON Minifier Strip JSON whitespace to produce compact one-line output, while preserving the caveats of JavaScript JSON parsing.
- JSON to C# Paste JSON, get a C# model for it.
- JSON to TypeScript Paste JSON, get a TypeScript model for it.
- JSON to Java Paste JSON, get a Java model for it.
- JSON to Python Paste JSON, get a Python model for it.
- JSON to Go Paste JSON, get a Go model for it.
- JSON to PHP Paste JSON, get a PHP model for it.
- JSON to Kotlin Paste JSON, get a Kotlin model for it.
- YAML to JSON Convert YAML to JSON.
- CSV to JSON Convert CSV rows into a JSON array of objects.
- JSON to CSV Convert a JSON array of objects into CSV.

