javascript base64 decode

JavaScript
var decodedString = atob(encodedString);
Source

Also in JavaScript: