Conversion Mode

Text Input

Enter text to encode to Base64

Base64 Result

What is Base64 Encoding?

Use Cases

  • • Email attachment transmission
  • • Web data transfer
  • • Converting images to text
  • • API authentication tokens

Characteristics

  • • Converts binary data to text
  • • Uses only ASCII characters
  • • About 133% of original size
  • • Encoding method, not encryption

Keyboard Shortcuts

Process (encode/decode)Ctrl + ENTER
Clear allCtrl + R
Switch modeCtrl + M
Copy resultCtrl + ⇧ + C

Frequently Asked Questions

What is Base64 encoding?
Base64 encoding is a method of converting binary data into a text format using a specific set of 64 ASCII characters. It's commonly used for transmitting data over text-based protocols.
When should I use Base64 encoding?
Base64 is useful for embedding binary data in JSON, XML, URLs, or email. It's also used for data URIs in CSS and HTML.
Is Base64 encryption?
No, Base64 is encoding, not encryption. It's easily reversible and provides no security. Don't use it to hide sensitive information.
Why does Base64 increase file size?
Base64 encoding increases the size by approximately 33% because it represents 3 bytes of binary data using 4 ASCII characters.

How to use Base64 Encoder/Decoder

Follow these simple steps to get started with the Base64 Encoder/Decoder tool

  1. 1

    Enter or paste your text in the input field

  2. 2

    Click 'Encode' to convert text to Base64 format

  3. 3

    Click 'Decode' to convert Base64 back to readable text

  4. 4

    Use the copy button to copy the result to your clipboard

  5. 5

    Use the swap button to quickly switch between input and output