Prominent members and politicians in the now-banned Muslim Brotherhood organisation were among those sentenced to life, including its Supreme Guide, Mohammed Badie.
Also indicted was award-winning photo-journalist Mahmoud Abu Zeid, better known as Shawkan, who received a five-year prison sentence.
He was detained while taking pictures of the dispersal of the demonstration. He is expected to now walk free after having spent five years in jail pending trial.
Hundreds of people were arrested when the Egyptian army and police dispersed the pro-Morsi protest, which took place a month after the democratically-elected former president was ousted by the then military chief and current president, Abdel Fatah al-Sisi.
The government said many protesters were armed, and that eight police were killed - although it initially said more than 40 members of the security services had died. It has since declared the Muslim Brotherhood a "terrorist organisation".