JSON から XML へのコンバーター

Convert JSON data to XML format, free and private. Paste JSON, pick a root element, and get clean, indented XML — everything runs in your browser.

How it works

Paste JSON into the box, choose a root element name (and whether to include the XML declaration), then press “Convert to XML”. Keys starting with @ become attributes, and #text becomes element text.

Arrays become repeated elements with the same tag name. Copy the result or download it as a .xml file. Invalid JSON or an invalid element name shows a clear error instead of broken output.

Frequently asked questions

Embed this tool · 嵌入这个工具
Add this tool to your own website — it links back to Free Tool Directory. / 把这个工具放到你自己的网站上。
WordPress 用户:官方插件正在审核中,通过后一键安装;现在先用下面的代码。WordPress plugin under review — use the code below for now.
iframe
JavaScript widget · JS 小部件 (auto height · 自动适应高度)