XML to JSON Converter - Free Online XML Converter


XML to JSON Converter






Note:
Your file size should not exceed the allowed limit (20MB).
Encrypted file is not accepted

"If you encounter any issues while using our online tools, please report it about the issues. It will help us in resolving the issues as soon as possible. Your suggestions or feedbacks are very helpful to improve the website. We appreciate your Support!.



About our XML to JSON Converter:

Our XML to JSON Converter is a tool created to convert xml file to json file online for completely free. This will help users who wants to convert any xml format data to json formatted data easily using our user friendly online xml converter. Also, it provides flexible options to provide the xml file as a input and convert it.


How to Use Free XML Converter?

This XML converter provides multiple options to users to provide their input. Users can upload their XML file directly by selecting the choose file button to upload it or they can simply copy and paste their XML data into out text box for converting to JSON format from XML data.

Sample XML Input:
<?xml version="1.0" encoding="UTF-8"?>
<catalog>
    <courses>
        <course>
            <title>Introduction to Finance</title>
            <duration>4 weeks</duration>
            <price currency="USD">199.99</price>
            <category>Finance</category>
        </course>
        <course>
            <title>Data Science Bootcamp</title>
            <duration>12 weeks</duration>
            <price currency="USD">999.99</price>
            <category>Data Science</category>
        </course>
        <course>
            <title>Effective Teaching Strategies</title>
            <duration>6 weeks</duration>
            <price currency="USD">149.99</price>
            <category>Education</category>
        </course>
    </courses>
    
    <electronics>
        <item>
            <name>Smartphone XYZ</name>
            <brand>Brand A</brand>
            <price currency="USD">799.99</price>
            <features>
                <feature>6.5 inch display</feature>
                <feature>128GB Storage</feature>
                <feature>5G Enabled</feature>
            </features>
        </item>
        <item>
            <name>Laptop ABC</name>
            <brand>Brand B</brand>
            <price currency="USD">1299.99</price>
            <features>
                <feature>16GB RAM</feature>
                <feature>512GB SSD</feature>
                <feature>Intel i7 Processor</feature>
            </features>
        </item>
    </electronics>
</catalog>
    

Once user provided the input, they can simply click on "Convert XML to JSON" button to initiate the xml data conversion to json format. If data conversion is completed successfully, converted JSON format data will be shown in the output text box. So user can verify the converted JSON data, If they are happy, either they can copy the output and paste wherever they want or they can download the file simply by clicking on Download xml file button.

JSON Output Example:
{
    "courses": [
        {
            "title": "Introduction to Finance",
            "duration": "4 weeks",
            "price": 199.99,
            "category": "Finance"
        },
        {
            "title": "Advanced Data Science",
            "duration": "8 weeks",
            "price": 299.99,
            "category": "Data Science"
        },
        {
            "title": "Effective Teaching Strategies",
            "duration": "6 weeks",
            "price": 149.99,
            "category": "Education"
        },
        {
            "title": "Personal Finance Management",
            "duration": "5 weeks",
            "price": 99.99,
            "category": "Finance"
        },
        {
            "title": "Introduction to Programming",
            "duration": "10 weeks",
            "price": 249.99,
            "category": "Computer Science"
        }
    ]
}