Rampant counterfeiting is a global problem that poses a serious threat to businesses, consumers, and society, which puts forward urgent requirements for convenient and effective anti-counterfeiting technology with higher confidentiality. 1,2 Traditional anti-counterfeiting technologies, for instance, radio frequency identification (RFID), nuclear track technology, and laser holography, etc., require expensive experimental equipment, complex preparation procedures, and face the risk of information re-writing. 3,4 As an essential candidate, the optical anti-counterfeiting technology based on fluorescent materials has many advantages, such as facile preparation process, convenient visualization, and high confidentiality, and have been widely used in bills, certificates, currency, and various kinds of products. 5 Usually, the fluorescent patterns cannot be identified by naked eyes in natural light, and become visible by ultraviolet (UV) or infrared light stimuli, so it has good confidentiality. [6][7][8] The representative UV-stimulated fluorescent materials such as organic fluorescent dyes, quantum dots (QDs), and metal-organic frameworks (MOFs) suffer from the inferior stability, background noise, and light bleaching. [9][10][11] In comparison, near-infrared (NIR) light pumped rare-earth-doped UC materials are ideal candidate for optical anti-counterfeiting labels because of the superior physical and chemical stability, big anti-Stokes shift, long luminescence life, light resistance to bleaching, and so