The 3,3′‐linked cyclic dinucleotides (CDNs) of adenosine monophosphate (AMP) and guanosine monophosphate (GMP), cyclic di‐AMP (c‐di‐AMP), cyclic di‐GMP (c‐di‐GMP), and c‐GMP–AMP (cGAMP) are second messenger molecules in bacteria that regulate processes, such as biofilm formation, motility, virulence, stress response, and cell wall homeostasis. To analyze the profiles of the three CDNs together with their breakdown and precursor molecules, 5′‐phosphoadenylyl‐(3′ → 5′)adenine (pApA), 5′‐guanylyl‐(3′ → 5′)guanine (pGpG), 5′‐AMP, 3′‐ and 5′‐GMP, adenosine triphosphate (ATP), and GTP, we established an LC–MS/MS‐based approach for semi‐quantification and profiling. Weak anion exchange solid‐phase extraction was employed to improve selectivity and instrumental signal/noise of CDNs as well as pApA and pGpG. CDNs were analyzed using reverse‐phase UHPLC–MS/MS, whereas all other nucleotides were analyzed using hydrophilic interaction chromatography (HILIC)–MS/MS. The instrument limit of quantification ranged from 0.72 (c‐di‐AMP) to 60 nM (ATP and GTP). We applied this method to the analysis of the nine nucleotides in eight bacterial strains and found that the profiles varied widely in terms of both absolute and relative concentrations. Thus, CDN concentrations were generally <1 pmol/mg biomass, and the hydrolysis products, pApA and pGpG, were detected at lower pmol/mg concentrations. The presented method is a relatively simple and straightforward approach to profiling nucleotides with the rationale of comparing their relative levels between populations of bacterial strains.