JSON to XML Converter
Convert JSON objects to well-formed XML with indentation and attribute mapping options.
Indent
Root tag
Attr prefix
JSON input
XML output
<?xml version="1.0" encoding="UTF-8"?>
<bookstore>
<book category="fiction">
<title>The Great Gatsby</title>
<author>F. Scott Fitzgerald</author>
<year>1925</year>
</book>
<book category="non-fiction">
<title>Sapiens</title>
<author>Yuval Noah Harari</author>
<year>2011</year>
</book>
</bookstore>Related tools
XML to JSON ConverterConverter
Convert XML to JSON and JSON to XML locally in your browser.
JSON → CSVConverter
Convert JSON arrays to CSV locally.
CSV → JSONConverter
Convert CSV to JSON locally in your browser.
JSON to YAML ConverterConverter
Convert JSON to YAML with configurable indentation.
YAML to JSON ConverterConverter
Convert YAML to JSON and JSON to YAML locally in your browser.
XML FormatterConverter
Format and prettify XML locally in your browser.