Base64 Encoder & Decoder – Free Online Tool

Encode text to Base64 or decode Base64 to text. Also supports image and file encoding.

Plain Text
Base64
🖼️

Drag & drop an image or click to browse

Supports JPG, PNG, GIF, WebP

📁

Drag & drop a file or click to browse

Any file type supported

How to Use Base64 Converter

  1. Select the tab for your input type (Text, Image, or File)
  2. Enter text or upload a file
  3. Click Encode to convert to Base64, or Decode to convert from Base64
  4. Copy the result

What is Base64?

Base64 is a binary-to-text encoding scheme that represents binary data in an ASCII string format. It's commonly used for:

  • Email: Encoding attachments
  • Data URLs: Embedding images in HTML/CSS
  • APIs: Transmitting binary data in JSON
  • Authentication: Basic HTTP authentication

Features

  • Text Encoding: Convert any text to Base64
  • Text Decoding: Convert Base64 back to text
  • Image Support: Get data URLs for images
  • File Support: Encode any file type
  • Privacy: All processing in your browser