JSON → XML
100% CLIENT-SIDE
Arrays repeat the parent key as sibling elements, null becomes an empty element, and text is escaped. XML names cannot start with a digit or contain spaces, so those keys are rewritten (1b becomes _1b); the footer counts how many.
JSON
XML
More from JSONConvert
JSONConvert
Free, 100% client-side JSON converter.
Flatten Nested JSON
Flatten nested JSON into single-level dotted keys (user.address.city, tags[0]) in your browser.
JSON to YAML Converter
Convert JSON to block-style YAML in your browser.
Guides
Developer Sponsor / Partner