JSON & Data tools
Format, validate, minify and convert JSON.
About our free json & data tools
Format, validate, minify and compare JSON, and convert it to and from CSV, YAML, XML, SQL and TypeScript. There is also a tree viewer for exploring large documents and a JSONPath tester for writing queries.
API responses and config files often contain tokens, keys and customer data. These tools parse everything locally in your browser, so the data never leaves your machine.
Which tool do I need?
- Pretty-print JSON and find the line with a syntax errorJSON Formatter & Validator
- Browse a large JSON file as a collapsible treeJSON Tree Viewer
- Compare two JSON documents and see what changedJSON Diff
- Turn a JSON array into a spreadsheet-ready CSVJSON to CSV Converter
- Turn a CSV file into JSONCSV to JSON Converter
- Convert between JSON and YAML for config filesJSON to YAML Converter
- Generate TypeScript types from a sample responseJSON to TypeScript Types
- Test a JSONPath query against your dataJSONPath Tester
Tips for better results
- JSON does not allow trailing commas, comments or single quotes. These are the most common reasons a file fails to parse.
- Minify JSON for sending over a network; format it for reading and code review.
- When converting nested JSON to CSV, nested objects are flattened into dotted column names such as address.city.
- YAML depends on indentation, and different tools can read unquoted values such as yes, no or 08 differently. Quote values when in doubt and validate before deploying a config change.
Frequently asked questions
Is my JSON sent to a server for validation?
No. Parsing, formatting and conversion all run in your browser, so API keys and personal data in your JSON stay private.
How large a JSON file can I open?
Files of tens of megabytes work on most computers. The tree viewer is the best choice for very large documents.
Why does my JSON fail to validate?
The formatter points to the exact line and column. Common causes are trailing commas, unquoted keys, single quotes and comments.
Are these tools free for commercial projects?
Yes. Use them freely at work; there are no accounts or limits.