File formats / 11 formats, every pair
JSON to XML converter
Turn JSON into XML — a row element per record, a child element per column — in this browser tab. Paste your JSON, copy the XML: the quoting and escaping XML needs are applied for you.
JSON to XML, worked out
3 rows and 4 columns: 20 lines of JSON become 21 lines of XML.
JSON in
[
{
"product": "Desk lamp",
"region": "EU",
"units": "128",
"unit price": "24.50"
},
{
"product": "Chair",
"region": "R&D",
"units": "64",
"unit price": "98.00"
},
{
"product": "Monitor",
"region": "APAC",
"units": "32",
"unit price": "249.99"
}
]XML out
<?xml version="1.0" encoding="UTF-8"?>
<rows>
<row>
<product>Desk lamp</product>
<region>EU</region>
<units>128</units>
<field name="unit price">24.50</field>
</row>
<row>
<product>Chair</product>
<region>R&D</region>
<units>64</units>
<field name="unit price">98.00</field>
</row>
<row>
<product>Monitor</product>
<region>APAC</region>
<units>32</units>
<field name="unit price">249.99</field>
</row>
</rows>XML result
<?xml version="1.0" encoding="UTF-8"?>
<rows>
<row>
<product>Desk lamp</product>
<region>EU</region>
<units>128</units>
<field name="unit price">24.50</field>
</row>
<row>
<product>Chair</product>
<region>R&D</region>
<units>64</units>
<field name="unit price">98.00</field>
</row>
<row>
<product>Monitor</product>
<region>APAC</region>
<units>32</units>
<field name="unit price">249.99</field>
</row>
</rows>Conversions next to this one
Next in this job
Chosen from where these tools sit in the catalogue — the same workbench, the same category, the same words. Nothing here measures what you or anyone else opened.
- JSON to Markdown converterConvert JSON to Markdown in your browser.Next along in the same workbench
- JSON to YAML converterConvert JSON to YAML in your browser.Next along in the same workbench
- XML to JSON converterConvert XML to JSON in your browser.Another XML tool
- JSON to HTML converterConvert JSON to HTML in your browser.Next along in the same workbench