Type III effectors (T3Es) are major determinants of Xanthomonas virulence and targets for resistance breeding. XopJ2 (synonym AvrBsT) is a highly conserved YopJ-family T3E acquired by X. perforans, the pathogen responsible for bacterial spot disease of tomato. In this study, we characterized a new variant (XopJ2b) of XopJ2, which is predicted to have a similar three-dimensional (3D) structure as the canonical XopJ2 (XopJ2a) despite sharing only 70% sequence identity. XopJ2b carries an acetyltransferase domain and the critical residues required for its activity, and the positions of these residues are predicted to be conserved in the 3D structure of the proteins. We demonstrated that XopJ2b is a functional T3E and triggers a hypersensitive response (HR) when translocated into pepper cells. Like XopJ2a, XopJ2b triggers HR in Arabidopsis that is suppressed by the deacetylase, SOBER1. We found xopJ2b in genome sequences of X. euvesicatoria, X. citri, X. guizotiae, and X. vasicola strains, suggesting widespread horizontal transfer. In X. perforans, xopJ2b was present in strains collected in North America, Africa, Asia, Australia, and Europe, whereas xopJ2a had a narrower geographic distribution. This study expands the Xanthomonas T3E repertoire, demonstrates functional conservation in T3E evolution, and further supports the importance of XopJ2 in X. perforans fitness on tomato. [Formula: see text] Copyright © 2024 The Author(s). This is an open access article distributed under the CC BY-NC-ND 4.0 International license.