Skip to main content
All tools








base64

Base 64 encoder and decoder

Instantly encode and decode base64 strings

About this tool

This tool allows you to encode and decode base64 strings.

It's commonly used for transmitting data over the web, textual representation of binary data, and cryptography.

What is base64 encoding?

Base64 encoding is a way to represent data in a clean and consistent way, and can be transmitted over text-only channels.

Some data used by computers may be represented in various ways, such as with many different characters (such as ASCII). However, some systems or protocols may not allow certain characters, or may have different character sets entirely. Encoding in base64 can ensure consistency and compatibility across multiple devices and communication channels.

Example

Encoding Hello! into base64 is SGVsbG8h

Benefits of Base64

  • Consistent across platforms and protocols.
  • Works with text-only protocols.
  • Good for computers and humans to transmit binary data.

Important notes

  • Base64 may expand the data size by 1/3rd.
  • Base64 does not encrypt the data.

Technical specifications

Base
Base 64
Characters
A–Z, a–z, 0–9, +, / (and = for padding).
Read more