JSON to XML
Convert a JSON tree to XML while keeping its original keys, order and value types.
Conversion Progress
0.0 s
Choose a JSON file or load the sample.
XML Ready
JSON Source
XML Output UTF-8
Use line breaks and two spaces per level.
How JSON Is Mapped
<json> is the root. Object keys appear in key attributes on <member>. Arrays use <item> with zero-based indexes.
A type attribute distinguishes strings, numbers, booleans, nulls, arrays and objects. A missing property has no element.