Photonic crystals with specific wavelengths can realize surface-enhanced excitation and emission intensities of fluorophores and enhance the fluorescence signals of fluorescent molecules. Herein, stretchable photonic crystals with good mechanochromic properties provide continuously adjustable forbidden wavelengths by stretching to change the lattice spacing, with reflectance peaks blue-shifted up to 110 nm to match indicators of different wavelengths and produce differentiated optical enhancement effects. Glycoproteins are significantly identified as clinical markers. However, the wide participation of glycoproteins in various life processes poses enormous complexity and critical challenges for rapid, facile, high-throughput, and accurate clinical analysis or health assessment. In this work, we proposed a stretchable photonic crystal-assisted glycoprotein identification approach for early ovarian cancer diagnosis. Stretchable photonic crystals can provide rich optical information to efficiently identify glycoproteins in complex matrices. A double-indicator fluorescence sensor was designed to respond to the protein trunk and oligosaccharide segment of glycoproteins separately for improved recognition accuracy. Seven typical glycoproteins could be discriminated from proteins, saccharides, or mixture interferents. Clinical ovarian cancer samples for early, intermediate, and advanced ovarian cancer and healthy subjects were verified with 100% accuracy. This strategy of stretchable photonic crystal-assisted glycoprotein identification provides an effective method for accurate, rapid ovarian cancer diagnosis and timely clinical treatment.