XML Formatter
Pretty-print XML with indentation.
输入
输出
Format XML by nesting level. This is a formatting heuristic, not a validating parser.
使用方法
- Paste XML.
- The formatted output appears.
- Copy the result.
常见问题
- Does it validate XML?
- No, it only re-indents; malformed XML may format oddly.
- Are attributes kept?
- Yes, tags and attributes are preserved.