XML and JSON Converter

Your workspaceProcessed on your device
A few things to know.

Local files must be UTF-8 and at most 4 MiB. XML input supports up to one million UTF-16 code units, 100,000 nodes and 128 element levels. DTDs are excluded. The ordered mapping preserves XML node order, qualified names and attribute strings. Typed XML uses the XPath functions namespace and accepts supported map, array and scalar elements. XML lexical formatting may change.

  1. Choose a direction and a data mapping. Use Ordered XML nodes for general documents and Typed JSON values for ordinary JSON.
  2. Paste your source or select a local file. Use example loads a sample for the chosen direction and mapping.
  3. Convert, inspect the preview and download the complete JSON or XML file.