DEVELOPER TOOLS · LOCAL ONLY

JSON to XML

Convert JSON into an indented XML document.

Up to 200,000 characters. Arrays repeat as sibling tags; attributes are not produced.

Convert
1 lines · 40 bytes
0 lines · 0 bytes
Run the tool to see the result

Up to 200,000 characters. Arrays repeat as sibling tags; attributes are not produced.

How to use

Convert JSON into an indented XML document.

Useful for rewriting JSON data as the XML a legacy system or SOAP service expects. Arrays expand into repeated sibling tags and `&`, `<`, `>` are escaped. If a key is not a valid XML tag name the tool says so instead of emitting XML that will not parse.

Limits and privacy

Up to 200,000 characters. Arrays repeat as sibling tags; attributes are not produced.

Everything runs inside this browser. Your input is never uploaded, stored, or written to the URL or any log.