Base64 is a binary-to-text encoding scheme which allows storing a binary data in ASCII format by translating it into a radix-64 representation. A binary image converted into a base64 format can be reverted back to image format.