XML to JSON
Convert a simple XML document into JSON.
Try this example
Load the sample and convert it. The repeated item elements become an array, and the accented character stays intact.
<items><item>Tea</item><item>Café</item></items>Expected result
{"item":["Tea","Café"]}This mapping omits the outer element name. For mixed content or namespaces, compare the output with the source before using it.
Related walkthrough · Check JSON and export a reliable CSV
DTool Team
Product Team
We build simple, reliable browser tools that make everyday digital work faster.