JSON ⇄ XML

Convert a JSON object into structurally equivalent XML

How to use

Objects become nested elements; each item of an array repeats under the same tag. Text nodes become element content directly. Attributes are not supported and become child elements.

FAQ

How are XML attributes represented?

This tool generates JSON keys uniformly as child elements, without distinguishing attributes. If you must use attributes, process them another way first.

Why does the array have no index?

XML expresses lists through repeated tags and has no index concept. On restore, consecutive sibling elements with the same name are treated as an array.