Decode64 - How To Base64 Decode Online

This Decode64 Online tool is used to decode64 string. Base64 Decode is a way to decode ASCII string format to binary. This decode64 encoding/decoding scheme is used when binary data needs to be stored and transferred over media.


Please Enter text to decode64 Base64





Why Decode64 ? How To Base64 Decode ? Why Base64 Encoding/Decoding is Required?

The dependence for Decode64 - Base64 encoding comes from the problems that occur subsequent to media is transmitted in raw binary format to text-based systems.

Since text-based systems (subsequent to email) add footnotes to binary data as a broad range of characters, including special command characters, much of the binary data that is transmitted to transfer media is misinterpreted by those systems and lost or corrupted in the transmission process.

One method of encoding this allowable of binary data in a pretentiousness that avoids such transmission problems is to send it as plain ASCII text in Base64 encoded format. This is one of the techniques employed by the MIME going on to all right to send data another than plain text.

Base64 Table

Value Char   Value Char   Value Char   Value Char
0 A   16 Q   32 g   48 w
1 B   17 R   33 h   49 x
2 C   18 S   34 i   50 y
3 D   19 T   35 j   51 z
4 E   20 U   36 k   52 0
5 F   21 V   37 l   53 1
6 G   22 W   38 m   54 2
7 H   23 X   39 n   55 3
8 I   24 Y   40 o   56 4
9 J   25 Z   41 p   57 5
10 K   26 a   42 q   58 6
11 L   27 b   43 r   59 7
12 M   28 c   44 s   60 8
13 N   29 d   45 t   61 9
14 O   30 e   46 u   62 +
15 P   31 f   47 v   63 /

Example : How To Base64 Decode

To hold Base64 digit we need 6 bits. So Three Byte data (24 bits) can hold upto four 6-bit Base64 digits.

If suppose you want to Tranfer below data in Base64 Format.
"Online Base64 Encode tool is used to Encode Text data into Base64 Format and Online Base64 Decode tool is used to decode Base64 string"

The above text can be encoded in Base64 format using

Base64 Encode Tool



Base64 Conversion:
"T25saW5lIEJhc2U2NCBFbmNvZGUgdG9vbCBpcyB1c2VkIHRvIEVuY29k ZSBUZXh0IGRhdGEgaW50byBCYXNlNjQgRm9ybWF0IGFuZ CBPbmxpbmUgQmFzZTY0IERlY29kZSB0b29sIGlzIHVzZWQgd G8gZGVjb2RlIEJhc2U2NCBzdHJpbmc="

Base64 encoded value for above text "Online" is "T25saW5l". We will take each character and find out its ASCII Value from above ASCII Table

Character ASCII Value Binary
O 79 01001111
n 110 01101110
l 108 01101100
i 105 01101001
n 110 01101110
e 101 01100101

6 Byte binary string would look Like 01001111 01101110 01101100 01101001 01101110 01100101. Now thase 6 Bytes Binary string will be grouped into 6 bits for Base64. Grouping would look like this : 010011 110110 111001 101100 011010 010110 111001 100101

6 Bit Binary Decimal Value Base64 Index Chracter
010011 19 T
110110 54 2
111001 57 5
101100 44 s
011010 26 a
010110 22 W
111001 57 5
100101 37 l

So Base64 Encode value for "Online" is "T25saW5l".