Encode Text into Base64 Online Tool
Overview
Converts text into Base64 encoded text. The binary encoding of the text is converted into Base64 format. As the data was already text to begin with, this conversion is a little redundant since the main usage of Base64 is to allow storage of binary data as text. Converting text to Base64 can be useful to visually obscure text while still allowing for easy decoding. Base64 is easily reversed and this obscuring is not cryptographically secure.
How to Use
1. Enter plain text into the input box.
2. Press the "Encode" button and the bytes of the text will be converted into Base64 encoded text characters.
3. Pressing the "Decode" button will convert Base64 encoded text in the output box back to the input box
About Base64
Base64 is a is a widely used method for converting binary data into a text format. Base64 converts binary bits into a set of 64 characters consisting of the 26 uppercase letters, the 26 lowercase letters, the 10 numeric digits and the characters + and /. An additional character = is used to indicate the presence of padding bits.
Character Encoding
The selection of character encoding affects how the input text characters are converted into binary data. As Base64 encodes binary data, selecting different text encoding for the input characters results in different Base64 output.
UTF-8 / ASCII |
UTF-8 is the 8-bit Unicode encoding. It is designed to be backwards compatible with ASCII encoding and encoded text will be identical to ASCII if only ASCII characters are used as input. |
UTF-16 |
UTF-16 is the 16-bit Unicode encoding. It is the standard encoding used for Strings in Java and Javascript. |
UTF-32 |
UTF-32 is the 32-bit Unicode encoding. Each character in UTF-32 has the same value as its codepoint. |