Nitrogen-rich energetic materials are of interest due to their potential use as high-energy-density materials in various applications. However, most compounds with a high nitrogen content show poor thermal stabilities, which may limit their use in certain applications. In pursuit of nitrogen-rich energetic materials, this study presents the synthesis and characterization of two nitrogen rich energetic compounds, namely 3-azido-1-(1H-tetrazol-5-yl)-1H-1,2,4-triazol-5-amine (3, C3H3N11, N%: 79.78) and (E)-1,2-bis(3-azido-1-(1H-tetrazol-5-yl)-1H-1,2,4-triazol-5-yl) diazene (7, C6H2N22, N%: 80.62). Compounds 3 and 7 have high thermal stabilities of 216 and 221 °C, respectively, making them the most thermally stable among metal-free primary explosives. Additionally, they show good energetic performance (vD: 8345 m s-1; P: 25.17 GPa; vD: 8275 m s-1; P: 25.57 GPa), making them potential candidates for metal-free high energy primary explosive. The energetic salts of 3 and 7 were also investigated. Among them, hydrazinium salt 11 displays better energetic performance (vD: 9089 m s-1; P: 30.55 GPa), which was on par with those of cyclotetramethylene tetranitramine (HMX). This research contributes to the exploration of nitrogen-rich energetic materials with potential applications in various fields.