Louis
0
Q:

javascript base64 encode string

var string = "Hello folks how are you doing today?";
var encodedString = btoa(string); // Base64 encode the String
var decodedString = atob(encodedString); // Base64 decode the String
12
const encoded = window.btoa('Alireza Dezfoolian'); // encode a string
const decoded = window.atob(encoded); // decode the string
2
var decodedString = atob(encodedString);
0

New to Communities?

Join the community