Formatting code in Notepad++ May 20, 2023 by Tarik TextFX -> HTML Tidy -> Tidy: Reindent XML Remember to have the HTML code selected before you do this.