Base64 to Text Converter

Type Base64 and get Text instantly — with every other encoding shown at the same time.

Edit any pane and the others update. Handles UTF-8 correctly — "é" is two bytes, which many quick converters get wrong.

How to convert Base64 to Text

Decoding reverses the process: every four Base64 characters map back to three bytes, and any trailing = padding is dropped. The resulting bytes are then interpreted as UTF-8 text. If the input has an invalid length or contains characters outside the Base64 alphabet it is not valid Base64, and if the decoded bytes are not valid UTF-8 the text cannot be shown exactly.

Worked example

Take the text Cat. In UTF-8 that is the three bytes 43 61 74.

  1. Write the bytes as 24 bits: 01000011 01100001 01110100.
  2. Regroup into four 6-bit values: 010000 110110 000101 110100 = 16, 54, 5, 52.
  3. Index the Base64 alphabet: Q, 2, F, 0.
  4. Result: Q2F0.

When the length is not a multiple of three, padding appears: Cats encodes to Q2F0cw==.

The Base64 alphabet

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

Frequently asked questions

How do I convert Text back to Base64?
Use the Text to Base64 converter, or just type into the matching pane above — every pane is editable and the others update to match.
Is my data sent to a server?
No. All encoding and decoding happens in your browser, so you can safely convert tokens, keys, or anything else sensitive.
Does this handle non-ASCII text?
Yes. Text is encoded as UTF-8, so accented letters, emoji, and non-Latin scripts convert correctly — the hex pane always shows you the exact bytes.