XML to JSON Converter

Convert XML document tags to JSON

Source Input
Indentation:
Processed Output

What is the XML to JSON Converter?

XML to JSON parses XML strings using browser DOM engines, mapping element nodes, children, attributes, and text nodes into an equivalent JSON tree.

Frequently Asked Questions (FAQ)

Q: How are XML attributes represented in JSON?

They are mapped into a special `@attributes` property inside the matching object.