Loading, please be patient.

Convert XML to JSON - XML to JSON converter online



XML to JSON Converter


Our online XML to JSON converter tool allows users to convert an XML file into a JSON file without hassle. However, this process is not 100% accurate as the XML uses various item types that do not have similar JSON representations. Moreover, XML to JSON Converter is an easy and simple tool. Just Copy, Paste, and Convert.


Follow the below steps to convert an XML file to JSON:

  1. Go to A2Z Tools
  2. Click on XML to JSON Converter
  3. Now add the XML text and the JSON format will be generated
  4. Click on Copy to use the file



XML to JSON Example

XML Data

<?xml version="1.0" encoding="UTF-8" ?>
<InsuranceCompanies>
 <Top_Insurance_Companies>
   <Name>Berkshire Hathaway ( BRK.A)</Name>
   <Market_Capitalization>$539 billion</Market_Capitalization>
 </Top_Insurance_Companies>
</InsuranceCompanies>

Converted JSON

{
  "InsuranceCompanies": {
    "Top_Insurance_Companies": {
      "Name": "Berkshire Hathaway ( BRK.A)",
      "Market_Capitalization": "$539 billion"
    }
  }
}