Result appears here after you select
{ } How to use
- Paste your XML.
- Select Process to strip the whitespace between tags.
{ } How it works
XML Minifier works on the text you provide. Select Process ▸ and it runs entirely in your browser — nothing is uploaded to a server — then shows the result in the Output panel.
Input
- XML input — paste or type your input in the left panel (use Sample for an example)
Output
XML text — copy or download it from the Output panel.
{ } Common uses
- Shrink an XML payload before sending it.
- Put a document on one line for a log entry or a shell argument.
- Remove the indentation a formatter added.
{ } Limitations
- Only whitespace between tags is removed. Text inside an element, and whitespace inside attribute values, are left exactly as they are.
- Malformed XML is reported rather than minified. Because significant whitespace between elements is removed, a document with mixed content can change meaning — check the result if yours has any.
{ } FAQ
Is my data uploaded to a server?
No. Everything runs locally in your browser — your files never leave your device.
Can I process more than one file at once?
This tool works on one input at a time.
Is this tool free?
Yes — it’s completely free and needs no sign-up.
How much smaller will it be?
It depends entirely on the indentation you started with. Deeply nested, well-indented XML can lose a third of its bytes; a document that was already on one line loses nothing.