var reader = new FileReader(); reader.onload = function() { alert(reader.result); } reader.readAsText(blob);