XML to JSON Converter
Validate XML and convert it into formatted, syntax-highlighted JSON. Attributes are prefixed with @, repeated elements become arrays, and numeric or boolean text is typed automatically.
JSON output will appear here.
Shortcuts: Ctrl/Cmd + Enter run · Ctrl/Cmd + Shift + F format
How to use
- 1Paste your XML into the left editor.
- 2Click Convert to JSON, or press Ctrl/Cmd + Enter.
- 3Review the highlighted JSON on the right.
- 4Copy the result or download it as a .json file.