Instructions ยท XML Formatter
- Open the HTML file in a modern browser. Review Security Check and select Continue.
- Paste XML 1.0, open a UTF-8 .xml file, or choose Open Sample.
- Select two spaces, four spaces or tabs, then choose Format XML. Existing whitespace, mixed content and protected xml:space regions stay as supplied.
- Review the formatted XML and source regions left untouched. Choose Copy XML or Download XML. Download preserves file bytes.
Format one UTF-8 XML 1.0 document up to 2 MiB. The formatter keeps existing text and spaces, and inserts indentation only between adjacent child tags in eligible sections.