Upon the tunable surface plasmon band of the pH-induced reversible assembly of gold nanoparticles mediated by cysteine, the manipulation of green and red upconversion emission, and the switching of the red emission of the NaYF(4):Yb,Er nanoparticles have been achieved in a facile and reproducible way.