javascript decode base64 string code example Example: javascript base64 decode var decodedString = atob(encodedString);