Base64 Encoder / Decoder
Free Base64 encoder and decoder: Convert text to Base64 and back in your browser. Choose UTF-8, ASCII, Windows-1252, ISO-8859, Big5, and more. No data is uploaded.
| Text content | w | e | b | |||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ASCII | 119 | 101 | 98 | |||||||||||||||||||||
| Bit pattern | 0 | 1 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 0 |
| Index | 29 | 54 | 21 | 34 | ||||||||||||||||||||
| Base64-encoded | d | 2 | V | i | ||||||||||||||||||||
web → d2Vi
Related Dev Tools
Frequently Asked Questions
What is Base64?
Base64 encodes binary or text data as ASCII characters. It is commonly used in data URLs, email attachments, HTTP basic auth, and API payloads. Every 3 bytes (24 bits) become 4 Base64 characters — for example, web encodes as d2Vi.
Which character encodings are supported?
Popular options include UTF-8, ASCII, ISO-8859-1, ISO-8859-2, ISO-8859-6, ISO-8859-15, and Windows-1252. Others include Big5, CP850, CP866, GBK, Shift_JIS, EUC-KR, KOI8-R, and UTF-16. The encoding is used to turn text into bytes before Base64 (and back again when decoding).
Does this support Unicode / Hindi / emoji?
Yes, when Character encoding is set to UTF-8 (the default). Other encodings can only represent their own character sets — for example ASCII cannot encode Hindi or emoji.
Is my data uploaded?
No. Encoding and decoding run entirely in your browser.