The present invention relates to a process for the preparation of sulfonylurea compounds of formula I as anti-diabetic agents with high purity and yield and without using any hazardous reagents as reported in earlier procedures in the literature. The preparation of various sulfonylureas starts from the reaction of various amines with diphenyl carbonate to produce the corresponding carbamates, which subsequently react with a sulphonamide to produce the desired sulfonylureas of general formula I.