JSON 转 XML 转换器
免费 JSON 转 XML 转换器。粘贴任何有效的 JSON,即可即时获得结构良好的 XML。非常适合 API 集成和旧系统。
Runs in your browserUpdated Apr 26, 2026
JSON Input
XML Output
⌘⇧C
常见问题
›How are JSON arrays converted to XML?
Each array item becomes a repeated element with the parent key. So {"items":[1,2]} → <items>1</items><items>2</items>.
›What about JSON keys that aren't valid XML names?
Keys with spaces or special characters are sanitised to valid XML names. Numeric keys are prefixed with an underscore.
›Is my JSON sent anywhere?
No — conversion runs entirely in your browser. Your data never leaves your device.
›Can I convert XML back to JSON?
Yes — see our XML to JSON converter for the reverse direction.
›Is the converter free?
Yes — free, no signup, runs in your browser.