Data Tools
Convert and format JSON, CSV, Excel, XML and YAML
About these tools
Convert data between JSON, CSV, Excel, XML, YAML, TSV and SQL, format and validate JSON and XML, compare and merge JSON files and generate JSON Schemas. Built for students, analysts and developers, and everything runs on your own device so private data stays private.
Popular tasks: open JSON from an API in Excel, turn a spreadsheet into JSON for an app, check why JSON will not parse, format messy JSON or XML so it is readable, and create SQL INSERT statements from a CSV export.
Frequently asked questions
Can I convert Excel to JSON?
Yes, and JSON back to Excel, CSV to Excel and more.
Is my data sent to a server?
No. Conversions happen in your browser.
How do I convert Excel to JSON?
Open Excel to JSON and add the spreadsheet. Each row becomes an object with the column names as keys, ready for an app or API.
How do I find the error in my JSON?
Paste or upload it into the JSON Validator. It tells you what is wrong, such as a missing comma or an unclosed bracket.
Can I turn a CSV into SQL?
Yes. CSV to SQL turns every row into an INSERT statement you can run in MySQL, PostgreSQL or SQLite after creating the table.
How do I compare two JSON files?
Add both files to JSON Diff, the original first. It lists every key that was added, removed or changed, which is handy for checking API responses or config files.
Are my data files private?
Yes. API responses, spreadsheets and config files are converted in your browser and never sent anywhere, so you can safely use files that contain customer or company data.
Can I create a JSON Schema from an example?
Yes. Add a sample JSON file to the JSON Schema Generator and it builds a schema with the right types and required fields, which you can then fine tune.
How do I open a JSON file in Excel?
Use JSON to Excel. Each object in the JSON becomes a row and each key becomes a column, so you get a normal spreadsheet you can sort, filter and share. For a plain text table, JSON to CSV works the same way.
What is the difference between formatting and minifying JSON?
Format JSON adds line breaks and indentation so people can read it. Minify JSON removes every unneeded space so the file is as small as possible for apps and APIs. The data itself stays exactly the same.