With the advantages of high safety and selectivity, photodynamic therapy (PDT) has been widely used for cancer treatments, while the anticancer efficacy is often limited because of its relying on oxygen concentrations. Therefore, sole PDT fails to achieve the desired therapeutic effect for hypoxic tumors. To address this issue, we herein report the construction of prodrug and glucose oxidase (GOx) coloaded alginate (ALG) hydrogels for PDT-combined chemotherapy of melanoma. The hydrogels are in situ formed in tumor sites after injection of ALG solution containing semiconducting polymer nanoparticles, hypoxia-responsive prodrug tirapazamine (TPZ), and GOx, which is based on chelation of ALG by endogenous Ca 2+ . Due to the presence of semiconducting polymer nanoparticles acting as photosensitizers, the hydrogels mediate PDT to produce singlet oxygen ( 1 O 2 ) for directly killing tumor cells, in which oxygen is consumed to create a more hypoxic tumor microenvironment. Moreover, the loaded GOx within hydrogels can deplete oxygen to further aggravate tumor hypoxia. As such, TPZ is effectively activated by hypoxia to cause cancer cell death via chemotherapy. Thus, the hydrogels with laser irradiation achieve a combinational action of PDT with chemotherapy to almost completely eradicate tumors, leading to a much higher therapeutic efficacy relative to sole PDT. This study will provide a promising injectable hydrogel platform for effective treatments of cancer.