JSON to XML
Build well-formed XML from the documented JSON mapping.
Local processing · Nothing is uploaded · 1 MB input limit
Input & settings
Ready. Enter your input to begin.
How to use this tool
Paste your source, choose the supported options, then process. Inspect or download the complete result.
Limits and behavior
Exactly one root property required. Attributes use @_ and text uses #text. Valid XML element/attribute names required. Scalar text is escaped. Maximum total input 1 MB, output 3 MB, JSON nesting 64 levels. Processing stays in your browser worker. Input is limited to 1 MB and output to 3 MB. No input content is saved by CraftAI.
Convert JSON structure to XML
Turn JSON values into XML markup using the expected mapping rules for elements, attributes and text.
Will any JSON document recreate an original XML file exactly?
No. XML has namespaces, order and mixed-content features that may not round-trip through arbitrary JSON.
Related tools: xml to json · format xml