Encoding Tools

Base64 Encoder/Decoder

Encode text and files to Base64 format or decode Base64 strings back to their original form. Perfect for data transmission and storage.

Input Text

Output

Statistics

Input Length: 0
Output Length: 0
Compression: 0%
Operation: -

About Base64

What is Base64?

Base64 is a binary-to-text encoding scheme that represents binary data in an ASCII string format. It uses 64 different characters (A-Z, a-z, 0-9, +, /) to encode data.

Common Uses

  • • Embedding binary data in text formats (HTML, CSS, JSON)
  • • Data transmission over text-based protocols
  • • Storing images in databases
  • • Email attachments

How it Works

Base64 encoding takes 3 bytes (24 bits) of binary data and converts them into 4 ASCII characters (6 bits each). This results in a 33% increase in data size, but ensures safe transmission through text-only channels.

Example:

"Hello" → "SGVsbG8="

5 bytes → 8 characters (with padding)

Features

Text Encoding

Encode and decode text strings to/from Base64 format.

File Support

Convert any file type to Base64 and back to original format.

Statistics

Get detailed information about encoding efficiency and data size.