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

Base64 to PNG

Convert Base64 to PNG online using a free decoding tool that allows you to decode Base64 as PNG image and preview it directly in the browser. By and large, the “Base64 to PNG” converter is similar to Base64 to Image, except that it this one forces the MIME type to be “image/png”. If you are looking for the reverse process, check PNG to Base64.


How to convert Base64 to PNG online

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

Important notes about the decoder

The “Base64 to PNG” converter will force the decoding result to be displayed as a PNG image, even if it is a different file type. Therefore, if you are not sure that your Base64 string is PNG 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.

About PNG

  • Name: Portable Network Graphics
  • Developer: PNG Development Group
  • MIME types: image/png
  • File Extensions: .png
  • Uniform Type Identifier: public.png
  • Type of Format: Lossless bitmap image
Comments (12)

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

  • TerryCorbet,
    Thank you very much for providing this as a free service. I have a brother who sent out a broadcast email that includes his "signature" file. It is a small black-on-white representation of his name signed with a pen. He authored it using a recent version of Photoshop on a Mac, but mistakenly saved out of that process a 6MB tiff file.

    I don't have broadband, just a DSL ISP, so it took a couple of minutes for the cut-n-pasted Base64 string to make its way to your site. The software performed the transcription/encoding and let me download a conformant .png file which IrfanView easily condensed into about 75KB. Cup of coffee is on its way.
    • Administrator,
      Thank you Terry for your support! I'm glad you found the solution to your task here.
  • balasaheb,
    Hi,
    I have base 64 string and trying to decode it to an image on your site. Somehow I am not able to see its preview - it gives an error while rendering it on browser .However it gives the downloadable attachment. Could you please let me know what could be the reason?
    • Administrator,
      This can happen for several reasons, but most likely your data is damaged or your browser does not support the image format.
  • tamar,
    i successfully decoded my graph in png format with base64 but the image did not show on my browser(opera,firefox and chrome any help
  • Julio,
    Dear Victor...

    PNG files can contain multiple images. Yet I can only see the first image. How can I see the other images?
    • Administrator,
      Hello Julio! PNG cannot contain multiple images. You may be referring to APNG, which can store multiple "images" like GIF. If so, perhaps the problem is due your browser, not Base64. Therefore, try to decode your string using another browser.
  • GFW,
    Hi, it is a great tool and I wonder is there a software available for this cool feature?
    Just for offline use, thank you!
  • N_vai,
    Hello! I have the following base64code: iVBORw0KGgoAAAANSUhEUgAAAUAAAADwCAYAAABxLb1rAAAgAElEQVR4Xu2dCdxOZf7/r1TUIBrLJJIwlkqbSsXQZkuIRlOSsiRFJNUw0xCV7FuSRpZmkmgGmQYja0MUMZNMFMmSIiYNxpb69/7+5/Z7Eo97Oefc577P5/t63a9mHve5znXe13k+z7V8l5O++96cTAREQAQiSOAkCWAER12PLAIiYAQkgHoRREAE
    When I run this decoder I get an image that I can not open. Do you maybe know what the problem is here?
    • blah,
      Are you referring to the white png image?
  • Scratch_coder,
    i have been trying to understand how it works. so i have seen many wiki sites about this encode/decode but no one explained me how a pixel gets its information in base64. so i know base64 converts in binary and binary converts in to png but i want to know the part ho tf it converts banary in png or how does a pixel/png Chunk know its color from 1 and 0. how pls explain and dont say just use java to encode, cuz i want to know how it works on all stages. pls HELP
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.