Please enable JavaScript
EncodingUtil.base64Decode() can be used to convert Base64 content to Blob value. Then, we can use toString() to convert the Blob value to String. Blog Post: https://www.infallibletechie.com/2022/11/how-to-convert-string-to-base64-using-salesforce-apex.html