Base64 alphabet contains 64 characters Basic ASCII which are used to encode data. Yes, that's right, just 64 characters is enough to encode any data, of any size.
Base64 alphabet characters can be grouped into four groups:
- Capital letters (0-25):
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
- Lowercase letters (26-51):
a B C D E F G H I J K L M N O p Q R S t U v w x y z
- Decimal digits (52-61):
0123456789
- Special symbols (62-63):
+/
Base64 encoding is case sensitive, so when trying to decode be aware that alphabet variations can alter your entire output.
The coding Base64 it is often used when there is a need to transfer and store binary data to a device designed to work with textual data. This encoding is widely used by applications in conjunction with the XML markup language, enabling the storage of binary data in text form.
Check out the complete tables of the groups mentioned above:
Capital letters
Index | Character |
---|---|
0 | THE |
1 | B |
two | Ç |
3 | D |
4 | AND |
5 | F |
6 | G |
7 | H |
8 | I |
9 | J |
10 | K |
11 | L |
12 | M |
13 | N |
14 | THE |
15 | P |
16 | Q |
17 | R |
18 | s |
19 | T |
20 | U |
21 | V |
22 | W |
23 | X |
24 | Y |
25 | Z |
Small letters
Index | Character |
---|---|
26 | The |
27 | B |
28 | ç |
29 | d |
30 | and |
31 | f |
32 | g |
33 | H |
34 | i |
35 | j |
36 | k |
37 | there |
38 | m |
39 | no |
40 | The |
41 | P |
42 | what |
43 | r |
44 | s |
45 | t |
46 | u |
47 | v |
48 | w |
49 | x |
50 | y |
51 | z |
digits
Index | Character |
---|---|
52 | 0 |
53 | 1 |
54 | two |
55 | 3 |
56 | 4 |
57 | 5 |
58 | 6 |
59 | 7 |
60 | 8 |
61 | 9 |
Symbols
Index | Character |
---|---|
62 | + |
63 | / |
for a post about encoding, containing this many typos is discrediting.
Hey Mave, sorry about that! Many of my old posts were translated using a plugin with google translate, so they are really off, I’ll fix this one. Sorry about that!