Home › Developer Tools › Base64 Encode & Decode
Base64 Encode & Decode
Convert text to Base64 and back, live as you type.
- Free & unlimited
- No sign-up
- Instant results
How to use the Base64 Encode & Decode
- Choose Encode or Decode.
- Type or paste your text.
- Copy the result.
What Base64 is
Base64 writes any data using only 64 safe characters (A–Z, a–z, 0–9, + and /). It is used to put binary data into text formats: email attachments, data URIs, JSON, basic-auth headers and JWT tokens. It is encoding, not encryption: anyone can decode it.
URL-safe Base64
Standard Base64 uses + and /, which have meaning in URLs. URL-safe Base64 replaces them with - and _ and drops the = padding. The decoder accepts both automatically.
Frequently asked questions
Does it support emoji and other languages?
Yes, text is encoded as UTF-8 so Bangla, Arabic, Chinese and emoji round-trip correctly.
Why does decoding show strange characters?
The Base64 probably contains a file (like an image), not text.
Is Base64 secure?
No, it only changes how data looks. Never use it to hide passwords.