How to use it
- Paste JSON or XML.
- For JSON input, set the root element name if needed.
- Copy the converted result and read any notes.
Mapping rules
Keys starting with @ become attributes, #text becomes element text, and lists become repeated elements.
What can be lost
The formats do not match exactly. XML values come back as text, a single-item list looks like a single value, empty lists are dropped, invalid XML names are changed, and order in mixed content is not kept.
Questions
Do large IDs keep their digits?
Yes, in both directions.
Will a round trip give identical data?
Not always. Check the notes and the result.