Convert to Base64








File to Base64

Drag and drop a file here, or click to select a file.





Result:

String length is 0. With NULL termination the length is 1

Base64 Conversion Table

DecHexOctBase64
00x000o000A
10x010o001B
20x020o002C
30x030o003D
40x040o004E
50x050o005F
60x060o006G
70x070o007H
80x080o010I
90x090o011J
100x0A0o012K
110x0B0o013L
120x0C0o014M
130x0D0o015N
140x0E0o016O
150x0F0o017P
160x100o020Q
170x110o021R
180x120o022S
190x130o023T
200x140o024U
210x150o025V
220x160o026W
230x170o027X
240x180o030Y
250x190o031Z
260x1A0o032a
270x1B0o033b
280x1C0o034c
290x1D0o035d
300x1E0o036e
310x1F0o037f
320x200o040g
330x210o041h
340x220o042i
350x230o043j
360x240o044k
370x250o045l
380x260o046m
390x270o047n
400x280o050o
410x290o051p
420x2A0o052q
430x2B0o053r
440x2C0o054s
450x2D0o055t
460x2E0o056u
470x2F0o057v
480x300o060w
490x310o061x
500x320o062y
510x330o063z
520x340o0640
530x350o0651
540x360o0662
550x370o0673
560x380o0704
570x390o0715
580x3A0o0726
590x3B0o0737
600x3C0o0748
610x3D0o0759
620x3E0o076+
630x3F0o077/
Padding=

Base64 is a binary-to-text encoding scheme that represents binary data in a ASCII string format. It is commonly used to encode binary data, such as images, audio files, or other binary data, so that it can be easily transmitted over text-based protocols, such as email or HTTP. In Base64 encoding, each group of three binary bytes is represented as four ASCII characters, providing a compact representation of the original binary data. The resulting Base64-encoded string consists of a set of 64 different characters (hence the name), which include letters, numbers, and a few special characters. Base64 encoding is reversible, allowing the original binary data to be reconstructed from the encoded string. It is widely used in various applications, including data transmission, data storage, and cryptographic processes.