Answers for "how to convert object into base64 encoded string javascript browser"

24

javascript base64 encode

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
Posted by: Guest on July-31-2019
2

javascript encode base64

const encoded = window.btoa('Alireza Dezfoolian'); // encode a string
const decoded = window.atob(encoded); // decode the string
Posted by: Guest on March-04-2020

Code answers related to "how to convert object into base64 encoded string javascript browser"

Code answers related to "Javascript"

Browse Popular Code Answers by Language