A zwitterionic dye shows high photocurrent and incident photon to current efficiency in water based dye sensitized solar cells.