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

  1. Enter text or upload a file (max 2MB)
  2. Choose encoding type (UTF-8 for special characters)
  3. Copy or download the Base64 result

🔓 Decoding

  1. Paste a valid Base64 string
  2. Verify encoding type matches the original
  3. 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=