To improve the photodetection performance of thin-film transistor (TFT)-based ultraviolet photodetectors (UVPDs), using thick channel layers to promote photocurrent (Iph) or using thin channel layers to suppress dark current (Idark) is a typical trade-off. In this work, UVPDs based on oxygen-doped Si-Zn-Sn-O (SZTO) TFT with a stack of Pt/NiO capping layers (CLs) to release the trade-off between Idark and Iph are demonstrated. The Pt CL creates a wide depletion region in the channel layer to allow the use of thick channels, but still maintains low Idark, while the NiO CL forms a pn heterojunction to provide additional photogenerated carriers and enhance Iph under UV irradiation. Experimental results show that the proposed 95-nm-thick oxygen-doped SZTO TFT with a stack Pt/NiO dual CLs exhibits excellent photoresponsivity of 2026 A/W and photosensitivity of 9.3×107 A/A, which are about 76× and 82.5× higher than the conventional 45-nm-thick SZTO TFT under 275 nm UV irradiation.