https://en.wikipedia.org/wiki/Base64

Char Set

  • 64 base: a-z, A-Z, +, /
  • padding: =

Encoding

Base64 encoding would turn each 3 Bytes group ($38=24$) to 4 Bytes ($46=24$), where 6 bits = 2**6 = 64.

3 Bytes

2 Bytes

1 Byte

Example

Example