Base64 Encoder
Encode and decode Base64 strings instantly in your browser.
① Paste text to encode ② Or paste Base64 to decode ③ Copy the result
What is Base64 encoding?
Base64 is a binary-to-text encoding scheme that represents binary data using 64 printable ASCII characters (A–Z, a–z, 0–9, +, /). It is widely used to embed images as data URIs in HTML and CSS, encode JWT tokens, transmit binary data in JSON APIs, encode PEM certificates, and handle MIME email attachments. In JavaScript, use btoa() to encode and atob() to decode — for Unicode text you need the encodeURIComponent wrapper, which this tool handles automatically. Note: Base64 is encoding, not encryption — anyone can decode it without a key.