Base64 Converter

Encode/Decode Text and Convert Images to Base64.

Plain Text
Base64 Output

How to Encode/Decode Base64?

  1. Text Conversion: Type text to see the Base64 result (or decode Base64 back to text).
  2. Image Base64: Switch to "Image" tab and upload a file to get the Data URI (data:image/...).
  3. Toggle Mode: Use the switch to change between Encode and Decode modes.
  4. 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)

Start Learning →
📖 Guide 📌 Examples ❓ FAQ