Tools

Documentation · Utilities

Back to tool

XML Formatter

Format or minify XML in the browser — 2 or 4 space indentation. Useful for sitemaps, RSS feeds, and config files.

How to use

  1. Paste the XML (minified or messy).
  2. Choose format (pretty print) or minify.
  3. 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.

Search tools

Search tools by name, description, or tag.