YOSEO Tools

XML Formatter

Format and beautify XML document trees.

Loading workspace...

About the XML Formatter

Use it to pretty-print and validate XML such as sitemaps, RSS feeds, SOAP responses or config files.

Runs entirely in your browser. Your files and text are never uploaded.

How to use it

  1. Paste the XML.
  2. Format it, or minify it.
  3. Fix any error at the line reported, then copy.

Frequently asked questions

Why is my XML not well-formed?

Common causes are unclosed tags, mismatched case, an unescaped & character or more than one root element.

How do I write & in XML?

Escape it as &amp;. Likewise use &lt; for < inside text.

Does formatting change the data?

No. Only whitespace between tags changes. Element content stays the same.

Related Tools

Specialized workflows in Utilities & Developer

All in Utilities & Developer