String myString = 'test string'; Blob myBlob = Blob.valueof(myString); String newString=myBlob.toString(); System.debug(newString);