🔤

Base64 Encoder/Decoder

Convenient Base64 converter with bi-directional encoding/decoding, customizable prefix, and live preview.

Input Text

Output Text

About This Tool

The Base64 Codec supports conversion for various data types. For text, it perfectly handles UTF-8 characters including Chinese; for images, it supports converting local images to Data URL format (with optional prefix), or decoding Base64 (supports multiple formats) back into a preview. This is a fully local tool, ideal for frontend development and debugging.

Features

  • 📝 Text Encoding/Decoding: Support Base64 conversion for Chinese and special characters
  • 🖼️ Image Encoding/Decoding: Convert between images and Base64
  • 🎛️ Prefix Option: Choose whether to include Data URI prefix
  • 👁️ Real-time Preview: Instantly view conversion results
  • 📋 One-click Copy: Quickly copy encoded results
  • 🔒 Privacy Protection: Local processing, no data upload
  • ⚡ Fast Conversion: Millisecond-level response speed