Base64 Encoder & Decoder
Encode text as Base64 and decode Base64 back to UTF-8.
Base64
How Base64 encoding works
Example
EncodeLab is private. Converted instantly in your browser - 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.
More encoding tools
Binary Translator Translate text and binary instantly. Everything stays in your browser. Binary Converter Convert binary and decimal whole numbers with arbitrary precision. Text to Binary Turn readable text into UTF-8 binary bytes. Binary to Text Decode valid 8-bit binary groups into readable text. Morse Code Translator Translate text to Morse code and decode Morse back to text. Hex Converter Translate text and hexadecimal UTF-8 bytes in either direction.
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.