Multiplexed quantification of mycotoxins is of great significance in food safety. Here, novel photonic crystal (PhC) barcodes with G-quadruplex aptamer encapsulated for label-free multiplex mycotoxins quantification are developed. The probes are immobilized on PhC barcodes to form a molecular beacon (MB), which contains the sequences of mycotoxin aptamers and a G-quadruplex. In the presence of the target, the hairpin structure of MB would open and the region of the G-quadruplex is exposed, which subsequently combines with Thioflavin T (ThT) to produce fluorescence. The relative fluorescence intensity increased as the mycotoxins concentration increased in a linear range from 1.0 pg/mL to 100 ng/mL. Moreover, the multiplexed mycotoxins quantification could be achieved by tuning the structural color of the PhC barcodes. We demonstrate that this method with high accuracy and specificity for multiplexed detection of mycotoxins, with the sensitivity of the detection as low as 0.70 pg/mL. Our results show that G-quadruplex-encapsulated PhC barcodes offer a novel simple and label-free pathway toward the multiplex screen assay of mycotoxins for food safety.