Photocatalytic degradation technology has received much attention from researchers in the last few decades, due to its easy and cost-effective nature. A lot of review articles have been published on dyes via photocatalytic degradation, but most of the review articles lack a detailed and in-depth photocatalytic degradation mechanism of dyes. Numerous review articles are available on photocatalysis. Here, in this review article, we are mainly focused on the complete and in-depth photocatalytic degradation mechanism of four commonly used dyes such as Malachite Green, Methylene Blue, Congo Red and Rhodamine B, which will be highly useful for the new researchers that work on dyes’ photocatalytic degradation. Initially, various aspects of dyes have been included in this review article, comprehensively. The main focus was on the covalent organic framework-based photocatalysts for dyes’ photocatalytic degradation, due to their porous nature and various unique properties. Various synthesis routes and the photocatalytic performance of covalent organic frameworks and composite of covalent organic frameworks have been highlighted in this review article. In the last section of this review article, the main stimulus was the four mentioned dyes’ properties, uses, and toxicity, and the photocatalytic degradation mechanism through various paths into environmentally friendly and less-harmful compounds in the presence of photocatalysts. Factors effecting the photocatalytic degradation, economic cost, challenges and future aspects of photocatalytic technology were also included in this review article. This review article will be highly useful for those researchers that work on the photocatalytic degradation of various dyes and search for the complete degradation of complex dye molecules.