TechWelkin

Base64 Encoder Tool

  1. Home
  2. Online Tools
  3. Base64 Encoder
Text / Unicode
Encoded Text

What is Base64?

In simple terms, Base64 is an encryption scheme that can render text data unreadable. That's for the layman. Now to be precise, Base64 is a binary to text encoding scheme. It represents binary data as ASCII character string. Each Base64 digit represents 6 bits of data.

Let's understand Base64 with an example.

Let's consider the letter T. If we convert this letter in binary, we get eight bit representation as 01010100

If we encode these binary strings into Base64, we get:

010101 00

This is because Base64 uses 6 bits to represent each binary string. If we consult Base64 table given below:

010101 = V

In order to make the binary again eight bit, zero bit 0000 are added to the right:

010101 000000

010101 = V
000000 = A

In Base64 empty octets are padded with = mark. In a three octets representation, the letter T occupies only one octet and the other two octets remain empty. These two empty bytes will be passded with ==

010101 000000 000000 000000

  V      A      =      =   

So T is equal to VA== in Base64.

Base64 as Encryption Method

Base64 encoding is not a very strong security measure because decoding it is very easy. As it is with encoding, TechWelkin Base64 Decoder can easily decode Base64 and break encryption. Therefore, this method should not be used if stakes are high. It can be used just to obfuscate ordinary text.

Base64 Table

Base64 and corresponding binary table.
IndexBinaryBase64
0000000A
1000001B
2000010C
3000011D
4000100E
5000101F
6000110G
7000111H
8001000I
9001001J
10001010K
11001011L
12001100M
13001101N
14001110O
15001111P
16010000Q
17010001R
18010010S
19010011T
20010100U
21010101V
22010110W
23010111X
24011000Y
25011001Z
26011010a
27011011b
28011100c
29011101d
30011110e
31011111f
32100000g
33100001h
34100010i
35100011j
36100100k
37100101l
38100110m
39100111n
40101000o
41101001p
42101010q
43101011r
44101100s
45101101t
46101110u
47101111v
48110000w
49110001x
50110010y
51110011z
521101000
531101011
541101102
551101113
561110004
571110015
581110106
591110117
601111008
611111019
62111110+
63111111/
padding=
TechWelkin Tools
?
?