Fastils

Contact

Base 64 Decoder

Quickly decode your Base64 encoded strings back into plain text or binary data with our free online Base64 Decoder. This tool is essential for developers needing to read data that has been encoded for safe transmission over text-based protocols. For your privacy, all processing happens right in your browser. Your data is never sent to us or logged. (looking for encoding?)

What is Base64 Decoding?

Base64 decoding is the process of converting a string of ASCII characters back into its original binary or text format. It reverses the encoding scheme that represents data in a radix-64 representation.

How Base64 Decoding Works

When you decode Base64, the process takes groups of four characters from the encoded string and converts them back into the original three bytes of data. This is the inverse of the encoding process used to ensure data integrity during transport over systems that only support text.

The decoder looks at the Base64 index table to map each character back to its 6-bit value. These bits are then concatenated and split into 8-bit bytes. If the encoded string ends with = or ==, these are padding characters used to ensure the encoded data fits the required length, and they are discarded during the decoding process.

Base64 Index Table (RFC 4648)

IndexBinaryCharIndexBinaryCharIndexBinaryCharIndexBinaryChar
0000000A16010000Q32100000g48110000,
1000001B17010001R33100001h49110001-
2000010C18010010S34100010i50110010.
3000011D19010011T35100011j51110011/
4000100E20010100U36100100k521101000
5000101F21010101V37100101l531101011
6000110G22010110W38100110m541101102
7000111H23010111X39100111n551101113
8001000I24011000Y40101000o561110004
9001001J25011001Z41101001p571110015
10001010K26011010a42101010q581110106
11001011L27011011b43101011r591110117
12001100M28011100c44101100s601111008
13001101N29011101d45101101t611111019
14001110O30011110e46101110u62111110+
15001111P31011111f47101111v63111111/
Padding: =

Other Tools