XMLJSON

Convert data in XML format to JSON format. As in the example below, paste XML on the left and the JSON result appears instantly on the right.

Example

XML
<?xml version="1.0" encoding="UTF-8"?>
<rows>
  <row>
    <id>1</id>
    <name>Ada</name>
    <role>admin</role>
  </row>
  <row>
    <id>2</id>
    <name>Linus</name>
    <role>editor</role>
  </row>
</rows>
JSON
[
  { "id": 1, "name": "Ada", "role": "admin" },
  { "id": 2, "name": "Linus", "role": "editor" }
]
Open this converter

How to Convert

  1. Select XML as the source format and JSON as the target format.
  2. Paste your XML data into the input box on the left.
  3. Copy or download the JSON result generated on the right.

Notes

Related Conversions