HTML DOM Window atob( ) Method (original) (raw)

Last Updated : 15 Jun, 2023

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.

html `

Window atob() Method in HTML