Base64 Encoding and Decoding Tool

Base64 is a ASCII-text encoding. This means it can any binary data into a text string, or compress ASCII text into a text string. But other text encodings (like UTF-8 or UTF-16) can also be encoded (as they are binary data as well).

The Base64 alphabet uses 64 charaters: A-Z, a-z, 0-9, + and /. An additional character = is used for padding if necessary because of how it encodes data.

Conversion Examples:

TextBase64 representation
abcYWJj
aYQ==
https://kcode.de/tools/base64/aHR0cHM6Ly9rY29kZS5kZS90b29scy9iYXNlNjQv
¿wr8=

Convert to Base64 (Encode)

Input

Drop text or file here to convert it to base64

Output

Save as text file (UTF-8)

Convert from Base64 (Decode)

Input