Home/Tools/Base64 Encoder & Decoder

๐Ÿ”ข Base64 Encoder & Decoder

Encode text or files to Base64, or decode Base64 strings back to plain text instantly.

1
Paste text or upload file
2
Click Encode or Decode
3
Copy the result
Text Encoder / Decoder
Encode File to Base64
๐Ÿ“Ž
Click to upload any file

Converts file to Base64 data URI โ€” useful for embedding images in HTML/CSS

What is Base64?

Base64 is an encoding scheme that converts binary data into a text string using 64 characters. It is commonly used to embed images directly into HTML or CSS files, transmit binary data through text-based systems like email, and encode API authentication credentials.

  • Base64 encoded data is approximately 33% larger than the original binary
  • Commonly used in JWT (JSON Web Tokens) for authentication
  • Used to embed small images directly in email templates