XML Compressor

Your workspaceProcessed on your device
A few things to know.

Local files must be UTF-8 and at most 4 MiB. XML input supports up to one million UTF-16 code units, 100,000 nodes and 128 element levels. DTDs are excluded. Normalization can change attribute quoting, character references and empty-element spelling. Optional indentation removal respects inherited xml:space="preserve". Digital signatures depend on separate canonicalization rules.

  1. Supply an XML document and compress once with the default settings.
  2. Optionally remove comments or whitespace between element-only children.
  3. Review the byte counts and output, then download compressed.xml.