Base64 is a method for encoding 8-bit binary data, such as image files, PDF documents, zip files and much more.
When converting to Base64, the binary data is converted to a long string of ASCII characters.
After conversion the binary data is visible and readable. The Base64 encoding is mainly used in email delivery.
There, binary data is decoded using Base64 and embedded using MIME (Multipurpose Internet Mail Extensions) and in email as Attachemnt.
But in some cases Base64 can also be used to store binary data in databases.