High-mobility group B (HMGB) proteins are a class of non-histone proteins associated with eukaryotic chromatin and are known to regulate a variety of biological processes in plants. However, the functions of HMGB genes in tomato (Solanum lycopersicum) remain largely unexplored. Here, we identified 11 members of the HMGB family in tomato using BLAST. We employed genome-wide identification, gene structure analysis, domain conservation analysis, cis-acting element analysis, collinearity analysis, and qRT-PCR-based expression analysis to study these 11 genes. These genes were categorized into four groups based on their unique protein domain structures. Despite their structural diversity, all members contain the HMG-box domain, a characteristic feature of the HMG superfamily. Syntenic analysis suggested that tomato SlHMGBs have close evolutionary relationships with their homologs in other dicots. The promoter regions of SlHMGBs are enriched with numerous cis-elements related to plant growth and development, phytohormone responsiveness, and stress responsiveness. Furthermore, SlHMGB members exhibited distinct tissue-specific expression profiles, suggesting their potential roles in regulating various aspects of plant growth and development. Most SlHMGB genes respond to a variety of abiotic stresses, including salt, drought, heat, and cold. For instance, SlHMGB2 and SlHMGB4 showed positive responses to salt, drought, and cold stresses. SlHMGB1, SlHMGB3, and SlHMGB8 were involved in responses to two types of stress: SlHMGB1 responded to drought and heat, while SlHMGB3 and SlHMGB8 responded to salt and heat. SlHMGB6 and SlHMGB11 were solely regulated by drought and heat stress, respectively. Under various treatment conditions, the number of up-regulated genes significantly outnumbered the down-regulated genes, implying that the SlHMGB family may play a crucial role in mitigating abiotic stress in tomato. These findings lay a foundation for further dissecting the precise roles of SlHMGB genes.