XML Formatter
Pretty-print and indent XML documents for readability.
100% client-side · no data leaves your browser
About this tool
Format messy XML into a clean, indented structure with an XML declaration prepended. Handles complex nested hierarchies.