XML 转 JSON
即时将XML文档转换为JSON格式。处理属性、嵌套元素和数组。
使用方法
即时将XML文档转换为JSON格式。处理属性、嵌套元素和数组。
- 1Paste your XML document into the input field.
- 2Click 'Convert' to transform XML to JSON.
- 3Review the formatted JSON output.
- 4Click 'Copy' to copy the JSON to your clipboard.
- 5Use the JSON in your application, API, or database.
主要功能
- Preserves XML attributes with @ prefix notation
- Auto-detects repeated elements and converts to arrays
- Handles deeply nested XML structures
- No size limits — processes large documents locally
- Privacy-safe — data never leaves your browser