Free Base64 Encoder / Decoder
Encode text to Base64 or decode Base64 strings instantly. Full Unicode and file support.
What is Base64 Encoding?
Base64 is a binary-to-text encoding scheme that converts binary data or text into a sequence of printable ASCII characters. It does this by representing every 3 bytes of input data as 4 bytes of output data. Base64 is commonly used in web development to embed image data directly into HTML or CSS, encode email attachments (MIME), and safely transmit data within JSON Web Tokens (JWTs) or URLs.
How to Use Our Free Base64 Converter
Encoding and decoding Base64 takes just seconds:
- Encode Text: Paste your text into the input box and click "Encode". The tool will instantly generate the Base64 string representation.
- Decode Text: Paste your Base64 string into the input box and click "Decode". The tool will convert it back to readable text.
- Encode Files: Drag and drop or upload a small file (like an image) to instantly generate a Base64 Data URI string.
- Swap: Click the "Swap" button to instantly move the output text back into the input box for reverse processing.
The Best Base64 Encoder with Unicode Support
Standard JavaScript Base64 functions often break when encountering emojis or non-Latin characters. Our tool uses advanced UTF-8 encoding and decoding methods, ensuring that your internationalized text and special characters are perfectly preserved. Everything runs locally in your browser—no data is sent to servers, ensuring maximum speed and privacy.