Base64 Encoder/Decoder

Convert text to Base64 and Base64 to text instantly. Perfect for encoding data, images, and API communications.

File Conversion

Encode File to Base64

Convert any file to Base64 string instantly

No file selected

Decode Base64 to File

Convert Base64 string or file back to original file

No file selected

Or uses Base64 from output field

Text Encoding

Encode text to Base64 and decode Base64 back to readable text.

File Support

Convert files to Base64 and decode Base64 strings back to files.

One-Click Copy

Copy encoded/decoded results to clipboard with a single click.

What is Base64?

How Base64 Works

Base64 is a binary-to-text encoding scheme that represents binary data in an ASCII string format. It encodes every 3 bytes of binary data into 4 ASCII characters.

  • • Uses 64 different ASCII characters (A-Z, a-z, 0-9, +, /)
  • • Increases data size by approximately 33%
  • • Commonly used for email attachments and data URIs

Common Use Cases

  • • Embedding images in HTML/CSS
  • • API authentication (Basic Auth)
  • • Storing binary data in text files
  • • Email attachments