Base64 Encoder & Decoder
Convert text and files to Base64 encoding or decode Base64 strings back to their original format. Supports UTF-8 and ASCII encoding with file upload capabilities.
Encoding Options:
How to Use the Base64 Tool
Step-by-Step Guide
🔐 Encoding
- Enter text or upload a file (max 2MB)
- Choose encoding type (UTF-8 for special characters)
- Copy or download the Base64 result
🔓 Decoding
- Paste a valid Base64 string
- Verify encoding type matches the original
- Copy or download the decoded result
💡 Pro Tips
- Use UTF-8 encoding for text with special characters or emojis
- ASCII encoding is suitable for simple English text and is more compatible
- Base64 increases data size by approximately 33%
- Always verify the source when decoding Base64 from unknown origins
- File uploads are processed entirely in your browser for privacy
Base64 Examples
Simple Text Encoding
Original Text:
Hello World!
Base64 Encoded:
SGVsbG8gV29ybGQh
UTF-8 with Special Characters
Original Text:
Hello 🌍 UTF-8!
Base64 Encoded:
SGVsbG8g8J+MjSBVVEYtOCE=