Frogg logo

Frogg's web tools

Hand Crafted Tools

Home > Online scripts > Base64 Encoder & Decoder
Welcome on Frogg's web tools | Current date :
19/03/2024

Online Base64 Encoder & Decoder

Base64 is a group of similar binary-to-text encoding schemes that represent binary data in an ASCII string format by translating it into a radix-64 representation. The term Base64 originates from a specific MIME content transfer encoding.
The particular set of 64 characters chosen to represent the 64 place-values for the base varies between implementations. The general strategy is to choose 64 characters that are both members of a subset common to most encodings, and also printable. This combination leaves the data unlikely to be modified in transit through information systems, such as email, that were traditionally not 8-bit clean.[1] For example, MIME's Base64 implementation uses A–Z, a–z, and 0–9 for the first 62 values. Other variations share this property but differ in the symbols chosen for the last two values; an example is UTF-7. (source wikipedia)
Scripts are in pure javascript to prevent encoded/decoded Base64 storing which could be seen by server administrator.
  • 1. Select in tab encode or decode :
    If you want to encode or decode a Base64 string select the corresponding tab
  • 2. Copy your string :
    Copy your string to "Base64 string to decode/encode" area
  • 3. Start the process :
    Click on the "Base64 decode/encode" button to start encoding/decoding process
  • 4. Result :
    You can use the "copy result to clipbord" button to copy result
copy to clipboard JS Base64 encode/decode function
//Base64 decode
result = atob( base64string );

//Base64 encode
result = btoa( string );
Decode
Encode

Base64 decode

paste from clipboard
  • Place here your Base64 string to decode
copy result to clipboard
  • Base64 decoded string

Base64 encode

paste from clipboard
  • Place here your Base64 string to encode
copy result to clipboard
  • Base64 encoded string
Page created by the 09/09/2016 21:55
Generated in 0.001 sec & displayed in ... sec