Answers for "how to decode base64 in js"

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
1

base64_decode in js

// base64 to string
let base64ToString = Buffer.from(obj, "base64").toString();
base64ToString = JSON.parse(base
Posted by: Guest on August-18-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language