和Jade & Yarrow
Free browser tools

XML to JSON Converter

Convert XML into JSON locally with attribute and text preservation. Validate XML and choose compact or ordered output.

Results

Enter your details and run the tool.

How this tool works

Attributes use the @ prefix and text nodes use #text. Values remain strings so identifiers such as 001 are preserved. Compact mode groups repeated tags into arrays; ordered mode preserves mixed content and sibling order. DTD and entity declarations are rejected. Limit: 2 MB.

Your entries are processed on this device. No account or upload is required.

Explore all tools