In the title compound, C18H14N4O2, the triazole ring makes dihedral angles of 77.32 (8) and 75.56 (9)°, respectively, with the indoline residue and the terminal phenyl group. In the crystal, mol-ecules are linked by C-H⋯N hydrogen bonds into tapes parallel to the b axis. The tapes are linked together by π-π inter-actions between triazole rings [inter--centroid distance = 3.4945 (9) Å].