This colorimetric strategy based on size-dependence of nanoparticles during their leaching process provided a highly sensitive (1.0 nM) and selective detection toward Cu2+, with a wide linear detection range (5800 nM) over nearly 3 orders of magnitude.