Base64 Encoder / Decoder

Encode text to Base64 or decode Base64 strings instantly.

What Is Base64 Encoding?

Base64 is a binary-to-text encoding scheme that represents binary data using 64 ASCII characters (A–Z, a–z, 0–9, +, /). It was designed to transmit binary data over text-only channels such as email (MIME) and URLs.

When you encode text to Base64, each group of three bytes is converted into four Base64 characters. This makes the output roughly 33% larger than the input. The = padding character is added when the input length is not a multiple of three.

Common uses include embedding images in HTML/CSS via data URIs, encoding credentials in HTTP Basic Auth headers, and transmitting binary data in JSON APIs. Base64 is not encryption β€” it is easily reversible and provides no security.

Frequently Asked Questions

Related Tools & Resources

Popular tools that pair well with this one.