Switch language: Simplified Chinese
base64 decoding/base64 encoding
Decode Base64 and encode it quickly and easily. Base64 encodes data in an easy way, or decodes it into a human-readable format.
Base64 encoding requires that 3 8-bit bytes (3 * 8 = 24) be converted into 4 6-bit bytes (4 * 6 = 24), and then two are added before the 6 bits to form an 8-bit word. If the remaining characters are less than 3 bytes, they are filled with 0, and the output characters use'=', so 1 or 2'=' may appear at the end of the output text after encoding.