Visualizing biological markers and delivering bioactive agents to living organisms are important to biological research. In recent decades, photoacoustic imaging (PAI) has been significantly improved in the area of molecular imaging, which provides high-resolution volume imaging with high optical absorption contrast. To demonstrate the ability of nanoprobes to target tumors using PAI, we synthesize convertible nanostructured agents with strong photothermal and photoacoustic properties and linked the nanoprobe with biotin to target tumors in small animal model. Interestingly, these nanoprobes allow partial to disassemble in the presence of targeted proteins that switchable photoactivity, thus the nanoprobes provides a fluorescent-cancer imaging with high signal-to-background ratios. The proposed nanoprobe produce a much stronger PA signal compared to the same concentration of methylene blue (MB), which is widely used in clinical study and contrast agent for PAI. The biotin conjugated nanoprobe has high selectivity for biotin receptor positive cancer cells such as A549 (human lung cancer). Then we subsequently examined the PA properties of the nanoprobe that are inherently suitable for in vivo PAI. After injecting of the nanoprobe via intravenous method, we observed the mice's whole body by PA imaging and acquired the PA signal near the cancer. The PA signal increased linearly with time after injection and the fluorescence signal near the cancer was confirmed by fluorescence imaging. The ability to target a specific cancer of the nanoprobe was well verified by PA imaging. This study provides valuable perspective on the advancement of clinical translations and in the design of tumor-targeting phototheranostic agents that could act as new nanomedicines.