XML to JSON
Convert XML data into JSON format.
Convert JSON data into XML format.
JSON to XML converts JSON data into XML format. Keys prefixed with “@” become attributes, and a “#text” key becomes the element’s text content. Useful for reversing output from the XML to JSON tool, or passing JSON-based configuration into an XML-based system.
The root object must have a single key, which becomes the root element name (e.g. {"user": {...}}). This is compatible with output from the XML to JSON tool.
By default, keys prefixed with "@" are treated as attributes (e.g. "@id": "1" becomes id="1"). The prefix can be customized.
Arrays produce repeated elements with the same tag name.
No. All processing happens in your browser.