Answers for "browser decode base64 js"

0

javascript base64 decode

// Define the string
var string = 'Hello World!';

// Encode the String
var encodedString = btoa(string);
console.log(encodedString); // Outputs: "SGVsbG8gV29ybGQh"

// Decode the String
var decodedString = atob(encodedString);
console.log(decodedString); // Outputs: "Hello World!"
Posted by: Guest on November-14-2020
2

javascript base64 decode

var decodedString = atob(encodedString);
Posted by: Guest on May-14-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language