Base64 Converter
Encode/Decode Text and Convert Images to Base64.
Plain Text
Base64 Output
How to Encode/Decode Base64?
- Text Conversion: Type text to see the Base64 result (or decode Base64 back to text).
- Image Base64: Switch to "Image" tab and upload a file to get the Data URI (data:image/...).
- Toggle Mode: Use the switch to change between Encode and Decode modes.
- Copy: One-click copy for the resulting string, ready for HTML or CSS use.
Privacy Note: Base64 operations use browser APIs locally.
📚 Want to Master Base64?
7-chapter tutorial covering encoding principles to practical applications (Chinese)