Input
Output
AI uses your own key (several are free); a button opens a short setup.
About the XML Formatter
Beautify XML so every element starts on its own line with clear indentation, or minify it to remove the spaces between tags.
How to use it
- Paste the XML.
- Choose Beautify or Minify and the indent size.
- Copy or download the result.
Questions
Does it check that my XML is valid?
It formats well-formed XML; badly broken XML (unclosed tags) may come out oddly, which is a quick way to spot the mistake.
Is my data uploaded?
No. The tool runs in your browser; what you paste or open never leaves your device and nothing is stored on a server.