DevTidy › Convert › JSON to XML

JSON to XML Converter

Turn JSON into XML for legacy APIs, SOAP services and feeds. Use "@name" keys for attributes and "#text" for element text. 🔒 Runs locally. Nothing uploaded.

Output

Invalid XML names are made safe automatically.

Frequently asked questions

Is my data uploaded?

No. DevTidy runs entirely in your browser. Your input is processed on your device in a background Web Worker and never sent to a server, so it is safe for API keys, customer data and production configs.

How are arrays converted?

An array under a key becomes repeated elements with that key's name, e.g. "book": [..] becomes several <book> elements.

Related tools

XML to JSONXML FormatterJSON to YAML