use decode images in python code example Example: base64 python decode import base64 coded_string = '''Q5YACgA...''' base64.b64decode(coded_string)