Ad Space (728x90)

Base64 Encoder/Decoder

Encode text to Base64 or decode Base64 back to plain text.

How to Use

  1. Select "Encode" or "Decode" mode
  2. Enter your text or Base64 string in the input field
  3. Click the convert button to see the result
  4. Use "Copy Result" to copy the output to your clipboard
  5. Use "Swap" to move the output back to input for further operations

What is Base64?

Base64 is a binary-to-text encoding scheme that represents binary data in an ASCII string format. It's commonly used to:

  • Embed images in HTML/CSS using data URLs
  • Encode email attachments (MIME)
  • Store complex data in JSON or XML
  • Transmit binary data over text-based protocols

FAQ

Is Base64 encryption?

No. Base64 is an encoding scheme, not encryption. It can be easily decoded by anyone. Don't use it to hide sensitive information.

Why is the Base64 output longer than the input?

Base64 encoding increases the data size by approximately 33% because it uses 4 characters to represent every 3 bytes of data.

Does this tool support file encoding?

This tool is for text encoding. For files, you would need to first read the file as binary data.