This dual-ratiometric imaging probe quantitatively revealed that the overexpression of MMP-9 at tumor sites and the spatial heterogeneity of abnormal microenvironmental pH and synergistically guide in vivo tumor invasion in a mouse model of colon cancer. Here, MMP9 is linked to neoplasm.