Base64 Encoder / Decoder

Encode or decode text and files using Base64.

📄 Drop a file here or click to browse Any file type supported

What Is Base64 Encoding?

Base64 is a binary-to-text encoding scheme that represents binary data using a set of 64 printable ASCII characters (A-Z, a-z, 0-9, +, /). It is commonly used to embed images in HTML or CSS, transmit binary data over text-only protocols like email (MIME), and encode credentials in HTTP Basic Authentication headers.

Base64 encoding increases the data size by approximately 33%, since every 3 bytes of input become 4 characters of output. The File mode lets you encode binary files (images, PDFs, etc.) directly. Decoding converts Base64 text back to its original form. All encoding and decoding happens locally in your browser using the native btoa() and atob() functions.