Loading tool…
Many enterprise systems, legacy APIs, and config formats still require XML as input. This converter transforms your JSON to well-formed XML entirely in your browser using fast-xml-parser. Your data never leaves the tab.
The JSON is parsed and passed to XMLBuilder, which maps JSON keys to XML elements. Keys starting with @ become element attributes, and #text becomes the text content of a mixed element. The output includes an XML declaration and is indented for readability.
XML requires a single root element. If your JSON object has multiple top-level keys, they are automatically wrapped in a <root> element. JSON arrays of objects produce repeated sibling elements with the same tag name.