JSON to XML

The online JSON to XML converter can be used to quickly transform between these data types. More.

We depend on ads to keep our content free for you.
Please consider disabling your ad blocker.

This is a client-side utility. Your data will NOT leave your own browser.
Copy shareable link is limited to 5,000 characters as it uses a client-side feature.

How it works?

JSON to XML online: The online JSON to XML converter can be used to quickly transform between these data types.

  • Single line: Convert the JSON to XML displayed in a single line, removing all spaces.
  • 2, 3 and 4 spaces and Tabs: Convert the JSON to XML using a specified level of indentation.

See the examples of usage below.

Examples

JSON
{
  "note": {
    "to": "Tove",
    "body": "Don't forget me this weekend!",
    "from": "Jani",
    "heading": "Reminder"
  }
}
XML
<note>
    <to>Tove</to>
    <body>Don't forget me this weekend!</body>
    <from>Jani</from>
    <heading>Reminder</heading>
</note>

Additional Resources

Looking for something else?

In case you are looking for something else than this functionality, please let us know by contacting us. The most common requests will be made available (for free) once possible.