Online Base64 Encode & Decode Tool - Fast & Secure

Base64 encoding is widely used for data conversion, email attachments, and web development. With our free Base64 Encode & Decode Tool.

Text to Encode

0 characters

Base64 Output

0 characters

Base64 to Decode

0 characters

Decoded Output

0 characters

Encoding Options

About Base64 Encoding

Base64 is a binary-to-text encoding scheme that represents binary data in an ASCII string format by translating it into a radix-64 representation. It is commonly used when there is a need to encode binary data that needs to be stored and transferred over media that are designed to deal with text.

How Base64 Works

Base64 encoding converts binary data into a set of 64 different ASCII characters: A-Z, a-z, 0-9, +, and /. Each Base64 digit represents exactly 6 bits of data. This means that every 3 bytes of binary data (24 bits) can be represented as 4 Base64 digits (4 × 6 = 24 bits).

Common Uses of Base64

  • Email attachments (MIME)
  • Embedding images in HTML or CSS (data URIs)
  • Storing complex data in XML or JSON
  • Basic authentication over HTTP
  • Cryptographic functions

Base64 Character Set

The Base64 index table:

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

Padding character: =

Copied to clipboard!