Toolbox for developers / Base 64 decoder / encoder

Base64 decode and encode

This tool allows you to encode and decode base 64 string. Copy and paste, drag and drop a text file or directly type in the editors above.

To encode to base64, fill in the editor "The binary string" and it's automatically encoded.

To decode a base64-encoded text, fill in the editor "The Base64 string" and it's automatically decoded.


The binary string
The Base64 string


About base64

Base64 is a binary-to-text encoding scheme, it encodes binary data in plain text, Base64 represents binary data in an ASCII string format. Each digit represents exactly 6 bits of data (2^6=64).

Base64 allows to transmit the data without loss or modification of the contents. It is useful for protocols that expect ASCII data.

Base64 encoding is not a way of encrypting!

Base64 encoding allows you to embed images right in your HTML, CSS, or JavaScript. If you want to encode an image, the image to base64 tool can interest you.

You can report a bug or give feedback by adding a comment (above) or by clicking "Contact us" link (at the top right hand corner of the page).

Comments





The tools are provided "as is", without warranty of any kind, either express or implied.