Development of novel nanomaterials with enzymatic activity as nanoprobes for cancer cell detection and therapy is an essential issue in clinic diagnostics. In this work, due to their low cost and high stability of metal oxides nanomaterials we report synthesis of Co(OH)2/FeOOH/WO3 nanoflowers via one step and simple hydrothermal method as dual-function enzyme with enhanced peroxidase and catalase-like activity. Interaction between prepared nanoflowers and H2O2 in aqueous solution studied by electron paramagnetic resonance (EPR), X-ray photoelectron spectroscopy (XPS) and UV–vis techniques. Artificial enzymes being increasingly used but little has known based on the pH switchable peroxidase-like and catalase-like activities of metals. Here, we report pHswitchability for Co(OH)2/FeOOH/WO3 nanoflowers, which at acidic pH (pH < 7) peroxidase catalytic activities is dominant in contrast at basic pH (pH > 7) the catalase activities is dominant. Indeed, these nanomaterials catalyze H2O2 to hydroxyl radicals at acidic pH and catalyze H2O2 to oxygen at basic condition. It was also found that the amount of generated hydroxyl radicals and oxygen was subordinate to the concentration of Co(OH)2/ FeOOH/WO3 nanoflowers. Due to peroxidase-like catalytic behavior of proposed nanoflowers a colorimetric biosensor for detection of human cervical cancer cells (HeLa cancer cells) at wide detection range from 50 to 5 × 104 cells/mL with a detection limit as low as 12 cells/mL developed using 3,3′ ,5,5′ -tetramethylbenzidine(TMB) as typical peroxidase substrate in the presence of H2O2. Furthermore, the anticancer behavior of Co(OH)2/ FeOOH/WO3 via their intrinsic catalase-like activity and production of O2 supply for photodynamic therapy (PDT) is also evaluated. This work paves a way to design the highly active nanozymes not only in development of colorimetric biosensors but also in diagnosis and treatment of cancers.