Base64 decode and encode

 
The binary string



The Base64 string



This base64 converter online 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:
Paste text in the editors above, select the file or drag and drop a file.
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.

User guide

How to Base 64 encode ?

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".

How to Base 64 decode ?

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 encoding are commonly used to transmit the data without loss or modification of the contents. It is useful for protocols that expect ASCII data. The sender encodes binary data to base 64 string, and the receiver decodes 64 string to binary 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, but it is the standard encoding. Encoding data is not encryption and should never be used to secure sensitive data!

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 (below) or by clicking "Contact me" link (at the top right hand corner of the page).

Comments