Here, we tested the specificity and activity of conjugates of EpCAM-directed designed ankyrin repeat proteins (DARPins) with the photosensitizer IRDye 700DX in in vitro and in vivo ovarian cancer models. Here, EPCAM is linked to ovarian cancer.