Base64 Encoder / Decoder

Encode or decode text and files to/from Base64 format. Essential for web development, API integration, and data transmission.

Encode File to Base64

About This Tool

Base64 is an encoding scheme that converts binary data into ASCII text. It's commonly used in web development, email attachments, and data URLs.

Common Use Cases

  • Embed images in HTML/CSS as data URLs
  • Send binary data through JSON APIs
  • Encode credentials for HTTP authentication
  • Store binary data in databases
  • Email attachments (MIME encoding)

How to Use

  1. Select "Encode" or "Decode" mode
  2. Enter text or upload a file
  3. Click the process button
  4. Copy or use the result

Important Notes

  • Base64 is NOT encryption - it's just encoding
  • Encoded data is about 33% larger than original
  • Anyone can decode Base64 - don't use for sensitive data

Privacy

All encoding/decoding happens in your browser. Files and text are never uploaded.