How to use the Base64 Encoder/Decoder

  1. Choose Encode or Decode.
  2. Paste your text (or Base64 string) into the input box.
  3. 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.