JSON, CSV and XML converter
Format, minify and validate JSON, convert CSV and JSON both ways, and format XML or turn it into JSON.
Indentation
Runs in your browser. Your files are not uploaded.
Text up to 20 MB. JSON numbers are read as ordinary numbers, so integers beyond 15 digits lose precision when formatted.
CSV columns are detected automatically from commas, semicolons, tabs and pipes. XML attributes become keys starting with @_ in JSON.
In CSV output, cells that start with =, +, -, @ get a leading apostrophe so spreadsheets do not run them as formulas, including numbers written as text.
How to use JSON, CSV and XML converter
Choose a conversion, for example Format JSON or CSV to JSON.
Paste your data, or select Open a file.
Set the options that appear, such as indentation or whether the first CSV row has column names.
Select Run, then copy the result or download it.
Questions
No. Everything is converted in your browser and your data never leaves your device.
Format JSON, Minify JSON, Validate JSON, CSV to JSON, JSON to CSV, Format XML and XML to JSON.
Choose Validate JSON or Format JSON and select Run. If the JSON is invalid, the message gives the line and column.
Up to 20 MB per file.
Related tools
- Base64 encoder and decoderEncode a file or text to Base64 or a data URL, and decode Base64 back to a file.
- QR code generatorMake a QR code for text, a link, Wi-Fi sign-in or an email, and save it as SVG or PNG.
- Barcode generatorMake a Code 128, EAN-13, EAN-8, UPC-A, Code 39 or ITF barcode and save it as SVG or PNG.
- DOCX converterConvert a Word .docx file to HTML, Markdown or plain text, with headings, lists, tables and pictures kept.