Skip to content
Takikit

XML Minifier

Remove whitespace between tags and comments to make the XML as compact as possible.

Loading tool...

Runs in your browser. Nothing is sent anywhere.

When to use it

Use this when you need XML in its most compact form to send through an API, embed in a parameter or store in a database, for example a product feed or config data.

Runs of whitespace inside text content are also collapsed to a single space, so avoid it for XML with paragraphs whose formatting must be kept. Tick keep comments if the file has notes that matter.

How to use

  1. Paste XML.
  2. The minified version appears instantly.
  3. Click Copy or Download.

Frequently asked questions

Is the data I paste sent to a server?

No. The tool runs in JavaScript right in your browser, and Takikit has no server that receives data. You can turn off your internet after opening the page and the tool will still work.

Related tools

More Developer tools

See all developer tools