NATO Binary Convert

Base64 Encoding Reference

Complete Base64 alphabet with all 64 characters used in RFC 4648 encoding, plus examples of common Base64 encoded strings.

Index Character 6-Bit Binary
0 A 000000
1 B 000001
2 C 000010
3 D 000011
4 E 000100
5 F 000101
6 G 000110
7 H 000111
8 I 001000
9 J 001001
10 K 001010
11 L 001011
12 M 001100
13 N 001101
14 O 001110
15 P 001111
16 Q 010000
17 R 010001
18 S 010010
19 T 010011
20 U 010100
21 V 010101
22 W 010110
23 X 010111
24 Y 011000
25 Z 011001
26 a 011010
27 b 011011
28 c 011100
29 d 011101
30 e 011110
31 f 011111
32 g 100000
33 h 100001
34 i 100010
35 j 100011
36 k 100100
37 l 100101
38 m 100110
39 n 100111
40 o 101000
41 p 101001
42 q 101010
43 r 101011
44 s 101100
45 t 101101
46 u 101110
47 v 101111
48 w 110000
49 x 110001
50 y 110010
51 z 110011
52 0 110100
53 1 110101
54 2 110110
55 3 110111
56 4 111000
57 5 111001
58 6 111010
59 7 111011
60 8 111100
61 9 111101
62 + 111110
63 / 111111
= Padding

Common Base64 Encoded Examples

Plain Text Base64 Encoded
Hello SGVsbG8=
Hello World SGVsbG8gV29ybGQ=
SOS U09T
Test VGVzdA==
ABC QUJD

About Base64 Encoding

Base64 is a binary-to-text encoding scheme that represents binary data in an ASCII string format. It uses 64 printable characters to encode data, making it safe to transmit binary data over text-based systems.

Key Facts:

  • 64 character alphabet: A-Z, a-z, 0-9, +, /
  • Uses = for padding to ensure output length is multiple of 4
  • URL-safe variant uses - and _ instead of + and /
  • Expands data size by ~33% (3 bytes → 4 characters)

Base64 is commonly used for email attachments, data URLs, authentication tokens, and encoding binary data for storage or transmission over text-based protocols.