Broccoli, a popular international Brassica oleracea crop, is an important export vegetable in China. Broccoli is not only rich in protein, vitamins, and minerals but also has anticancer and antiviral activities. Recently, an Agrobacterium-mediated transformation system has been established and optimized in broccoli, and transgenic transformation and CRISPR-Cas9 gene editing techniques have been applied to improve broccoli quality, postharvest shelf life, glucoraphanin accumulation, and disease and stress resistance, among other factors. The construction and application of genetic transformation technology systems have led to rapid development in broccoli worldwide, which is also good for functional gene identification of some potential traits in broccoli. This review comprehensively summarizes the progress in transgenic technology and CRISPR-Cas9 gene editing for broccoli over the past four decades. Moreover, it explores the potential for future integration of digital and smart technologies into genetic transformation processes, thus demonstrating the promise of even more sophisticated and targeted crop improvements. As the field continues to evolve, these innovations are expected to play a pivotal role in the sustainable production of broccoli and the enhancement of its nutritional and health benefits.