decode a base64 data to utf-8 - python code example Example: decode base64 python import base64 msg = base64.b64decode(msg)