Base64 Encoder / Decoder

Encode text to Base64 and decode Base64 back to text. UTF-8 safe, URL-safe option available.

Header Ad (728×90)

728×90 / Responsive

SGVsbG8sIERldlRvb2xzSHViISDwn5GLIOS9oOWlvQ==
Input: 25 charsOutput: 44 charsRatio: 176%

In-Article Ad

728×90 / Responsive

Frequently Asked Questions

What is Base64 encoding?
Base64 is a way to encode binary data into ASCII text, using 64 printable characters. It's commonly used to embed images in HTML/CSS, pass data in URLs, and more.
Why is Base64 larger than the original?
Base64 adds approximately 33% overhead (every 3 bytes become 4 characters). This is the trade-off for using only safe ASCII characters.
Can I encode non-ASCII text (Chinese, emoji)?
Yes. This tool handles UTF-8 properly. Any Unicode text including emoji and non-Latin scripts works correctly.
What is URL-safe Base64?
Standard Base64 uses + and / characters which are invalid in URLs. URL-safe Base64 replaces + with -, / with _, and removes padding.

You Might Also Like

Footer Ad (728×90)

728×90 / Responsive