• Skip to main content
  • Skip to primary sidebar

Technipages

Smart phone, gadget and computer tutorials

  • Topics
    • Android
    • Gaming
    • Hardware
    • Internet
    • iOS
    • MacOS
    • Office
    • Software
    • Windows
    • Definitions
  • Product Reviews
  • Downloads
  • About
How to Base64 Encode and Decode in Notepad++

How to Base64 Encode and Decode in Notepad++

Posted on September 21, 2020 by Mel Hawthorne 2 Comments

One of the extra features built into Notepad++ is a Base64 encoder and decoder. Base64 is an encoding scheme that is designed to be a safe standard for transmission of binary data over channels that only reliably support text data. Base64 has 64 possible characters that the output can be encoded as a-z, A-Z, 0-9, “+”, and “/”. Base64 also uses the “=” symbol as a padding character on the end of the encoded data, where required. These characters are not used as meaningful or active characters in most text-based communication standards. This means that Base64 encoded data is safe and can’t accidentally do things like close HTML tags.

How to Base64 encode and decode in Notepad++

To encode or decode Base64 data you need to first highlight the entire range of data you want to be encoded or decoded. Next, click on “Plugins” in the top bar, then “MIME Tools”. In the second level of the menu you can see all of the Base64 encode and decode options.

Tip: The encoders only work on selected data, make sure you highlight all the data you want encoded first.

Ensure you highlight the data to be processed before clicking “Plugins”, then MIME Tools”, and selecting a process.

“Base64 Encode” encodes all of the selected data into one Base64 string but omits the padding character even if it’s needed. This could cause compatibility issues with some Base64 decoders.

“Base64 Encode with padding” encodes all selected data but includes the padding where it’s needed. “Base64 Encode with Unix EOL” specifically uses an “End Of Line” (EOL) character used by Unix systems, rather than the default Windows EOL. This can be helpful if a Unix Based command-line decoder is failing to decode the data.

“Base64 Encode by line” encodes each separate line of data into a separate Base64 string. “Base64 Decode” decodes a single Base64 encoded string but may show corrupted output if there are unexpected characters. “Base64 Decode strict” decodes a single Base64 string but will throw an error message if an unexpected character is detected, such as “&”.

“Base64 Decode by line” can decode multiple separate Base64 strings at once if they’re on new lines.

You Might Also Like

  • How to Set Notepad++ to Be Always on TopHow to Set Notepad++ to Be Always on Top
  • How to Add Plugins to Notepad++How to Add Plugins to Notepad++
  • Notepad++: How to Use "Column Mode"Notepad++: How to Use "Column Mode"
  • Troubleshooting Notepad++ Not SavingTroubleshooting Notepad++ Not Saving
  • How to Generate a Hash in Notepad++How to Generate a Hash in Notepad++
  • Fix Notepad++ Not Showing Search ResultsFix Notepad++ Not Showing Search Results
  • Notepad++ Cannot Open Large FilesNotepad++ Cannot Open Large Files
  • How to Enable Word Wrap in Notepad++How to Enable Word Wrap in Notepad++
  • How to Configure the Syntax Highlighting in Notepad++How to Configure the Syntax Highlighting in Notepad++

Filed Under: Software

Reader Interactions

Comments

  1. MikeG says

    January 7, 2021 at 11:27 am

    This was very useful. I was having a problem with the context pop up menu in notepad++ Base64 encode, it was not including the padding. Using the Settings > Edit Popup ContextMenu in npp I added a new line directly below the existing Base64 Encode to use the with Padding option. That did the trick.

    Added this: (tags omitted as it won’t show otherwise)
    Item FolderName=”Plugin commands” PluginEntryName=”MIME Tools” PluginCommandItemName=”Base64 Encode with Padding”

  2. MikeG says

    January 7, 2021 at 11:25 am

    This was very useful. I was having a problem with the context pop up menu in notepad++ Base64 encode, it was not including the padding. Using the Settings > Edit Popup ContextMenu in npp I added a new line directly below the existing Base64 Encode to use the with Padding option. That did the trick.

    Added this:

Did this help? Let us know! Cancel reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Primary Sidebar

Recent Posts

  • Slack: How to Change the Description of Your Role
  • Google Duo: How to Prevent People from Being Able to Use Your Email Address to Contact You
  • How to Fix Microsoft Teams Error caa70004
  • Fix Skype Keeps Disconnecting on PC
  • Fix Microsoft Teams Not Displaying Images and GIFs
  • Can’t Connect to Google Play? Try These Useful Tips
  • How to Fix Zoom Error Code 614
  • Google Duo on Android: How To Enable Low-Light Mode

Who’s Behind Technipages?

Baby and Daddy My name is Mitch Bartlett. I've been working in technology for over 20 years in a wide range of tech jobs from Tech Support to Software Testing. I started this site as a technical guide for myself and it has grown into what I hope is a useful reference for all.

Follow me on Twitter, or visit my personal blog.

You May Also Like

© Copyright 2021 Technipages · All Rights Reserved · Privacy