Upload .xml files by dragging them into the drop zone or using the file browser. Choose **Format** to apply clean indentation or **Minify** to strip away unnecessary whitespace, then click **Process Files**. A real-time progress bar tracks each file, and a summary panel displays the total size reduction across the batch. Download all processed files with their original names in a single action.
Need to format a single XML snippet? Try the XML Formatter.
Drag and drop XML files here
or click to browse
Drag and drop .xml files onto the upload area, or click the box to open your system's file explorer. You can select multiple files at once by holding Ctrl (Windows/Linux) or Command (macOS). Once uploaded, each file appears in a list showing its name and size. You can remove individual files using the "×" button or use the Clear button to reset the entire list.
There are two available processing options:
Click Process Files to begin. The progress bar will update as each file is handled. Files containing syntax errors will be skipped and flagged in the list for your review. Once the batch is complete, a summary will display the number of files processed, the combined original and output sizes, and the overall compression percentage.
Click Download to save the processed files to your device. Each file keeps its original name. If your browser asks for permission to download multiple files, please approve the request to ensure the entire batch is saved.
Files with structural issues—such as unclosed tags, mismatched pairs, or other syntax errors—are skipped and marked with a warning icon. If this happens, fix the source file in a code editor and run the batch again. The final statistics only account for files that were successfully processed without errors.
Your data remains private. All formatting and minification tasks are executed via JavaScript directly in your web browser. Your files are never uploaded, stored, or sent to a remote server.