We investigate the topology and localization of one-dimensional Hermitian and non-Hermitian Su-Schrieffer-Heeger chains with quasiperiodic hopping modulations. In the Hermitian case, phase diagrams are obtained by numerically and analytically calculating various topological and localization characters. We show the presence of topological extended, intermediate, and localized phases due to the coexistence of topological and localization phase transitions driven by the quasiperiodic disorder. In particular, we uncover three types of disorder-induced topological Anderson insulators (TAIs) with extended, intermediate, and localized bulk states in this chiral chain. Moreover, we study the non-Hermitian effects on the TAIs by considering two kinds of non-Hermiticities from the non-conjugate complex hopping phase and asymmetric hopping strength, respectively. We demonstrate that three types of TAIs preserve under the non-Hermitian perturbations with some unique localization and topological properties, such as the non-Hermitian real-complex and localization transitions and their topological nature.