Encode text to Base64 or decode Base64 back to text, entirely in your browser.
Base64 isn't encryption — it's a way to represent arbitrary binary data (or text) using only 64 printable ASCII characters (A–Z, a–z, 0–9, +, /), so it can be safely embedded in places that expect plain text, like JSON, URLs, or email. Anyone can decode it back instantly; it provides no confidentiality.
Common uses include embedding small images directly in CSS or HTML (data URIs), encoding email attachments, and representing binary tokens or credentials in text-based protocols and config files.
btoa/atob functions — nothing you type here is sent anywhere.Base64 represents every 3 bytes of input as 4 output characters, so encoded text is roughly 33% longer than the original.
Yes — text is converted to UTF-8 bytes before encoding, so non-English text and emoji round-trip correctly.
Pick another tool to jump straight to it.