Base64 Encoder & Decoder

Encode or decode UTF-8 text using standard Base64 or Base64URL.

Input

Operation
Alphabet

Output

How does Base64URL differ from standard Base64?

Base64URL uses - and _ where standard Base64 uses + and /. This tool omits padding in URL-safe output.

Encode 😀 in each mode, then switch to decode and paste each result using the same alphabet to recover the emoji. Results update as you type. In Standard mode, /w== is valid Base64 but its decoded byte is invalid UTF-8, so the tool reports a UTF-8 error.

Standard Base64
8J+YgA==
URL-safe Base64
8J-YgA