Home / Free tools / XML Formatter, Minifier and Checker
XML formatter and checker
Paste XML, choose Format, Minify or Check only.
About this tool
Format. Adds indentation so nested tags are easy to read. Choose 2 spaces, 4 spaces or a tab.
Minify. Removes the whitespace between tags to make the file smaller.
Check. Finds mismatched or unclosed tags. It is not a full schema validator.
Private. Everything runs in your browser. Nothing you type is uploaded or stored by us.
Frequently asked questions
Does it change the data?
Formatting and minifying only change whitespace between tags, not the content.
Why is my XML rejected?
Usually a tag is not closed or tags are closed in the wrong order. The message tells you which tag.
More free tools
Explore more free tools or see our services.