BASE64 CONVERTER

Encode/decode text, files & images.

CLIENT
100% client-side

Everything runs locally in your browser. Your data never leaves your device - no uploads, no servers, no tracking.

All processing happens directly on your machine using JavaScript. Close the tab and everything is gone. We literally never see your data.

INPUT
OUTPUT

Conversion mode

Drop files here or start typing

TXT JSON XML
0 INPUT
0 OUTPUT
1.33x RATIO

Base64 character reference

Base64 uses 64 characters: A-Z, a-z, 0-9, + and /. The = symbol is used for padding.

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

Conversion analytics

0
CONVERSIONS
0
COPIED
0
CHARS PROCESSED
Text
FAVORITE MODE
0
AVG SIZE
100%
EFFICIENCY

How to use Base64 converter

Simple, fast, and secure Base64 encoding & decoding

Full Documentation Docs
1

Choose mode

Select Text or Image conversion

2

Input data

Enter text or upload your files

3

Get results

Copy or download the output

100% Private - Nothing stored
Real-time conversion
Text & Image support
Works on all devices

Why choose our Base64 converter?

The fastest, most secure Base64 tool online

Image statistics

Detailed image analysis: resolution, MIME type, file size, color channels, and bit depth for every conversion.

Swap functionality

Instantly reverse input and output. Convert encoded data back or switch conversion direction with one click.

Clipboard paste

Paste images directly from clipboard. Convert screenshots and copied images instantly without saving files first.

10+ image formats

Full support for JPG, PNG, GIF, WEBP, AVIF, BMP, TIFF, ICO, HEIC, and HEIF. Convert any image format to Base64 instantly.

50 MB file limit

Upload large files up to 50 MB. Drag & drop or click to upload for instant Base64 conversion.

Trim whitespace

Toggle to automatically remove leading and trailing whitespace for cleaner, more accurate conversions.

Frequently Asked Questions

Everything about Base64 encoding and decoding

What is Base64 encoding?

Base64 encodes binary data into text using 64 characters. It's mainly used in emails, HTML, CSS, and data transfer.

Is Base64 encryption?

No. Base64 is just encoding, not encryption. Anyone can decode it back to the original data.

How to decode Base64 online?

Paste your Base64 string into the tool, click Decode, and you'll instantly get the original text or file.

How to convert Base64 to text?

Use the Decode function. The tool converts Base64 back into readable text instantly, with one click.

How to encode a file to Base64?

Upload your file, select Encode, and the tool generates a Base64 string you can copy or download.

What image formats are supported?

We support 10+ formats: JPG, PNG, GIF, WEBP, AVIF, BMP, TIFF, ICO, HEIC, and HEIF. Files up to 50 MB are accepted. The output is a Base64 data URI ready for HTML or CSS.

Is my data safe with this tool?

Yes. Everything runs locally in your browser. Nothing is uploaded, nothing stored - your data stays 100% private.