base64 encode url python code example Example: base64 python decode import base64 coded_string = '''Q5YACgA...''' base64.b64decode(coded_string)