Skip to content
QZTools

XML formatter

Tidy up messy or minified XML so it's easy to read and review.

Everything runs in your browser. Nothing you type or paste is sent to a server.

How to use the XML formatter

  1. 1

    Paste your XML.

  2. 2

    Pick the indentation or minify.

  3. 3

    Copy or download the result.

About this tool

Handy for reviewing e-invoices, RSS feeds, sitemaps or SOAP responses.

If the XML isn't well-formed we tell you and point to the error position when the browser provides it.

Frequently asked questions

Is the data changed?

No. Only whitespace between tags changes; values and attributes are kept.

Does it handle CDATA and comments?

Yes, they are kept in the result.