Converter Platform

Convert JSON to XML

Convert JSON data to well-formed XML with customizable root and row element names. Useful for integrating with SOAP services, generating RSS feeds, or creating XML configuration files.

Input (Json)
134 chars · 12 lines
Output (XML)
Ctrl+Enter: ConvertCtrl+Shift+C: CopyCtrl+Shift+S: Download

JSON to XML Options

Customize the conversion output using these format-specific options. Set them in the Options panel above or pass them in the API options object.

OptionDescriptionValues
xml_rootRoot element namestring (default: rows)
xml_rowRow element namestring (default: row)
xml_declarationInclude <?xml?> declarationtrue / false
xml_cdataWrap special characters in CDATAtrue / false
prettyPretty-print with indentationtrue / false

Frequently Asked Questions

Related Converters

JSONCSVJSONYAMLJSONNDJSONJSONTSVJSONHTML

View all converter combinations →