We introduce TTSwing, a novel dataset designed to analyze table tennis swings. The dataset was collected using custom racket grips embedded with 9-axis motion sensors, which provide precise kinematic data on swings. In addition, we provide anonymized demographic data for players. The dataset was collected from 93 participants, all of whom are elite table tennis players from Taiwan. We detail the data collection and annotation procedures. These data are expected to improve the understanding of player performance and facilitate the development of tailored training programs and biomechanical analyses, offering practical benefits to both athletes and coaches. TTSwing has excellent potential to facilitate innovative research in table tennis analysis and is a valuable resource for the scientific community. We release the dataset and the experimental codes for reproducibility.