The Blob is a collection of Binary data which is stored as object. This will be used when we want to store the attachment in salesforce into a variable. … If the blob is to be converted into a string, then we can make use of the toString and the valueOf methods for the same.