JSON to XML
Because some APIs still speak angle brackets.
Input
Output
What this does
DEVS: Recursive serialization with root element wrapping. Arrays repeat the tag name. No schema, no DTD, just well-formed XML.
Paste JSON, get XML. Keys become element names. Arrays repeat child elements. Output is wrapped in a root element and properly indented.
Common use cases
Integrating with SOAP services or legacy enterprise systems that only speak XML.
Generating configuration files for tools that require XML format.
Things to know
JSON and XML don't map one-to-one. JSON keys that aren't valid XML element names get sanitized. Null values become empty elements. There's no single "correct" way to convert JSON to XML, and every tool does it slightly differently.
Privacy
Everything runs in your browser. Your data doesn't touch a server.