Novel indoline dyes, I-1-I-4, with structural modification of π-linker group in the D-π-A system have been synthesized and fully characterized. Molecular engineering through expanding the π-linker segment has been performed. The ground and excited state properties of the dyes have been studied by means of density functional theory (DFT) and time-dependent DFT (TD-DFT). Larger π-conjugation linkers would lead to broader spectral response and higher molar extinction coefficient but would decrease dye-loaded amount on TiO(2) electrode and LUMO level. While applied in DSSCs, the variation trends in short-circuit current density (J(sc)) and open-circuit voltage (V(oc)) were observed to be opposite to each other. The internal reasons were studied by experimental data and theoretical calculations in detail. Notably, I-2 showed comparable photocurrent values with liquid and quasi-solid state electrolyte, which suggested through molecular engineering of organic sensitizers the dilemma between optical absorption and charge diffusion lengths can be balanced well. Through studies of photophysical, electrochemical, and theoretical calculation results, the internal relations between chemical structure and efficiency have been revealed, which serve to enhance our knowledge regarding design and optimization of new sensitizers for quasi-solid state DSSCs, providing a powerful strategy for prediction of photovoltaic performances.