The judge said Young’s crimes were of the "utmost gravity" and he had inflicted abuse on the most defenceless members of society.
Lord Arthurson told Young that when he is released, if ever, was a matter for the parole authorities.
Advocate depute Kath Harper earlier told the court: "The case involves extensive and prolonged sexual offending by Benjamin Young against 10 child complainers, all aged under 13 years at the time the offences were committed, and one adult (female) complainer.
"The accused’s offending encompasses, but is not limited to, voyeurism, sexual assault and rape involving young children.
"It also includes the creation and distribution of indecent videos and images of children, including videos of the accused raping and sexually abusing children," said the prosecutor.
She said that in December 2022 Police Scotland received intelligence from the National Crime Agency that someone at Young’s address had distributed indecent images of children to a paedophile in Denmark. The material featured girls aged between one and six.
Police seized two mobile phones during searches which were found to have a wealth of incriminating material.
The advocate depute said that because of the volume of images on one of the phones examination of the device was carried out for three months.
She said that some of the images showing child sexual exploitation were deemed to be "at the worst end of the spectrum".
Young, a chef, was arrested on December 23, 2022 and taken to Greenock police station. He was interviewed but maintained complete silence throughout.
Defence counsel Ronnie Renucci KC said a report prepared on Young made "rather grim reading" and indicated he has a number of complex and long-standing psychological issues and conditions.
He said: "He recognises the severity of his offences and the consequences of these offences to his victims. He recognises he has significant problems."
The court made non-harassment orders banning Young from contacting or attempting to contact victims. He was placed on the sex offenders’ register indefinitely.