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 (27)

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
    • kumar,
      you check in downloads if u click the link in previw info then click the link and you can able to see downloads
  • 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?
    • wasim,
      The base64 encoded string that you provided decodes to an image in PNG format. However, it is possible that the decoded image is corrupted or incomplete, which could explain why you are having difficulty opening it.

      One possibility is that there was an issue with the encoding or decoding process. To rule this out, you could try decoding the base64 string again with a different decoder tool, or try encoding a different image to base64 and decoding it to see if the issue persists.

      Another possibility is that there was an issue with the image file itself prior to encoding. You could try obtaining the original image file and verifying that it is not corrupted or incomplete.

      If none of these solutions work, it may be helpful to provide more information about the specific error or issue you are encountering when trying to open the decoded 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
  • hunt,
    do you know how I can obtain this information from an image file?

    RedMatrixColumn:
    BlueMatrixColumn:
    GreenMatrixColumn:
    RedTRC:
    GreenTRC:
    BlueTRC:
    ChromaticityChannels:
    ChromaticityColorant:
    ChromaticityChannel1:
    ChromaticityChannel2:
    ChromaticityChannel3:


    Along with other similar information?
  • Josedavidpc310,
    It works fine
  • Don,
    I copied the base64 text into your converter an it gave me an image with the details. I then copied the code on the Base64 to Image link and I get an error Base64 value is not a valid image". My data has data:image/png;base64," if I remove this, the error does not appear and a files is created which is a black rectangle. Could you please point me in the right direction.
    Regards,
    Don Crago
  • argani,
    Definitely will keep coming back to this site <3
  • Gokturk_Ucoluk,
    Thank you for this service. Proper job :-)
  • bru,
    Niceeeeeee
  • tony,
    Very good place love it’s for sure I back ??
  • nqhXncMU,
    555*DBMS_PIPE.RECEIVE_MESSAGE(CHR(99)||CHR(99)||CHR(99),15)
  • nqhXncMU,
    0'XOR(if(now()=sysdate(),sleep(15),0))XOR'Z
  • Test,
    <script>alert('chuj w dupę Łodzi, tej kurwie nic nie zaszkodzi!'</script>
  • sexy_mama,
    hat bharwa
  • Thanksbro,
    iVBORw0KGgoAAAANSUhEUgAAAOUAAAFcCAYAAAA3e3kfAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAAFiUAABYlAUlSJPAAAApJSURBVHhe7dxBcts4GobheI4w+17O/Q80y97PFdLWxKooskiBJEh8AJ6nKtVZJI4F4gV+y+l8/Pz0A4jxr6//AiFECWFECWFECWFECWFECWFECWFECWFECWFECWFECWFECWFECWFECWFECWFECWFECWFECWFECWFECWH8w1lhPj4+vn5WziMciygb2RPfVh5tn0R5oStCXOIx90OUJ2sZ4hKPPJsoT5AY4hKPP48oK6oR457H0erP5RyirGBvFGcufeLnRBlRHrRl87dc6l4+T0S5W6+bXJz5RLlDycbuYVlHeR2jEeUGo25icWbxd18LjbxxSz7vktdPHW7KAu825EhLONNrTeWmfGO2Tfru9bgxz+emXODGsAatuClfsBl/efc63ZrnEOVGs90OwryeKJ+sbbJZx7VZX3crvqZ8sBSkJfrNGp3PTfnFGHaM9atHlJ+MrOXW1kOYdUwfpSC3E+a53JQLBLnO+pxn6iiXTnUbrszSOrktj5k2SkHWIcz6jK8QZsoo3ZJ1uS3rclN+EeQx1q+e6aJ0el/Lem/npvzklK/DOtYxVZRO7Tas+zbT35RO97qs53HTROm0bsv6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2PjPGZhLlCXra1MLMI8oLpY6Mwswiysp6GFu3EOb1RFlRzxu410NjRKK8QC8b3hibQZSVjDK2CrM9UVYwSpDvCPMaouSb0Q6T3ojyoFFvSWNsO6I8YPSxVZhtiJJVwryeKHca/ZYsIcxziHKH2YKc6aBJIEqKGGOvI8qNZh5bhXkNUW4wc5DvCLMeUbLJ2gEkzDpEWcgt+ZvJ4FyiLCDI75Zeu9vyOFGymzDPIco33JL7CHM/Ua4Q5HvWoj5RLnDSlzPG1iXKjdwMrwmzHlG+YGytS5jbiPKJDbTf2qFlXcuJspBbsox1Ok6UD4ytdSytl9uyjCi/CLIuYe4nSi4nzHWi/OSWPIf122f6KAV5LmPsdm5KTifMbaaO0i3ZnjC/mzZKQV5rbV2F+SfjK5dx4JWZMkq3ZDtLa+y2/G26KAXZnjDXGV+JIszJonRL5rDmy6aJUpB5jLGvGV9pSpjfTRGlW7JPs4Y5fJSCzLf2LGYM0/hKBIfkb1NGaQNkWnous92Ww0f5/KAFmU2Yk9yUtwd9/wHpfE1JnNkPT1ES6TnMmUL9+HyxZjoI4qaEMKKEMKKEMKKEMKKEMKKEMKKEMKKEMKKEMKKEMKKEMKKEMKKEMKKEMKKEMKKEMKKEMKKEMKKEMKKEMKKEMKKEMKKEMKKEMKKEMKKEMKKEMKKEMKKEMKKEMKKEKD9+/APw3NC0kw9x8AAAAABJRU5ErkJggg==
  • palak,
    nothing is just good
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.