Format XML
Format and organize XML documents
Loading...
About this tool
Format and indent XML documents to make them readable. Paste a single-line or badly formatted XML and get an organized version with a clear hierarchy and syntax highlighting.
Useful for inspecting SOAP responses, RSS feeds, config files and any XML data. Everything is processed in the browser.
How to use
- Paste the XML into the text area.
- Click to format and indent.
- Copy the formatted result.
Frequently asked questions
Is the XML sent to servers?
No, formatting is done locally in your browser.
What if the XML is malformed?
The tool flags the XML as invalid so you can fix it.
Does it work for HTML too?
For HTML, use the HTML viewer; this one is optimized for XML.
Advertisement