Solar cells are pivotal in harnessing renewable energy for a greener and more sustainable energy landscape. Nonetheless, eco-friendly materials for solar cells have not been as extensive as conventional counterparts, highlighting a significant area for further investigation in advancing sustainable energy technologies. This study investigated natural dyes from cost-effective and environmentally friendly blueberries and mulberries. These dyes were utilized as alternative sensitizers for dye-sensitized solar cells (DSSCs). Alongside the natural dyes, a green approach was adopted for the DSSC design, encompassing TiO2 photoanodes, eco-friendly electrolytes, and green counter-electrodes created from graphite pencils and candle soot. Consequently, the best-optimized dye sensitizer was mulberry, with an output power of 13.79 µW and 0.122 µW for outdoor and indoor environments, respectively. This study underscored the feasibility of integrating DSSCs with sensitizers derived from readily available food ingredients, potentially expanding their applications in educational kits and technology development initiatives.