Code Robo
Virtual Service
Comparator
Tester
Converter
Utility
Java Code Complience
Validator
Formatter
EncoderDecoder



JSON to XML Converter
       Talk to EasyAssistant

Both JSON and XML are being used almost every application and converting json to xml is very common requirment. This Json to Xml Converter tool converts JSON to XML document. It can be directly used online free. No need to download it. It provides options to generate XML both in element and attribute based foramt. It has implemented to conversion algorithim in JAVA. Takes JSON as input and produces XML string.
It does the following things:

  • It creates a default 'RootElm' element.
  • When 'Attribute Based' XML option is selected, it converts all JSON property values to attribute value.
  • when 'Element Based' XML option is selected, it converts all all JSON property values to #text item types

Click Here To Watch A Demo On It(https://youtu.be/mdEH_XUigRU).

JSON String.(* Required): It is required.
Root Element Name: Attribute Name To Store JSON Array Values:
Output XML Format: Attribute Based XML Element Based XML

How It Works:
It first validate the input JSON String and analyse it. It extracts the attributes and values from the JSON String. . Form the XML from extracted attributes and its values. Parameters are:
  1. JSON String: Source JSON content.
  2. Root Element Name: The name of the root element of the target XML
  3. Output XML Format: Structure of the output XML. Whether it will be element based or attribute based.
Steps to follow:
  1. Put JSON content in the text area.
  2. Provide root element name of the target XML. .
  3. Provide attribute name for JSON array.
  4. Select XML output format - Attribute based XML or element based XML.
  5. Click on 'JSON To XML' button. Generated XML will be displayed in the next page in a text area.
  6. Copy and save it.
User Comments:
Arun Kumar(2022-04-16):
We do not store data in xml attribute. We store in xml element. I think that is the common practice accross indutries! Can you please change the default output format to Element Format?
    Reply;

anonymous(2022-04-16):
Thank you for supporting attribute format xml!!!!! We use attribute format xml mostly.
    Reply;

abcd@gmail.com(10-JUN-2022):
can you make an API out of it?
    Reply;


Post Your Comment:
Name :
Email ( Optional) :
Comments / Suggestion (* Required) It is required: :
: