XML Beautifier

Format and beautify XML code

Format XML with proper indentation and spacing.

How to use

Paste XML and choose spaces or tabs to clarify its hierarchy. Enable attribute formatting preservation when you need to keep the original attribute ordering.

Related tools