![]() |
VOOZH | about |
The Window atob() method is used for decoding a base-64 encoded string. It is used to decode a string of data which has been encoded using the btoa() method. It returns a string which represents the decoded string.
Syntax :
window.atob(EncodedString)
Parameters Used :
Below program illustrates the Window atob() Method :
Decoding a string encoded using the btoa() method.
Output:
👁 Image
After clicking the button:
👁 Image
Supported Browsers: The browser supported by Window atob( ) Method are listed below: