A photocatalytic reaction from tetrazole to nitrile imine, which can be coupled with carboxylic acids in aqueous solvents, has been developed. The reaction has been successfully used for photocatalyst-dependent labeling of carboxylic acids in proteins.