Ever pasted a Base64 string into atob() and gotten this?

Uncaught DOMException: Failed to execute 'atob' on 'Window':

The string to be decoded is not correctly encoded.

Enter fullscreen mode

Exit fullscreen mode