In this study, the effects of hydrogen blending ratios and high CO2 content on hydrogen embrittlement (HE) of offshore natural gas X65 pipeline steel were investigated. In high-pressure hydrogen gas, the impact of hydrogen content on yield strength and tensile strength was minimal. However, the effect on elongation was more significant, with the area decreasing and the HE index increasing until the hydrogen-blended ratio approached 30%, at which point the HE index reached 8.94%. Introducing CO2 into high-pressure hydrogen-rich gas further increased the HE index with high CO2 content. At 40% CO2, the HE index was 2.42 times higher than in high-pressure hydrogen-blended mixtures (30% H2). Additionally, the local fracture morphology transitions from ductile to quasi-cleavage fracture with the addition of CO2 and H2.