An object with a nested array
{ "id": 1001, "items": ["TL-001", "TL-002"] }<?xml version="1.0" encoding="UTF-8"?> <order> <id>1001</id> <items>TL-001</items> <items>TL-002</items> </order>
Turn JSON into well-formed XML with a root element you choose.
The result will appear here.
Was this tool useful?
Plenty of systems still speak XML: SOAP services, e-invoicing formats, EDI gateways, older ERP integrations. When the data you have is JSON and the endpoint wants XML, the conversion itself is mechanical — the decisions are about naming.
XML needs exactly one root element, and JSON arrays have no element name to give their items. This tool asks you for both up front rather than inventing names, so the output matches the schema the receiving system expects.
{ "id": 1001, "items": ["TL-001", "TL-002"] }<?xml version="1.0" encoding="UTF-8"?> <order> <id>1001</id> <items>TL-001</items> <items>TL-002</items> </order>