Base64 Encoder & Decoder
Free Base64 encoder and decoder with full UTF-8 and emoji support and a URL-safe option. Convert text to Base64 and back in your browser.
Runs in your browser. Nothing you enter is uploaded.
How to use the Base64 Encoder & Decoder
- Choose Encode or Decode.
- Paste your text.
- Copy the result.
What is Base64?
Base64 represents binary data using 64 printable characters (A–Z, a–z, 0–9, + and /). It lets you carry bytes safely through systems built for text, such as email, JSON and URLs. It increases size by about 33%.
Base64 is not encryption
Anyone can decode Base64, so never use it to hide secrets. It is an encoding, not a security measure.
URL-safe Base64
Standard Base64 uses + and /, which have special meaning in URLs. The URL-safe variant replaces them with - and _ and drops the = padding. JWT tokens use this variant.
This tool encodes text as UTF-8 first, so accented letters and emoji round-trip correctly.
Frequently asked questions
How do I decode Base64?
Choose Decode, paste the Base64 string and read the text.
Is Base64 secure?
No. It is reversible by anyone and offers no protection.
Why does Base64 end with =?
Padding characters make the length a multiple of four.
Does it support emoji?
Yes, text is encoded as UTF-8.