Attributes are stored under @attributes. Text nodes use #text when needed. All conversion happens locally.
How it works
Paste XML, choose your conversion options, and click convert. The parser builds a structured JSON object from the XML tree without sending data anywhere.
Output structure
- Repeated tags become arrays automatically
- Attributes are grouped under
@attributes - Mixed content adds a
#textkey alongside child elements - Text-only elements collapse to strings when that option is enabled
Common use cases
- Converting API responses for JavaScript applications
- Normalizing XML exports from legacy systems
- Preparing XML data for JSON-based databases
- Quickly inspecting XML structure during debugging