When you receive email attachments, they are usually presented in Base64 encoded format. You can decode them yourself without using any email client tools. This page allows you to learn and test the Base64 decoding process.
What is Base64 encoding?
Base64 encoding is designed to convert any digital data into 64 printable characters as described in RFC 2045. Base64 encoding is mainly used to protect data be transferred safely over the Internet. Email attachments are usually associated with the following headers to indicate that they are in Base64 encoding format:
Content-Type: text/plain; charset=ISO-8859-1 Content-transfer-encoding: base64
How to perform Base64 decoding?
Base64 decoding algorithm is very simple, you can write a conversion program yourself. But you can also use built-in functions like base64_decode() in PHP:
To help you learn and test Base64 decoding, FYIcenter.com has designed this online testing page. All you need to do is to enter the testing string in the form below and click the Start button. The converted string will be presented in the result area.
Other On-line Testing Pages by FYIcenter.com
FYIcenter.com has prepared some simple but very interesting on-line testing pages that are useful for your programming and testing tasks:
Each tutorial answers one commonly asked PHP programming question with a short, but precise and clear PHP script.