Toolbox for developers / XML to JSON - JSON to XML

Convert XML to JSON

This tool allows you to convert XML to JSON, and JSON to XML.

CDATA is not supported.
Only pre-defined entity references are supported (<, >, &, ', ").


About XML

XML (eXtensible Markup Language) is a software and hardware independent tool for storing and transporting data, and it is designed to be self-descriptive. XML is a markup language.

XML is a W3C Recommendation.

There are 5 pre-defined entity references in XML:

  • <: &lt; (less than)
  • >: &gt; (greater than)
  • &: &amp; (ampersand)
  • ': &apos; (apostrophe)
  • ": &quot; (quotation mark)

About JSON

JSON (JavaScript Object Notation) is an open-standard format for storing and transporting data, it was derived from JavaScript object notation syntax. JSON is often used for asynchronous browser–server communication.

JSON became a very common format, many programming languages include code to generate and parse JSON-format data.

You can report a bug or give feedback by adding a comment (below) or by clicking "Contact us" link (at the top right hand corner of the page).


The tools are provided "as is", without warranty of any kind, either express or implied.