SummaryLate blowing defect (LBD) is a major cause of spoilage in cheeses, caused by the growth of Clostridium spp. in the cheese matrix. We investigated the application of CTP1L, a bacteriophage endolysin active against Clostridium tyrobutyricum, and its enzymatically active and cell wall‐binding domains (EAD and CBD) attached to green fluorescent protein (GFP) to detect dairy‐related Clostridium species by fluorescence microscopy. GFP‐CTP1L and GFP‐CBD demonstrated specificity for Clostridium spp. by labelling 15 and 17 of 20 Clostridium strains, respectively, but neither bound to other members of the cheese microbiota. However, GFP‐EAD did not label any Clostridium strain tested. Unexpectedly, GFP‐CTP1L and GFP‐CBD were also able to bind to clostridial spores. In addition, GFP‐CBD allowed us to visualize the vegetative cells of C. tyrobutyricum directly in the matrix of a LBD cheese. Site‐directed mutants of GFP‐CTP1L and GFP‐CBD were made to examine the amino acids involved in binding and oligomer formation. Oligomerization was not essential for binding, but specific mutations in the CBD which affected oligomer formation also affected binding and lytic activity. We conclude that GFP‐CTP1L and GFP‐CBD could be good biomarkers for rapid detection of Clostridium spores in milk, so measures can be taken for the prevention of LBD in cheese, and also provide effective tools to study the development of Clostridium populations during cheese ripening.