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 Top answer 1 of 9
1057
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.
2 of 9
60
Install Tidy2 plugin. I have Notepad++ v6.2.2, and Tidy2 works fine so far.
Videos
38:26
HTML For Beginners Full Course: Create a simple Basic ...
01:20
How to format XML using notepad++ | Formatting XML | XML Beautifier ...
02:35
✏How to use Notepad++ as an Html editor - YouTube
03:21
HTML Tidy in Notepad++: Beautify and Format HTML5 Code (With Example) ...
02:31
Notepad++ auto indentation | how to indent html tags in notepad++ ...
GitHub
github.com › tomFlidr › Notepad-HTML-JS-Formater-Plugin
GitHub - tomFlidr/Notepad-HTML-JS-Formater-Plugin: Notepad++ HTML JS Formater (deobfuscator) Plugin for jN Plugin (JScript plugin, originaly: 'npp scripting') · GitHub
Starred by 19 users
Forked by 13 users
Languages JavaScript
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.
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">
Super User
superuser.com › questions › 1058730 › notepad-html-format
Is there a plugin to set HTML 5 automatically in Notepad++? - Super ...
Goto Notepad ++ --> Language --> H --> HTML.
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.
GitHub
github.com › hh-lohmann › Notepad-JS-HTML-Beautifier-Plugin
GitHub - hh-lohmann/Notepad-JS-HTML-Beautifier-Plugin: Notepad++ JS HTML Beautifuller Plugin for jN Plugin (Javascript plugin, old name: npp scripting) · GitHub
Starred by 19 users
Forked by 7 users
Languages JavaScript
W3Schools
w3schools.com › html › html_editors.asp
HTML Editors
... Also change some preferences to get the application to save files correctly. In Preferences > Format > choose "Plain Text" Then under "Open and Save", check the box that says "Display HTML files as HTML code instead of formatted text".
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 ...

