XML Minifier

Strips the whitespace between tags and removes comments to shrink an XML payload before sending it over the wire. Text content and CDATA sections are preserved byte-for-byte, so only formatting is lost. Runs entirely in your browser — nothing is sent to a server.

Ad placeholder: Resp_Horizantal_1 (horizontal)
Ad placeholder: Resp_Square_1 (square)

Strips the whitespace between tags and removes comments to shrink an XML payload before sending it over the wire. Text content and CDATA sections are preserved byte-for-byte, so only formatting is lost. Runs entirely in your browser — nothing is sent to a server.

Use cases

  • Reducing the size of a SOAP request or RSS feed
  • Normalising XML before comparing two documents

Examples

Indented XML

<note>
  <to>Ada</to>
</note>
<note><to>Ada</to></note>

FAQ

Is my data sent to a server?

No — this tool runs entirely in your browser.

Are comments removed?

Yes. Comments carry no data, so minifying drops them.