XML Formatter / Minifier is a free online developer tool to beautifully format messed up XML code with your preferred indentation level or minify XML code to be compact for production.
This tool is split into two modes: XML Formatter
and XML Minifier
.
You can either browse an XML file locally from your device, fetch an XML file from a URL, or enter XML code manually.
XML Formatter - Formats messed up XML code to be more human-friendly and readable with your preferred indentation level whether it be space
or tab
.
XML Minifier - Minifies XML code by removing all the unnecessary whitespace characters and comments. Useful for production.
Once done, you can either copy the result to your clipboard using the copy button or download it as an XML file to your device.