Base64 Encoding Online - Strings, Files and Images

Online tools to encode and decode Base64. Base64 file photo image encoding and decoding. UTF-8, Unicode Encoding.

Encode or decode your data to Base64 with Vivoldi′s very handy online tool.

Base64 is a generic term for a number of similar encoding schemes that encode binary data by numerically processing and converting it to a Base-64 representation.
The term Base64 comes from certain MIME content transfer encodings.

Base64 file encoding can encode any file, and in particular, it can encode image picture files so that the image can be retrieved from the HTML IMG tag as binary data only, without the file.

Encoding results:

Decoding results:

Download Encoded Files:

Download Decoded Files:

Have questions?
Find answers here.

The Base64 encoding scheme is commonly used when binary data needs to be encoded, especially when it needs to be transmitted over media designed to store data and process text.
This encoding helps to keep the data unmodified during transmission.

Base64 is commonly used in many applications, including storing complex data in XML or JSON, as well as email via MIME.

The selected Charset does not have the correct character type to encode or decode.

The history of Base64 began a long time ago, when engineers were arguing about how many bits to put in a byte.
Today, we use 8-bit bytes, but before that, 7-bit, 6-bit, and even 3-bit bytes were used.
When 8-bit encoding was approved as a standard, many systems used the old encoding and didn′t support the “new standard.” This caused some data to be lost during transfers between new and old systems.

For example, mail servers might discard the 8th bit when sending an email. Another problem was that mail servers could only transfer text, not binary data like images, videos, and archives.
So smart people developed an algorithm to solve these problems in a magical way. Of course, other binary-to-text encodings were developed over time, but Base64 was the most popular and used almost everywhere because of its simplicity, efficiency, and portability.

The algorithm was first described in 1987 in a document describing the PEM protocol. Since then, the algorithm has evolved and created a new standard that is actively used in the IT industry around the world.

Base64 is most commonly used to encode binary data (such as images or sound files) for insertion into HTML, CSS, Email, and other text documents.
Base64 is also used to encode data that might otherwise be unsupported or corrupted during transmission, storage, or output.

Some examples of where Base64 is applied:
  • Attaching a file when sending an email.
  • Embedding images in HTML or CSS via data URIs
  • Preserving raw bytes in cryptographic functions
  • Outputting binary data from API responses to XML or JSON
  • Storing binary files in a database when a blob is not available

Base64 is not an encryption algorithm, and should never be used to “hash” passwords or “encrypt” sensitive data, as it is a reversible algorithm and the encoded data can be easily decrypted.
Base64 can only be used to encode the raw result of a cryptographic function.
In other words, in terms of information security, Base64 is just a foreign language that some people don′t understand.

Vivoldi′s encoding and decoding tools are free for everyone to use.
From now on, you don′t need to download any software for these simple tasks.