Data, API, and DevOps

JSON to XML Converter

Paste or upload JSON to get well-formed, indented XML. Object members become elements, arrays repeat their element, members starting with @ become attributes and $text becomes text. You can also use BadgerFish, JsonML, the W3C fn:json-to-xml form, or the lossless infoset events this tool writes from XML. Names that are not valid in XML are encoded reversibly, numbers keep their exact digits, and every result is read back by a secure parser and compared with your JSON.

Verified managed JSON-to-XML mapping

Reverse Mapping & Round-Trip Studio

Private managed jobStrict JSON parse, secure XML reread and round trip
JSON source293 chars
Duplicate member names refusedNumber lexemes kept exactly
Pinned Java 27 StAX reread of every output