How to use the Base64 Encoder/Decoder
- Choose Encode or Decode.
- Paste your text (or Base64 string) into the input box.
- View the converted result instantly, and copy it with one click.
How Base64 encoding works
Base64 encoding takes input data 3 bytes (24 bits) at a time and re-groups those bits into four 6-bit chunks, each mapped to one of 64 characters (A–Z, a–z, 0–9, + and /). Because 6-bit chunks can only represent 64 distinct values, this scheme avoids characters that different systems (like older email protocols) might interpret unpredictably. Padding with '=' is added when the input length isn't a multiple of 3 bytes.