ToolsCandy

JSON to XML Converter — Free Online Tool

Transform JSON into well-formed XML with customizable root element, pretty-printing, and optional XML declaration. Private and instant.

Your data never leaves your browser

JSON input
XML output

About this tool

JSON→XMLPretty-printCustom rootDownload XMLPrivacy-first

How to use

  1. Paste JSON in the input editor.
  2. Set the root element name and array item tag as needed.
  3. Toggle pretty-print and XML declaration.
  4. Copy or download the .xml output.

Examples

Object → XML

{"name":"ToolsCandy","active":true}
<root><name>ToolsCandy</name><active>true</active></root>

Array handling

{"items":[{"id":1},{"id":2}]}
Arrays become repeated item elements under the parent tag.

FAQ