XML Formatter
Beautify, validate or minify XML. Free, no sign-up, your data stays on your device.
🔒 100% private — processing happens in your browser. Nothing is uploaded.
How to format XML
- Paste the XML.
- Choose Format to indent it or Minify to compress it.
- Pick the indent and copy or download the .xml.
Readable and valid XML
XML from APIs, sitemaps, RSS feeds, invoices and config files often arrives on a single line. Formatting shows the structure; if the XML is broken, the tool reports the error so you can find the missing tag.
Everything runs in your browser.
Questions and answers
Does it validate the XML?
It checks that the XML is well-formed and shows errors.
Does it check against a schema (XSD)?
No.
Will minify change the data?
No, only whitespace between tags.
Is it free?
Yes, no sign-up.