XML to JSON

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


Avatar

DTool Team

Product Team

We build simple, reliable browser tools that make everyday digital work faster.

Cookie
We care about your data and would love to use cookies to improve your experience.

Learn how we use cookies