Base64 Encoder/Decoder

Convert text and images to and from Base64 format

How to Use This Tool

Text Mode:

  1. Type or paste text in the Input box
  2. Click "Encode" to convert to Base64
  3. Or click "Decode" to convert Base64 to plain text

Image Mode:

  1. To encode: Upload an image using the file selector
  2. The Base64 string will be generated automatically
  3. To decode: Paste a Base64 image string in the Input box
  4. Click "Decode to Image" to view and download the image

Additional Features:

  • Copy Base64 strings with the "Copy" button
  • Use "Clear" to reset the form
  • Download converted images

Support Information

Having Issues?

If you're experiencing problems with this tool, please try the following:

  • Make sure your browser is up to date
  • For text encoding, ensure your input doesn't contain non-ASCII characters
  • For text decoding, ensure your input is valid Base64 (should only contain A-Z, a-z, 0-9, +, /, and =)
  • For images, file size should be under 5MB for best performance
  • Supported image formats: JPEG, PNG, GIF, SVG, and BMP
  • For Base64 to image conversion, ensure the string starts with "data:image/"

Contact Us:

Email: support@base64tool.example.com

GitHub: Report an issue

{{ inputCharCount }} characters
{{ outputCharCount }} characters

Image to Base64

Image Preview
{{ base64Output.length }} characters

Base64 to Image

Share This Tool