Content License: Creative Commons Attribution 4.0 International (CC-BY-4.0)Credit must be given to the creatorDownloadsDownloadEncoding and Decoding Base64 String in PythonBen DuJuly 29, 2021import base64text = base64.b64encode("how are you".encode()).decode() textbase64.b64decode(text).decode()References¶base64 — Base16, Base32, Base64, Base85 Data Encodings