Base64 Encode & Decode

Convert text to Base64 and back. Supports UTF-8. Everything runs in your browser.

ADSENSE LEADERBOARD — 728×90
Input
Waiting for input…
Output
No output yet
ADSENSE RECTANGLE — 336×280

What is Base64 Encoding?

Base64 is a binary-to-text encoding scheme that converts binary data into 64 printable ASCII characters. It is widely used in web development, email systems (MIME), and data storage to safely transmit binary data through text-only channels.

Common Use Cases

How It Works

Base64 takes every 3 bytes (24 bits) of input and splits them into 4 groups of 6 bits. Each 6-bit group maps to one of 64 characters: A-Z, a-z, 0-9, +, and /. The = character is used for padding. This means Base64-encoded data is approximately 33% larger than the original.

ADSENSE LEADERBOARD — 728×90