Photochromic molecules with efficient fluorescence switching capability remain a core research interest among the scientific community for the application in security technologies and anti-counterfeiting measures. A dithienylethene-naphthalene diimide diad was designed and synthesized using Cu(I) catalysed click reaction between a fluorescent core substituted naphthalene diimide (cNDI) and photochromic dithienylethene (DTE) molecule, which demonstrated excellent photocyclization (ksolution = 0.0359 s−1, ksolid = 0.0122 s−1) and photocycloreversion (ksolution = 0.01737 s−1, ksolid = 0.00456 s−1) dynamics with high fluorescence quantum yield (5o ΦF = 0.39, PSS ΦF = 0.05). The fluorescence property of the molecule was switched ‘on-off’ by UV and visible light irradiation respectively via Förster resonance energy transfer (FRET) mechanism in solution state as well as in solid state, which was further corroborated with DFT studies. In view of efficient fluorescence switching behaviour and high fatigue resistance properties (25 cycles), the molecule was successfully applied in secret code encryption-decryption purposes using barcode demonstrating real-life applicability of the molecule in security technologies.