Toolbox for developers / Base 64 decoder / encoder

Base64 decode and encode

This tool allows you to encode and decode base 64 string.

If you want convert image to base 64, you can use our Base64 image encoder.

Short user manual:
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.

You can see the full user guide to help you to use this base64 converter.


The binary string
The Base64 string




User guide

To convert binary data to base 64:

  • Drag and drop your binary file or copy / paste your binary data directly into the editor above.
  • You can also upload a binary file by clicking on "Browse" button
  • The converted data are directly display into the base 64 editor.
  • In order to download the results you must click on "Download" button.
  • You can also copy the result to the clipboard by clicking on the button "Copy to clipboard".

To convert base 64 data: It's analogous to the binary conversion.

About base64

Base64 is a binary-to-text encoding scheme, it encodes binary data in plain text.

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

Base64 represents binary data in an ASCII string format. A 65-character subset of US-ASCII is used. Each digit represents exactly 6 bits of data (2^6=64).
Base 64 Alphabet: a-zA-Z0-9+/
The extra 65th character "=" is used to signify a special processing function.

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.