javascript base 64 decript code example Example: javascript base64 decode var decodedString = atob(encodedString);