Decodes Base64-encoded strings back to their original text or binary data, reversing the Base64 encoding process
The Base64 Decoder tool converts Base64-encoded strings back to their original text or binary data. Base64 is a binary-to-text encoding scheme that uses 64 printable characters, and this decoder helps you recover the original information from encoded strings.
This tool can decode standard Base64 format strings, automatically handling padding equals signs (=), and precisely restoring the encoded data to its original content. The decoded output supports UTF-8 encoded multilingual characters including Chinese, Japanese, and various binary data.
Base64 decoding is the reverse of the encoding process. First, the trailing padding equals signs (=) are stripped. Each Base64 character is then reverse-mapped to a 6-bit binary value, and groups of 4 characters (24 bits total) are converted back to 3 bytes of original data.
The process works as follows: each Base64 character's position in the alphabet table (0-63) is looked up. These 6-bit values are concatenated together and then split into 8-bit groups to restore the original byte sequence. Finally, the byte sequence is decoded as UTF-8 to produce the original string. If the original data contained non-UTF-8 encoded binary content, the raw byte data is output instead.
Input (Base64-encoded string):
SGVsbG8gOVl1biBBSSBUb29scw==
Output (decoded string):
Hello 9Yun AI Tools
Base64 Decoder is the reverse operation of Base64 Encoder. If you need to convert text to Base64 format, use the Base64 Encoder tool. As a fellow decoding tool, URL Decoder is frequently used alongside Base64 decoding in web development. For understanding character encoding fundamentals, the ASCII Lookup table provides valuable reference.