Beautify or minify XML in one click, with instant well-formedness validation. Handles attributes, self-closing tags, CDATA, and comments — and everything runs entirely in your browser, so your data never leaves your device.
Input XML
Include the XML declaration if you have one — it will be preserved.