Base64 encoder and decoder

How to use online base64 encoder and decoder tool:

  • Paste data you want to encode to the left textarea and press “Encode base64“.
  • Paste base64 code you want to decode to the right textarea and press “Decode base64“.
Data

Base64 code


What is Base64 encoding?

Base64 encoding is designed to make binary data survive transportation through layers that are not 8-bit clean, such as mail bodies. In standart 8-bit ASCII character set, there are 256 characters that are used to format text. However, only a fraction of these characters are actually printable and readable. Base64 encoding gives as a way to convert (encode) unreadable characters into readable ones, transport them (send in an email), and decode them back after transportation is done.

Base64-encoded data takes about 33% more space than the original data.

Base64 coding can be used in variety of contexts: transmit and store text that might over wise cause delimiter collision, store passwords hash computed with crypt, evade basic anti-spamming tools (spammers use), encode binary files such as images within scripts, to avoid depending on external files and etc.

This simple online tool is fully compatible with UTF-8 encoding.




Guide to Cosmos