/

HTML / CSS / JavaScript Tutorial

JavaScript Window method: atob()

[this page | pdf | back links]

The atob() method (when applied to Window objects in the JavaScript BOM) decodes a base-64 encoded string (encoded using the btoa() method.

 

It has the following syntax with the following parameters. It returns the decoded string.

 

window.atob(str)

 

Parameter

Required / Optional

Description

str

Required

String which has been encoded using the btoa() method

 


NAVIGATION LINKS
Contents | Prev | Next | JavaScript DOM (and BOM)


Desktop view | Switch to Mobile