An ecofriendly TiO 2 from a plant extract of Averrhoa bilimbi with cost effective and non-toxic with cis dithiocynato-N, N-bis(2,2-bipyridyl-4,4-dicarboxylic acid)ruthenium(II) (N3 dye) in dyesensitized solar cells (DSSC) reports better efficiency of 5.2%. The green synthesized TiO 2 nanoparticles along with 2,4-Diamino-6-Phenyl-1-3-5-Triazine (DPT) doped Poly(ethylene glycol) (PEG)/KI/I 2 /Pt shows better efficiency in dye-sensitized solar cells. The green TiO 2 was characterized with XRD, UV, FTIR, SEM, TEM and EDX techniques confirm the band gap of 3.2 eV and 15 nm size for TiO 2 . The mechanical and electrical properties of DPT doped PEG/KI/I 2 polymer electrolyte were characterized with XRD, FTIR, EIS, DSC and TGA and it was confirmed that the DPT well miscible with PEG polymer electrolyte and improves the electrical conductivity and enhances the efficiency of DSSC.