The present invention relates to a method for the production of a biopolymer, wherein the biopolymer has a defined average molecular weight, the method comprising lyophylizing a composition comprising the biopolymer with native high molecular weight, optionally purifying and/or isolating the biopolymer; wherein the temperature during the sublimation process is selected to facilitate a controlled and defined degradation of said biopolymer.