Encode files and UTF-8 text to Base64, or decode strings back to text.
Encode will output the raw Base64 string (no data: prefix). Decode expects the file to contain a Base64 string and will produce a downloadable file.