A divergent photoinduced selective synthesis of thiocyanate and isothiocyanate derivatives from readily available carboxylicacids was developed using N-thiocyanatosaccharin and a catalytic amount of base or acid. This molecular editing strategy allowed the functionalization of bioactive compounds. A mechanism for the transformation was proposed based on control experiments.