Here we report a unique reaction between phenyl diselenide-ester substrates and H2S to form 1,2-benzothiaselenol-3-one. This reaction proceeded rapidly under mild conditions. Thiols could also react with the diselenide substrates. However, the resulted S-Se intermediate retained high reactivity toward H2S and eventually led to the same cyclized product 1,2-benzothiaselenol-3-one. Based on this reaction two fluorescent probes were developed and showed high selectivity and sensitivity for H2S. The presence of thiols was found not to interfere with the detection process.