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