Baseline Widely other
Base64 encoding and decoding
The atob() and btoa() global functions encode and decode strings to and from base 64, respectively.
Baseline Status
Widely Available
Since 2016-09-20
First Core Launch
Firefox 4
2011-03-22
Core-3 Stability
2,009d (5.5y)
Last: Safari (2016-09-20)
BCD Keys Mapped
4
Group: other
Browser Support Timeline
Browser Support Releases
| Browser | Type | Version | Release Date |
|---|---|---|---|
| Firefox | desktop | 4 | 2011-03-22 |
| Firefox for Android | mobile | 4 | 2011-03-29 |
| Chrome | desktop | 30 | 2013-10-01 |
| Chrome Android | mobile | 30 | 2013-10-02 |
| Edge | desktop | 12 | 2015-07-29 |
| Safari on iOS | mobile | 10 | 2016-09-13 |
| Safari | desktop | 10 | 2016-09-20 |
Constituent MDN BCD Keys (Sample)
| BCD Key | Area | Core-3 TTA |
|---|---|---|
| api.atob | DOM API | 1,903d (5.2y) |
| api.atob.worker_support | DOM API | 2,009d (5.5y) |
| api.btoa | DOM API | 1,903d (5.2y) |
| api.btoa.worker_support | DOM API | 2,009d (5.5y) |