In this paper, a planar ultrawideband (UWB) transmission line balun based on a novel phase inverter is proposed, which consists of three coaxial connector to double-sided parallel-strip line (DSPSL) transitions, a two-section Wilkinson divider, and a phase inverter. In the phase inverter, a 90-degree rotating transition is applied to realize field inversion. It maintains good structural uniformity of the two outputs of the balun and ensures the characteristics of equal energy division and a stable 180-degree phase difference in wide frequency band. Compared with other designs, the proposed balun has the advantages of easy to design, UWB operation, low reflection, equal power division and a stable phase difference. The presented balun works in the 0.52 GHz to 2.32 GHz band, covering 4.46 octaves. The measurements can achieve the reflection, amplitude imbalance and phase imbalance characteristics below −15 dB, ±0.46 dB and ±4 deg, respectively. The designs including the phase inverter and balun are fabricated and measured to verify the performance, and the measurements are found to be in good agreement with the simulations. In addition, the UWB potential of the porposed balun is studied. From an example based on a 1:2 balun, we can conclude that the proposed balun has the potential to work in a wider frequency band within the range of 0.1 GHz to 3GHz.INDEX TERMS Double-sided parallel-strip line (DSPSL), phase inverter, transmission line balun, ultrawideband (UWB).