We investigate the diagonal entropy for ground states of the extended Kitaev chains with extensive pairing and hopping terms. The systems contain rich topological phases equivalently represented by topological invariant winding numbers and Majorana zero modes. Both the finite size scaling law and block scaling law of the diagonal entropy are studied, which indicates that the diagonal entropy demonstrates volume effect. The parameter of volume term is regarded as the diagonal entropy density, which can identify the critical points of symmetry-protected topological phase transitions efficiently in the studied models, even for those with higher winding numbers. The formulation of block scaling law and the capability of diagonal entropy density in detecting topological phase transitions are independent of the chosen bases. In order to manifest the advantage of diagonal entropy, we also calculate the global entanglement, which can not show clear signatures of the topological phase transitions. This work provides a new quantum-informatic approach to characterize the feature of the topologically ordered states and may motivate a deep understanding of the quantum coherence and diagonal entropy in various condensed matter systems.