The present invention relates to processes for the preparation of ertugliflozni. The present invention also provides compounds of Formula (III), Formula (IV), and Formula (VII), processes for their preparation, and their use for the preparation of ertugliflozin. The processes of the present invention involve protecting the ertugliflozin intermediate compound with a suitable protecting group which provides ertugliflozin having high purity and yield.