Base64 Encoder & Decoder
Encode text as Base64 and decode Base64 back to UTF-8.
Base64
How Base64 encoding works
Example
EncodeLab is private. RW5jb2RlTGFiIGlzIHByaXZhdGUu - Base64 represents binary bytes with a set of 64 printable ASCII characters.
- It is commonly used in email, data URLs, API payloads, and configuration files.
- Base64 is an encoding, not encryption, and does not protect secret information.
Related tools
ASCII Converter Convert text and decimal character code points in either direction. Hex Converter Translate text and hexadecimal UTF-8 bytes in either direction. Text to Binary Converter Convert words, symbols, and emoji into UTF-8 binary bytes. Caesar Cipher Encode and decode Caesar-shifted text with an adjustable key. Caesar Cipher Decoder Decode Caesar-shifted text and compare all 25 possible keys.
Frequently asked questions
Is Base64 encryption?
No. Anyone can decode Base64, so it should not be used to protect secrets.
Is my input uploaded?
No. EncodeLab performs this conversion locally in your browser. Your input is not sent to an EncodeLab server or stored by us.
Does this support emoji?
Yes. Text is encoded as UTF-8 before Base64 conversion.
Why does Base64 sometimes end with =?
Equals signs pad the final encoded group when the byte count is not divisible by three.