Base64 Encode / Decode
Encode text to Base64 or decode Base64 back to plain text. Supports Unicode. Runs entirely in your browser.
Output will appear here…
Frequently asked questions
What is Base64?
Base64 is a binary-to-text encoding scheme that represents binary data using a set of 64 ASCII characters (A–Z, a–z, 0–9, +, /). It is widely used for embedding images in HTML/CSS, encoding email attachments, and passing binary data through text-only channels.
Is Base64 encryption?
No. Base64 is encoding, not encryption. It is easily reversible and provides no security. Never use Base64 to protect sensitive data — use proper encryption instead.
Does this tool support Unicode and emoji?
Yes. The encoder uses encodeURIComponent + btoa to handle the full Unicode range including emoji, Chinese, Arabic, and all other scripts.
What does the '=' padding at the end mean?
Base64 works in groups of 3 bytes. If the input is not a multiple of 3 bytes, padding characters ('=') are added to complete the final group. One '=' means 1 padding byte; '==' means 2.
Can I use this for JWT tokens?
JWT uses Base64URL encoding (which replaces + with - and / with _). This tool uses standard Base64. You can use it to inspect JWT payloads but the output may include + and / characters.