๐ฃ Base64 Encoder & Decoder
Convert text to Base64 and back, instantly
How It Works
Enter text to encode it to Base64 format, or switch to decode mode and paste a Base64 string to convert it back to plain text. The tool auto-converts as you type and shows the character count difference. Use the swap button to quickly reverse the operation. Everything runs locally using the browser's built-in btoa/atob functions โ your data is never sent anywhere.
Frequently Asked Questions
What is Base64 encoding?+
Base64 converts binary data to ASCII text. It's commonly used in emails, data URIs, API authentication tokens, and embedding data in HTML/CSS.
Is Base64 encryption?+
No! Base64 is encoding, not encryption. Anyone can decode a Base64 string. Never use it to protect sensitive data.
Does it handle Unicode?+
Yes, the tool handles Unicode/UTF-8 text correctly for both encoding and decoding.
What is the output size?+
Base64 encoding increases size by about 33%. A 100-character input produces ~133 characters of Base64.
Can I encode images?+
This tool handles text. For image-to-Base64, use browser dev tools or a specialized converter.
Related Tools