What is the Base64 Encoder and Decoder?
Base64 turns any data into plain letters, numbers, + and /. It is used in emails, data URIs, basic authentication headers and API tokens. Many simple tools break on Arabic or emoji; this one handles full UTF-8.
Encode or decode, with a URL-safe option (- and _ instead of + and /) for use in links and JWTs.
Features
Full UTF-8
Arabic, Chinese, emoji, everything.
URL-safe option
For links and tokens.
Private
Encoded in your browser.
How to use the Base64 Encoder and Decoder
- 1
Paste text or Base64.
- 2
Pick the direction.
- 3
Copy the result.
Who it is for
APIs
Build a Basic Auth header or read an encoded value.
Tips for better results
- Base64 is encoding, not encryption. Anyone can decode it.
Questions people ask
Why is the result longer?
Base64 makes data about a third larger.
Is Base64 encryption?
No. Anyone can decode it; it only makes data safe to send as text.