JSON WalletPrivacy-first JSON & API workspace

JSON to XML

Convert a JSON document to XML. Objects become nested elements, arrays repeat their element, and &, <, > are escaped safely.

Input
XML

Frequently asked questions

How are arrays represented?

Each array item is emitted as a repeated element with the same tag name as its parent key.

What about invalid element names?

Characters that are not valid in XML tag names are replaced with underscores.

Press ⌘ K for commands