XML Formatter
Indent an XML document for easier reading while retaining namespace declarations, CDATA sections and significant whitespace in mixed content.
Usage, formats and limits
- Input
- XML
- Result
- XML
- Paste the text or select a supported file (XML).
- Before processing, review Indentation (spaces).
- Run the tool and check the result (XML). Download the output when offered.
Example. For a small trial, use Indentation (spaces) = 2. Check the result before applying the same setting to important files.
Limits. Input ceiling: 256 MiB per operation. A tool can have a lower limit. Available browser memory and supported formats limit what can be processed on this device. Indentation (spaces) (1–8)