← All tools
[ 23 / CONVERT ]
XML to JSON
Convert XML into JSON. Attributes, repeated elements, and text are kept exactly as written.
Convert JSON to XML instead
Ready when you are.
XML attributes become @_ keys, mixed text becomes #text, and repeated elements become arrays. Values stay strings, so 007 is not changed to 7. JSON output uses two-space indentation. Comments and original formatting are not preserved. Maximum input: 1,000,000 characters.
Your inputs stay in this browser. These tools do not upload your text or colors.