XML Formatter

Beautify and indent messy XML instantly.

About this tool

The XML Formatter takes minified or messy XML and turns it into clean, readable, properly-indented markup. It is a daily helper for developers working with APIs, RSS feeds, sitemaps and configuration files. Formatting runs entirely in your browser, so your data stays private.

How to use

  1. 1Paste your XML.
  2. 2Click Format.
  3. 3Copy the clean, indented result.

Benefits

  • Clean indentation.
  • Easier to read and debug.
  • Private and instant.

Frequently asked questions

Does it validate XML?+

It formats well-formed XML; malformed tags will produce an error.

Is my data safe?+

Yes, formatting happens locally in your browser.

Share this tool:X / TwitterFacebook