Search for a command to run...
All available keyboard shortcuts
Convert JSON to well-formed XML instantly. Struct produces properly indented XML with a declaration header, handles nested objects and arrays, and supports bidirectional conversion. Ideal for working with SOAP APIs, RSS feeds, or any system that requires XML input.
Yes. Struct processes everything 100% in your browser. Your data never leaves your device — nothing is sent to any server. Most online tools send your data to their servers for processing. Struct is different: you can verify this by disconnecting your network and confirming the tool still works. Read our privacy policy for full details.
Paste your JSON into Struct's Convert tab and select XML as the output format. Struct generates well-formed XML with proper indentation and an XML declaration header.
JSON arrays are wrapped in <item> elements inside a <root> element. Each array item becomes a separate <item> tag. Nested objects are converted to nested XML elements.
Yes. Use the Swap button to switch the conversion direction. Paste XML and get clean JSON output. Attributes are preserved with an @_ prefix.