

Str = atob(base64) // IE 10- Requires the introduction of base64.js Str = new String(new BASE64Decoder().decodeBuffer(base64))

"str" indicates the original text and "base64" indicates the encoded result. Methods of Base64 decoding in various programming languages The extra 65th character (=) is used for padding. The first 64 characters out of the 65-character subset are mapped to an equivalent 6-bit binary sequence (2 6 = 64). Base64 Wikipedia page.īase64 encoding works with a 65-character subset of the US-ASCII charset. To learn more about Base64, please visit Base64 Wikipedia page. For encoded binaries (like images, documents, etc. It is used to transfer data over a medium that only supports ASCII formats, such as email messages on Multipurpose Internet Mail Extension (MIME) and Extensible Markup Language (XML) data.īase64 is also known as Base64 Content-Transfer-Encoding. Simply enter your data then push the decode button. output (includes newline): Aladdin:open sesame. echo echo QWxhZGRpbjpvcGVuIHNlc2FtZQ base64 -decode. What is Base64?īase64 is an encoding and decoding technique used to convert binary data to an American Standard for Information Interchange (ASCII) text format, and vice versa. Just use the base64 program from the coreutils package: echo QWxhZGRpbjpvcGVuIHNlc2FtZQ base64 -decode. Base64 encode your data without hassles or decode it into a human-readable format.

Otherwise, if you have a Base64 string, paste it into the Base64 field and press Decode. About Meet Base64 Decode and Encode, a simple online tool that does exactly what it says: decodes from Base64 encoding as well as encodes into it quickly and easily. If you need to encode a text to Base64, fill in the Text field and press Encode text to Base64 the result will appear in the Base64 field. You can type or paste any Base64 encoded data in the input text area and Base64 decoder will decode it into text. The Base64 online converter supports both functions of the algorithm on same page. This tool can save your time and help decode base64 data. Base64 decoder is an easy to use tool to decode base64 data into plain text.
