48

Is there a way to show the hexadecimal/ASCII for all text showing in the editor?

I use Windows XP and Notepad++ 6.3

Dirk Horsten
  • 245
  • 2
  • 13
mpajoh
  • 511
  • 1
  • 4
  • 4

6 Answers6

19

If you're just looking for non-standard character values, you can select View > Show Symbols > Show all characters.

Classical ASCII values below 32 will be shown with the names in the top right picture here. "HT" is the Tab character with ASCII value 09, "LF" is linefeed (newline character), and so on. But most of the rest will show a hex code for the value if it's not an actual visual symbol in the current encoding.

11

Here you can find a lot of plugins for Notepad++: http://sourceforge.net/projects/npp-plugins/

An hex-editor-plugin is along too: http://sourceforge.net/projects/npp-plugins/files/Hex%20Editor/

Peter Mortensen
  • 12,090
  • 23
  • 70
  • 90
p4553d
  • 271
  • 2
  • 7
6

In addition to the plugins mentioned above, there's the TextFX plugin (explained here: https://stackoverflow.com/questions/12699833/textfx-menu-is-missing-in-notepad )

With it, you can select TextFX Convert > Convert text to hex-16

Tom Shmaya
  • 61
  • 1
  • 2
4

I've found the HEX_Editor for Notepad++ x64.

https://github.com/chcg/NPP_HexEdit/releases

Doug LN
  • 41
  • 1
3

In fact there is a plugin that comes as an "HexEditor.dll" with 270336 byte in size. Copy it to "plugin" folder.

It works with 32-bit version of Notepad++ only. Looks like there is no 64-bit Version. Unfortunately NPP disables the plugin (moves to disabled folder) when upgrading NPP. It says there are known issues. I've never ran into those. it works fine for me. Sourcecode is available and one really should forge the code and redo some stuff. I recommend the use of free hex-editor "hxd" anyway for more than a quick view into the binary.

  • I found a sequence of chars that did not show up in Notepad++ show all symbols. They did show up in HxD. They are there shown as E2 80 8B. – Thor Hovden Apr 03 '18 at 08:52
  • 1
    [HxD](https://mh-nexus.de/en/hxd/) <-- I second that. See both hex and ASCII. Edit, insert, delete, save. It's dreamy. – Bob Stein Jun 05 '19 at 15:56
3

Doug LN's answer is the correct one and it has made my life so much easier. It is the 64 bit compliant plugin. To get it to work on actual versions e.g Notepad++ Version 7.8.5 64bit on Windows 10 (as far off from the time of OP's question):

  1. From https://github.com/chcg/NPP_HexEdit/releases download the x64 version: HexEditor_0.9.8_x64.zip (or whatever the latest version is)
  2. Extract HexEditor DLL to the notepad++ plugin directory (typically C:\Program Files\Notepad++\Plugins)
  3. Launch Notepad++, click PLUGINS| PLUGINS ADMIN...
  4. Find "HexEditor" in the list, select it, and click INSTALL
  5. Notepad++ should restart, if not, do so.
  6. Open binary file, then select PLUGINS | HEX-Editor and presto.
help-info.de
  • 1,822
  • 5
  • 17
  • 19
NoCake
  • 31
  • 1