XML to JSON Converter

Convert XML into JSON, collapsing repeated elements into arrays.

Repeated sibling elements collapse into an array automatically. Text that looks like a number or boolean is converted to that type.

使用方法

  1. 一切都在您的浏览器本地运行:不会上传任何数据,无需账户。

关于

Paste XML and read the JSON back. Repeated sibling elements collapse into an array automatically, and text that looks like a number or boolean comes through as that type.

The reverse of JSON to XML. Attributes are preserved with an "@" prefix and the element text with "#text", following the common convention.

一切都在您的浏览器本地运行:不会上传任何数据,无需账户。

Embed this tool

Customize and copy an iframe. Linking back helps both sites.

Open preview