ToolerCat / Data Format Converter / JSON to XML Converter

JSON to XML Converter

Paste JSON, get XML — with the exact line of any syntax error.

Validate YAML / XML / TOML → · JSON Formatter →

JSON to XML

Turn JSON into XML. Keys become elements, arrays repeat the element, keys starting with @_ become attributes, and a <root> element is added when needed.

Paste or open a .json file, fix any error at the line shown, then copy or download the .xml result. Everything runs in your browser.

Other conversions

JSON to YAML · YAML to JSON · XML to JSON · JSON to CSV · CSV to JSON · JSON to TOML · TOML to JSON

Validate YAML / XML / TOML →