A virtual teacher who reveals to you the great secrets of Base64

Base64 to Image

Convert Base64 to image online using a free decoding tool which allows you to decode Base64 as image and preview it directly in the browser. In addition, you will receive some basic information about this image (resolution, MIME type, extension, size). And, of course, you will have a special link to download the image to your device. If you are looking for the reverse process, check Image to Base64.


How to convert Base64 to image online

  1. Paste your string in the “Base64” field.
  2. Press the “Decode Base64 to Image” button.
  3. Click on the filename link to download the image.

Important notes about the decoder

The “Base64 to Image” converter will force the decoding result to be displayed as an image, even if it is a different file type. Therefore, if you are not sure that your Base64 string is an image, use the Base64 to file converter since it is capable of displaying various file types. In any case, feel free to give it a try, since this converter will inform you if something is wrong.

Additional decoders

If you want to decode a Base64 string as a specific image format, check the following decoders:

Comments (3)

I hope you enjoy this discussion. In any case, I ask you to join it.

  • Alan,
    Very useful... thanks!
  • alimak,
    literally the only website that worked so far
  • Diogo,
    Hi guys!

    Can you send me, the code to make this in python? I'm trying to use:

    image_code = base64.decodestring(b64_string)

    with open(filename, 'wb') as f:

    f.write(image_code)

    But it does not return an image, only data type archive.
Add new comment

If you have any questions, remarks, need help, or just like this page, please feel free to let me know by leaving a comment using the form bellow.
I will be happy to read every comment and, if necessary, I will do my best to respond as quickly as possible. Of course, spammers are welcome only as readers.

Loading...