TL
Tool Lab
💰捐贈
💰捐贈

XML to JSON Converter

Convert XML to JSON. Handles nested elements and repeated tags as arrays.

XML Input
JSON Output

XML to JSON Conversion

Each XML element becomes a JSON key. Child elements become nested objects. Repeated sibling elements with the same tag name are automatically grouped into a JSON array. Text content is automatically converted to numbers or booleans when appropriate.

XML attributes are not included in the output — only element content and child elements are converted. If you need attributes preserved, consider a more specialized conversion tool.