How to Decode Base64 in the Browser Console
Published April 2025 · 2 min read
Open DevTools (F12) → Console tab → type:
Decode Base64
atob("SGVsbG8gV29ybGQ=")
// "Hello World"Encode to Base64
btoa("Hello World")
// "SGVsbG8gV29ybGQ="Decode UTF-8 (Non-English Characters)
decodeURIComponent(escape(atob("4pyTIERvbmU=")))
// "✓ Done"Decode a JWT Payload
JSON.parse(atob("eyJzdWIiOiIxMjM0In0"))
// {sub: "1234"}Easier Way
Use our Base64 Encoder/Decoder for a visual interface.