Base64 Encoder

Encode text or a binary file as base64-encoded text, using just your browser. View the encoded value or download it as a file. (You can use our client-side base64 decoder to try it out!)

Privacy and Confidentiality
This encoder runs entirely in the browser—it does not send any data to any server for encoding. Learn more.
What is Base 64 Encoding?

Base64 is a way of representing binary data in an ASCII string.

‘Base64 encoding’ is the process of transforming binary or text data into its base64 representation, a string of odd-looking text.

Wikipedia has a good expalanation of what base64 encoding and decoding involves.

Load the data to base64–encode from a file, then press the ‘Encode’ button:


Alternatively, type or paste in the text you want to base64–encode, then press the ‘Encode’ button.