A technique for converting binary data into ASCII text that can be sent over a network or stored in a file is called base64 encoding. It is frequently used to embed pictures and other media into HTML and XML pages as well as to send email attachments. A base 64 encode tool is a program…