JSON to XML Converter

Convert JSON data into XML format.

Result

Related tools

How it works

  1. 1Paste JSON data into the input area.
  2. 2The tool parses the JSON.
  3. 3Converts objects and arrays to XML elements.
  4. 4Formatted XML is displayed. Invalid JSON shows an error. Uses fast-xml-parser. All processing in browser.

Example

Input: {"user":{"name":"Alice","age":30}}
Output: <user><name>Alice</name><age>30</age></user>