How it works
Reindents XML documents so the node hierarchy is clear and consistent. Useful for reading SOAP responses, configuration files, RSS feeds, or any XML that arrives on a single line.
It lets you choose the indentation type (spaces or tabs), the indent size, and the line ending. Each nested element goes on its own line with the corresponding indentation.
Processing is entirely local, in your browser. It formats the presentation; it does not validate the XML against a schema or check that it is well-formed.
Examples
<root><item id="1"><name>A</name></item></root><root>
<item id="1">
<name>A</name>
</item>
</root>Each nested node is placed on its own line with the corresponding indentation.Use cases
- Read a SOAP response or an API XML compressed into one line.
- Normalize the indentation of an XML configuration file.
- Inspect an RSS feed or a sitemap with many nodes.
- Review and compare third-party XML documents with a uniform format.
Frequently asked questions
Does it validate the XML against a schema?
No. The tool only reindents and tidies the markup. It does not validate against an XSD or DTD or check that the document is well-formed.
Does it work for SVG or other XML-based formats?
Yes. Since SVG, RSS, and many other formats are XML dialects, they are reindented the same way. Keep in mind that only the presentation is changed, not the content.
Is it the same as minifying XML?
No, it is the opposite. Formatting adds line breaks and indentation to read it better; minifying removes them to reduce the size. To compress, use the minification tool.
Is my code uploaded to a server?
No. Formatting happens entirely in your browser; the XML never leaves your computer.