Convert XML to JSON
Paste XML data or open a file and get JSON instantly. Free, no sign-up — and your data never leaves your device.
CSV
Settings
How to convert XML to JSON
- Paste your XML into the Input box, click Open file, or drag a file onto it.
- Check the output format (JSON) and adjust Settings if needed — separator, column names, indentation.
- Click Copy or Download.
About XML and JSON
XML is a tag-based format used by feeds, invoices, sitemaps and many older business systems.
JSON is the standard data format of web APIs and JavaScript apps. It can hold nested objects and lists.
Frequently asked questions
More data tools
- Data converter
- JSON formatter
- JSON validator
- CSV to JSON
- JSON to CSV
- Excel to CSV
- CSV to Excel
- Excel to JSON
- JSON to Excel
- XML to JSON
- JSON to XML
- YAML to JSON
- JSON to YAML
- CSV to XML
- XML to CSV
- TSV to CSV
- CSV to TSV
- XML to Excel
- Excel to XML
More free tools
CSV to JSONTurn CSV into JSON objects or JSON into CSV. Separator is detected automatically.Excel to CSVConvert .xlsx sheets to CSV and CSV to Excel — with Excel-friendly encoding.JSON to ExcelOpen API data in Excel: nested JSON becomes tidy columns. Or export a sheet as JSON.YAML to JSONConvert YAML config files (Docker, Kubernetes, CI) to JSON and back.JSON formatterBeautify, minify and validate JSON — errors shown with line and column.Data converterConvert between CSV, TSV, JSON, Excel, XML and YAML in any direction.