Documentation · Utilities
Back to toolXML Formatter
Format or minify XML in the browser — 2 or 4 space indentation. Useful for sitemaps, RSS feeds, and config files.
How to use
- Paste the XML (minified or messy).
- Choose format (pretty print) or minify.
- Adjust indentation (2 or 4 spaces) and copy the result.
Frequently asked questions
Does it auto-fix invalid XML?
No. It formats XML that the parser can read; syntax errors must be fixed in the input.
Can I use it for sitemap.xml?
Yes. A common case is pasting a minified sitemap and getting a readable version for review.
Do my files leave the browser?
No. All processing is local.