The peculiarities of the optical properties of 2-aryl-1,2,3-triazole acids and their sodium salts were investigated in different solvents (1,4-dioxane, dimethyl sulfoxide DMSO, methanol MeOH) and in mixtures with water. The results were discussed in terms of the molecular structure formed by inter- and intramolecular noncovalent interactions (NCIs) and their ability to ionize in anions. Theoretical calculations using the Time-Dependent Density Functional Theory (TDDFT) were carried out in different solvents to support the results. In polar and nonpolar solvents (DMSO, 1,4-dioxane), fluorescence was provided by strong neutral associates. Protic MeOH can weaken the acid molecules’ association, forming other fluorescent species. The fluorescent species in water exhibited similar optical characteristics to those of triazole salts; therefore, their anionic character can be assumed. Experimental 1H and 13C-NMR spectra were compared to their corresponding calculated spectra using the Gauge-Independent Atomic Orbital (GIAO) method and several relationships were established. All these findings showed that the obtained photophysical properties of the 2-aryl-1,2,3-triazole acids noticeably depend on the environment and, therefore, are good candidates as sensors for the identification of analytes with labile protons.