
Prerequisites To follow along with this article, you will need: An understanding of strings in JavaScript. In this article, you will be introduced to the btoa and atob JavaScript functions that are available in modern web browsers. Just paste your text to the input above and click to the button "Encode" or "Decode" and you will get your encoded/decoded data. In JavaScript, it is possible to use Base64 to encode and decode strings. This tool is useful for debugging and testing the decoding process, as well as for gaining a better understanding of how Base64 decoding works. Text before: WTOOLS - best web tools together!Īfter: V1RPT0xTIC0gYmVzdCB3ZWIgdG9vbHMgdG9nZXRoZXIh How it Works? Our online Base64 decode tool helps you to convert encoded data that has been encoded using the Base64 encoding scheme into its original form. The Base64 Encoder Online / Base64 Decoder Online tool was created to help with Base64 encode/decode online. The "standard" alphabet uses A-Z, a-z, 0-9 and + and /, with = as a padding character. It can decode pretty-printed multi-line base64 data as. In general, each 6 bits of the input is encoded in a 64-character alphabet. The atob () function decodes a string of data which has been encoded using Base64 encoding. With this tool you can convert data encoded in base64 to plain text. Concrete examples would be sending images in an XML file or in an email attachment. This combination leaves the data unlikely to be modified in transit through systems, such as email, which were traditionally not 8-bit clean.

To follow along with this article, you will need: An understanding of strings in JavaScript.

It supports multi-line, chunked base64 input and it strips all other whitespace. In JavaScript, it is possible to use Base64 to encode and decode strings. The particular choice of base is due to the history of character set encoding: one can choose a set of 64 characters that is both part of the subset common to most encodings, and also printable. With this tool you can easily decode base64-encoded data to UTF8 encoding. It is also used as a generic term for any similar encoding scheme that encodes binary data by treating it numerically and translating it into a base64 representation. Base64 Decoder is a simple online tool that decodes a Base64 encoded text easily and quickly into a human-readable format. The term Base64 refers to a specific MIME content transfer encoding.
