There are multiple ways you can intent (format or prettify) the content of an HTML file in Notepad++ text editor, let us take a look at a few of the plugins
1. Using XML Tools
As HTML is a special form of XML you can make use of the XML Tools to format your HMTL code.
Go to Plugins -> XML Tools -> Pretty Print
How to install XML Tools in Notepad++
2. Using "Indent by Fold" Tools
Go to Plugins -> Indent by Fold -> Reindent File
Note: You will need to install the "Indent by Fold" plugin using the Plugin Admin to use it.

Before Indent HTML file in Notepad++

After Indent HTML file in Notepad++
-
Have Questions? Post them here!
More Posts related to NotepadPlusPlus,
- Notepad++ Editor alternatives for macOS
- How to add or remove bookmark on a line in Notepad++
- Notepad++ do not show CRLF characters
- Reduce the size of Tabs on Notepad++
- Delete blank lines in a file using Notepad++
- Fix: Notepad++ bottom status bar not visible
- Notepad++ Hex Editor
- How to show End of Line Characters in File using Notepad++
- [Tutorial] Write And Run Python Code In Notepad++ Editor
- How to install XML Tools Plugin Notepad++
- Customizing Notepad++ New Document Line Encoding: CR/LF/CR LF
- How to remove blank lines from a file using Notepad++
- Column Mode Editing in Notepad++
- Convert text to random case using Notepad++
- How to recover unsaved notepad file Windows 10
- How to delete all text after a character or string in Notepad++
- Setting up Cloud feature with Notepad++
- Install Notepad++ silently using Windows Powershell
- Using Document Map in Notepad++
- Enabling Notepad++ Dark Theme
- [Fix] Notepad++ tab not visible (hidden)
- Where are Notepad++ macros stored?
- Multiple line editing in Notepad++
- Alternatives for Notepad++ on Mac in 2021
- [Nopepad++] How to add text at end of each line
More Posts:
- How to Save Eclipse console logs in external log file - Eclipse
- Cannot start Android Studio. No JDK found - Android-Studio
- Write javaScript code in Swedish using FikaScript - JavaScript
- How to Show Path of Files or App in Mac Spotlight Search - MacOS
- Sublime Text 3 Convert Case to Upper, Lower, Title or Swap - Sublime-Text
- SharePoint List redirect user after submitting form NewForm.aspx - SharePoint
- How to take Screenshot on Android device - Android
- 13.0 MacOS Ventura release date - MacOS