Base64 is a way of coding any binary data into text. It was initially designed so that binary data could be safely transmitted over channels that only reliably supported text content.
For a good description see:
There are various tools on the web where you can input a binary file (like a JPEG image) and get the converted Base64 text. See below for how to use one of them.