Online Base64 encoder/decoder

Encode or decode your data to/from the Base64 format

What is Base64 encoding?

Base64 is a binary-to-text encoding scheme that transforms binary data into a sequence of characters limited to a set of 64 unique ASCII characters. Base64 is designed to transport data stored in binary format (such as images) over systems that are designed to only handle data in a plain-text format. Base64 is also used to encode email attachments.

How does Base64 encoding work?

Base64 encoding works by converting a binary string to a 64-character subset of the ASCII character set. The 64 characters in the subset are common to most encodings and printable. They are comprised of 26 lowercase letters, 26 uppercase letters, 10 numbers, and the "+" and "/" symbols. The "=" symbol is also used as padding at the end of the encoded string.

Example of a Base64 encoded string:
The above-encoded string is decoded to the following binary string:
Hello world!