How can I copy binary data in Windows (preferably with Notepad++)?

I want to duplicate some binary data. The normal Ctrl+C command doesn't work in my editor (Notepad++), it copies data only up to the first NUL char. Is there any workaround?


In the Edit menu of Notepad++ (I'm using v5.9.2) under Paste Special there are actions to Copy, Cut, and Paste Binary Content.

Submenu of Paste Special in Edit menu of Notepad++


The Notepad++ MIME Tools plugin and Base64 Encode/Decode feature can be used to copy small binary files (typically small jar or zip files) between remote systems using the clipboard.

  1. Open the Binary file binary1.bin in Notepad++
  2. Edit -> Select All (Ctrl+A)
  3. Plugins -> MIME Tools -> Base64 Encode
  4. Edit -> Select All (Ctrl+A)
  5. Edit -> Copy (Ctrl+C)
  6. Edit -> Undo (Ctrl+Z)
  7. Move focus to a new Notepad++ tab
  8. Edit -> Paste (Ctrl+v)
  9. Edit -> Select All (Ctrl+A)
  10. Plugins -> MIME Tools -> Base64 Decode
  11. File -> Save As... binary2.bin

Plugins -> MIME Tools -> Base64 Encode selected Plugins -> MIME Tools -> Base64 Decode selected