JSON to XML Converter

Paste JSON on the left to turn it into XML you can copy into feeds, configs, and integrations.

Source

Free-form source input. Auto-detect tries JSON first, then XML, then YAML.

Loading editor...
Status: Valid JSONCharacters: 361 | Lines: 24

Result

Choose the target format for the converted output.

Loading editor...
Status: Converted to XMLCharacters: 305 | Lines: 14

Route Notes

Convert JSON into an XML element tree with a predictable structure.

The result is always wrapped in <root>, and mixed text-plus-children XML is not supported in this version.

XML Conversion Notes

XML to JSON keeps key XML details visible instead of flattening everything away.

Attributes appear as @name, and direct text appears as _text.

The original XML root tag name is preserved as _rootName.

Text-only child elements stay object-shaped, so <note>hello</note> becomes { "_text": "hello" }.

JSON to XML output always uses a fixed <root> wrapper in this MVP.