XML Formatter
Paste minified or poorly formatted XML and get a clean, indented, readable output.
100% in your browser. Your file never leaves your device.
Paste XML above and click Format XML.
How to use
- Paste your XML content (minified or multi-line) into the input area.
- Click "Format XML" to get a properly indented version.
- Copy the output or fix any parse errors reported below the button.
Related tools
FAQ
- Is this tool free?
- Yes, completely free with no signup required.
- Does my data leave my device?
- No. All formatting happens locally in your browser — nothing is sent to a server.
- Does it work on mobile?
- Yes. The tool is mobile-first and works on any modern browser.