The present invention provides process for preparation of amorphous sofosbuvir by using spray drying, agitated thin film dyring (ATFD), and freeze drying (lyophilization) techniques. The present invention also provides process for preparation of stable Sofosbuvir premix having enhanced flow property, stability, dissolution properties that can be easily formulated into pharmaceutical compositions. Sofosbuvir premix is prepared by using various premixing agents such as kaolin, bentonite, hectorite, colloidal magnesium-aluminum silicate, silicon dioxide etc.