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
Ever pasted a Base64 string into atob() and gotten this? Uncaught DOMException: Failed to execute...
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

Last month I watched a teammate debug an auth bug by pasting a production JWT into the first "base64...

Run this in your browser console: btoa('café'); // 'Y2Fm6Q==' Enter fullscreen mode ...

You've got a JWT and you need to see what's inside it — which user it's for, what scopes it carries,...

Every developer pastes a data:image/png;base64,iVBORw0K... blob into their CSS at some point, decodes...

Why Sending Base64 Payloads to Online Converters is a Security Nightmare Stop pasting...

A JWT isn't just JSON you can inspect. It's a live bearer token. Here's a safer way to decode...