The Computer Oracle

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

--------------------------------------------------
Rise to the top 3% as a developer or hire one of them at Toptal: https://topt.al/25cXVn
--------------------------------------------------

Music by Eric Matyas
https://www.soundimage.org
Track title: Fantascape Looping

--

Chapters
00:00 How Can I Copy Binary Data In Windows (Preferably With Notepad++)?
00:23 Accepted Answer Score 21
00:43 Answer 2 Score 2
01:38 Thank you

--

Full question
https://superuser.com/questions/349345/h...

--

Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...

--

Tags
#windows #notepad++ #clipboard

#avk47



ACCEPTED ANSWER

Score 21


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++




ANSWER 2

Score 2


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