Search code examples
urlbase64decode

Decoding Base64 Images


I have recently found a file on the web, and I really need the original url to it, but it's encoded into Base64. It's an image.

The URL Starts with something like this: data:image/png;base64, and then there are loads of numbers and letters.

My question is, how can I decode this to its original form? e.g. instead of mwo1fw# to http://etc


Solution

  • Use this web utility:

    http://www.motobit.com/util/base64-decoder-encoder.asp

    Set the output format to binary, then copy-paste the base64 data that follows data:image/png;base64,; your browser will download the file. Rename it to PNG and you're good to go.