Scintillators that exhibit excellent scintillation performance coupled with superior radiation resistance are anticipated to cater the growing demand of X-ray detection across various fields including medicine and scientific research. Oxyfluoride glasses, which combine the benefits of both fluorine and oxide glasses, show significant potential as scintillator candidates. Here, highly transparent Tb3+ doped oxyfluoride glasses with splendid radioluminescence were successfully synthesized by melt quenching method with the aid of a two-step component tuning strategy. The luminescence excited by X-ray and ultraviolet light are significantly enhanced by boosting the effective atomic number of glass components and optimizing the B2O3/Al2O3 ratio. The integrated X-ray excited luminescence intensity of representative specimen reaches 219% of that of BGO. Exceptional anti-irradiation recoverability and thermal stability of 93% @ 573 K are conferred in the resultant glass. Moreover, X-ray imaging with a spatial resolution of up to 20 lp mm−1 was triumphantly achieved. These properties testify that the prepared oxyfluoride glass owns an enormous application foreground in X-ray imaging.