Tool capabilities
- Input
- TXT
- Output
- TXT · JSON
How to use XML Tree Viewer
Explore XML as a JSON tree retaining attributes and text. This xml tree viewer works directly in your browser and is free to use without an account.
- Paste or open your input in the editor.
- Run the tool and inspect the output. If the input is invalid, correct the reported error and run it again.
- Copy the result or download it to your device.
XML Tree Viewer · Example
Input
<root><item id="1">Alpha</item><item id="2">Beta</item></root>
Output
{
"root": {
"item": [
{
"#text": "Alpha",
"@_id": "1"
},
{
"#text": "Beta",
"@_id": "2"
}
]
}
}Explore XML as a JSON tree retaining attributes and text.
Usage notes
Inputs and results are processed on this device. Tool content is not sent to a processing server.