Base64 Decode and Base64 Encode text and files online

Enter the text you wish to base64 encode in the first box and it will be converted into the base64 encoded output in the second box.

Alternatively paste some base64 encoded data in the second box and the decoded data will appear in the first box.

Base64 encode a file

If you have a file to base64 encode swtch the radio button to file and drag and drop your file or use the button to select it. The file encoder will give you options to get the raw Base64 encoded value, retrieve it with the mime type intact or if you are looking to embed it straight into an HTML page you can choose the base64 encoded downloadable file link (a tag).

Image to Base64

If you have a file to base64 encode swtch the radio button to file and drag and drop your image or use the button to select it. If you are looking to embed it straight into an HTML page you can choose the base64 enoded image tag

Please note it is not recommended to use embeded images or link with encoded data when the file is over 1.5mb in size.

Text InputFile Input

Base64 Decode Text

Base64 Encode Text

Drag your file/s here

Base64 encode

Simply put base64 encoding is a means of transforming binary data into a form in which it can be viewed using commonly printable and viewable characters. These charaters are the lowercase and uppercase a-z characters the numeric 0-9 the + sign, the / and the = sign. Base64 decoding is simply the reverse and takes the converted data and transforms it back into its original form.