JSON to XML and XML to JSON Converter Online (Free)
How JSON and XML map to each other
XML has features JSON does not, namely attributes, mixed text and a single root element. This converter uses the common convention: keys starting with @ become attributes, #text holds text next to child elements, and arrays become repeated elements with the same name.
Good to know
- XML has no number or boolean types, so XML → JSON returns values as strings.
- An XML document must have exactly one root. If your JSON has several top-level keys, the tool wraps them in the root name you choose.
- Characters such as
&and<are escaped automatically. - Invalid element names are cleaned (spaces become underscores).
Everything runs in your browser. Nothing you paste is uploaded, logged or stored, so it is safe to use with private data.
Read more here: Source link
