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 · JSON to CSV: keep identifiers, commas and empty cells intact

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

Learn how we use cookies