Base64 Encoder & Decoder

Encode and decode text, files, and images to/from Base64 format!

Features

Text Processing

  • • Encode text to Base64
  • • Decode Base64 to text
  • • UTF-8 support
  • • Swap input/output

File Processing

  • • Encode files to Base64
  • • Decode Base64 to files
  • • Image preview support
  • • 10MB file size limit

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 encoding data that needs to be transmitted over media designed to deal with text.

Base64 encoding converts 3 bytes of binary data into 4 ASCII characters, making it safe for transmission over protocols that might not handle binary data correctly.

Common Use Cases

Web Development

  • • Embedding images in CSS/HTML
  • • Data URLs for inline content
  • • API data transmission
  • • JSON payload encoding

General Use

  • • Email attachments (MIME)
  • • Configuration files
  • • Database storage
  • • Text-safe data transfer