- https://bitbucket.org/rdipardo/htmltag/downloads
- https://github.com/rdipardo/nppHTMLTag/releases (mirror)
Note
v1.1.0 was the last release supporting ANSI versions of Notepad++
This plugin provides the following core functions (see the full list of commands below):
- HTML and XML tag jumping, synchronized tag renaming, and selection of tags with or without contents
- HTML entity encoding/decoding (example:
é
toé
) - JS character encoding/decoding (example:
é
to\u00E9
)
===================
Always check your Notepad++ version at “? > Debug Info” before installing plugins
Notepad++ 8.3 is the minimum required version for 64-bit releases of HTML Tag 1.2 and newer
You can safely use any 32-bit version of HTML Tag with any 32-bit version of Notepad++
===================
A builtin plugin manager is available in Notepad++ versions 7.6 and newer.
Find Plugins on the main menu bar and select Plugins Admin. Check the box beside HTML Tag and click Install.
New plugin versions are added to Plugins Admin only when a new Notepad++ release is published.
To use an updated plugin before release, or downgrade to an earlier version, simply replace the plugin’s DLL with another one.
Note
This assumes you have already found a compatible version from a trusted source
Extract the DLL and accompanying files to the plugins folder under %ProgramFiles%\Notepad++
(or wherever you’re running Notepad++ from).
For 32-bit versions, make sure the plugin folder is named HTMLTag_unicode
and the module is named HTMLTag_unicode.dll
.
Otherwise, the folder should be named HTMLTag
and the module HTMLTag.dll
.
Right-click on HTMLTag.dll
(64-bit), or HTMLTag_unicode.dll
(32-bit), and select Properties.
If the Unblock option is shown, click the checkbox and click Apply, then OK:
Restart Notepad++ if it’s already running.
Alt+T | to select the matching tag |
Alt+F2 | to select both matching tags — edits will be synchronized while the multiple selections are active |
Alt+Shift+T | to select both tags and the entire contents in between |
Ctrl+Alt+T | to select only the contents between tags |
Ctrl+E | to encode all selected non-ASCII characters to their HTML entities |
Ctrl+Alt+E | same as Ctrl+E, but encodes line breaks as well |
Ctrl+Shift+E | to dEcode all selected HTML entities |
Alt+J | to encode all selected non-ASCII character to their Javascript entities |
Alt+Shift+J | to dEcode all selected JS entities |
All commands are available under the Plugins menu item ‘HTML Tag’; the shortcut keys can be adjusted
with the shortcut mapper.
Add a command to close the open tag at the current location
Use the builtin Notepad++ feature- Add command to encode entities in the contents only (only apply encoding when not inside tags;
leave valid tags and entities alone) Add command to select tags only (and leave the contents out of the selection)
Added in 1.4.1- Make it play nice® with PHP & ASP tags (either highlight those separately or ignore them)
Add option to encode entities ‘as-you-type’Added in 1.4.0Add option to close tags ‘as-you-type’ (type ‘</’ and the rest will be inserted automagically)
Not needed if tag auto-closing is enabled in Notepad++drop down a list of tags after ‘<’drop down a list of attributes on space after a tag
Notepad++ can auto-complete many (X/HT)ML keywords