Base64 Encoder / Decoder

Encode text to Base64 or decode Base64 back to text. UTF-8 safe and base64url variant supported.

Enter input above to see the result.

What Base64 actually does

Base64 turns arbitrary bytes into 64 ASCII characters (A–Z, a–z, 0–9 plus two extras). Three input bytes become four output characters, so the result is roughly 33% larger than the input. It's an encoding, not encryption — anyone can decode it.

When to use Base64

Standard vs base64url

Common gotchas