Here's a simple example to help you understand base64 encoding. Let's take an author's name as the example. If we type btoa into our Google Chrome or any other web browser, it changes that name into something called base64 encoding. This matches the name we started with. And don't worry, this process isn't a one-way street. Just as we can change the name from a to b, we can also go from base64 back to ASCII. This is what we call commutative. Type in atob and we're back to the original name.
![](https://s2.save4k.ru/pic/uFo5Xe_31Og/maxresdefault.jpg)