Encode / decode Base64
Encode or decode text in Base64, entirely in your browser.
What is Base64 used for?
Base64 is mostly useful to developers: embedding a small image directly in CSS or HTML as data:image/png;base64,... to avoid an extra network request, inspecting the payload part of a JWT token (which is precisely Base64-encoded), or debugging binary data (a key, a certificate, an API attachment) received in this form in an application's logs.
Is Base64 a form of encryption?
No. Base64 is just an encoding: it turns binary data into text readable by systems that only accept ASCII characters, but it doesn't protect anything at all. Anyone can decode Base64 instantly, without a password or key. To protect sensitive data, you need a real encryption algorithm (AES, etc.), not Base64.
Why is my decoded text unreadable?
If the decoding result shows strange characters, it usually means the encoded string originally represented binary data (an image, a compressed file, a cryptographic key) rather than plain text. The decoding works correctly, but the result simply isn't meant to be read as-is.
100% local processing in your browser (WebAssembly) — nothing is sent to a server.