Base64 Online encoder/decoder

How to use base64 encode/decode?

  1. Input your original text or encode base64 code.
  2. Click 'Encryption' button to encode, Click 'Decryption' button to decode.
  3. Click 'Copy' button to paste it into your clipboard.
  4. Click here for Image to base64.

What is base64 encode/decode?

  1. The online base64 decoding/encoding tool is a tool that can decode/encode strings into base64. It uses javascript and is simple and fast.
  2. Base64 encoding requires converting 3 8-bit bytes (3*8=24) into 4 6-bit bytes (4*6=24), and then padding two 0s in front of the 6-bit bytes to form an 8-bit byte. If the remaining characters are less than 3 bytes, they are padded with 0s, and the output character is '=', so 1 or 2 '=' may appear at the end of the text after encoding.
  3. In order to ensure that the output code is readable, Base64 has developed a code table for unified conversion. The size of the code table is 2^6=64, which is also the origin of the name Base64.
  4. This tool can be used to encrypt or decrypt the code in Base64 format. Base64 is one of the most common encoding methods used to transmit 8-bit byte codes on the Internet.

Base64 Conversion Table

The 64 printable characters include uppercase letters A-Z, lowercase letters a-z, numbers 0-9, a total of 62 characters, plus 2 more + and /.

 000001010011100101110111
000ABCDEFGH
001IJKLMNOP
010QRSTUVWX
011YZabcdef
100ghijklmn
101opqrstuv
110wxyz0123
111456789+/