Since I upgraded to 6.3.2, I use XML Tools.

  • install XML Tools via the Plugin Admin (Plugins → Plugins Admin... Then search for "XML Tools", check its box and click the "Install" button).
  • use the shortcut Ctrl+Alt+Shift+B (or menu → Plugins → XML Tools → Pretty Print)

In older versions: menu → TextFX → HTML Tidy → Tidy: Reindent XML.

Answer from remipod on Stack Overflow
🌐
SkillVertex
skillvertex.com › blog › format-html-in-notepad
Format Html In Notepad++
May 10, 2024 - To format HTML code, you can choose “Pretty print (XML only – with line breaks)” or “Pretty print (Text only – without line breaks)” depending on your preference. After selecting the appropriate formatting option, Notepad++ will ...
🌐
Itvedant
itvedant.com › home › web development › format html in notepad++
Format HTML in Notepad++ - Itvedant Blogs: Master Data Science, AI & IT Skills
July 8, 2025 - Not directly, but you can use plugins like Tidy HTML or XML Tools for automatic formatting. Use the Tab key manually, or use the XML Tools plugin to auto-indent. Notepad++ is lightweight and great for quick edits, while VS Code provides advanced ...
🌐
Notepad++ Community
community.notepad-plus-plus.org › topic › 20233 › xml-pretty-print-and-html
XML Pretty Print and HTML | Notepad++ Community
April 21, 2021 - To do that, download the appropriate .7z archive, unzip, and place the DLL in your 64-bit C:\program files\Notepad++\plugins\Tidy2\Tidy2.dll (or other appropriate folder if you didn’t install Notepad++ in the default location) ... @Дмитрий-Трошин On the same page there is a file quickref.html this is help for Tidy This file must be placed in the directory: \plugins\doc\Tidy2\quickref.html After that, the help will be available from the plugin menu))
🌐
FreeFormatter
freeformatter.com › html-formatter.html
Free Online HTML Formatter - FreeFormatter.com
This free online HTML formatter and validator lets you chose your indentation level and also lets you export to file
🌐
Notepad++ Community
community.notepad-plus-plus.org › topic › 26436 › is-there-any-plug-in-that-can-format-html-javascript-css-at-the-same-time
Is there any plug-in that can format HTML + JAVASCRIPT + CSS at the same time? | Notepad++ Community
December 8, 2024 - Sadly JSTool is not smart enough to reformat selected text while ignoring text that isn’t selected, and given that the maintainer seems relatively uninterested in the plugin nowadays, I doubt that feature will ever be implemented. Thus, it doesn’t seem like there’s any way to efficiently reformat JavaScript+HTML in Notepad++, and that’s before even considering the CSS.
🌐
JavaMadeSoEasy
javamadesoeasy.com › 2016 › 12 › how-to-format-html-in-notepad.html
JavaMadeSoEasy.com (JMSE): How to format HTML in Notepad++
STEP 5 : To format HTML in Notepad++ And HTML will be formatted like this > Having any doubt? or you liked the tutorial! Please comment in below section. Please express your love by liking JavaMadeSoEasy.com (JMSE) on facebook, following on google+ or Twitter.
Find elsewhere
🌐
Delft Stack
delftstack.com › home › howto › html › notepad format html
How to Format HTML in Notepad++ | Delft Stack
February 2, 2024 - Open the HTML file in Notepad++ that you want to format. Highlight the section of code you want to format. ... Go to the Plugins menu and select HTML Tidy. Choose the appropriate option for your formatting needs.
🌐
Notepad++ Community
community.notepad-plus-plus.org › topic › 12961 › how-to-html-beautify
How to HTML beautify ? | Notepad++ Community
December 23, 2016 - <!doctype html> <html lang="fr"> <head> <title>Page vide</title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <meta http-equiv="imagetoolbar" content="no"> <meta http-equiv="X-UA-Compatible" content="IE=edge">
🌐
Sourceformat
sourceformat.com › integrate-notepad.html
notepad++, format, formatter, beautify, beautifier, indent, indenter, code, source
Integrate SourceFormatX code formatter & code beautifier into Notepad++ code editor to format, beautify and indent C/C++, Java, C#, VB, VB.NET, PHP, ASP, Pascal, JavaScript, VBScript, HTML and XML source code within Notepad++ editor.
🌐
Dummies
dummies.com › article › technology › programming-web-design › general-programming-web-design › how-to-format-web-text-in-notepad-193038
How to Format Web Text in Notepad | dummies
July 1, 2025 - If you use Notepad to build your Web page you can use the HTML capabilities described here to format your Web page text. Formatting your text involves setting up headings, choosing fonts and font sizes, and adding other elements for emphasis.
🌐
Quora
quora.com › What-is-the-format-for-making-a-webpage-on-HTML-through-Notepad++
What is the format for making a webpage on HTML through Notepad++? - Quora
Answer (1 of 4): ( this line indicates the version of html i.e., whether you are using HTML or HTML 5 ) Sample Page 1. This is called Internal Style 2. this line indicates tha...
🌐
Notepad++ Community
community.notepad-plus-plus.org › topic › 17076 › auto-ident-function-in-html-page
auto-ident function in html page | Notepad++ Community
March 11, 2019 - install xml tools 2.4.11 using plugins admin on notepad++ 7.6 and above (or tell us if you need help on installing it on older versions) go to plugins > xml tools > pretty print (xml only - with line breaks) and your html file will be formatted ...