Back to Tools

Base64 Encoder/Decoder

Encode text to Base64 or decode Base64 back to text

0
Input Characters
0
Input Words
0
Output Characters
0
Output Words

Input

Output

About Base64 Encoding

Base64 is a binary-to-text encoding scheme that represents binary data in an ASCII string format. It's commonly used to encode data that needs to be stored and transferred over media designed to deal with text.

Common Use Cases:

  • Encoding images and files in data URIs
  • Sending binary data in XML or JSON
  • Storing complex data in databases
  • Email attachments (MIME)

How It Works:

Base64 converts every 3 bytes of binary data into 4 ASCII characters from a set of 64 different characters (A-Z, a-z, 0-9, +, /). This makes the data about 33% larger than the original, but ensures it can be safely transmitted.