Salinity stress significantly constrains agricultural productivity and vegetation decline worldwide, particularly in Iran. Potassium, the second most prevalent nutrient in plants, is well known to be essential for cell metabolism. Here, the effects of potassium fertilizer in two biogenic nanoparticles (K-NPs) and conventional (potassium sulfate) forms (0.1 mg/ml) on Melissa officinalis L. under salinity (0, 50, 100, and 150 mM) were investigated. The results demonstrated that stress markers (electrolyte leakage, malondialdehyde, and hydrogen peroxide) increased as salinity levels increased. Plant growth parameters (shoot and root length, fresh and dry weight of shoot and root) and physiological and photosynthetic parameters (stomatal conductance, relative water content, chlorophyll fluorescence, and photosynthetic pigments) were reduced in salinized plants. The highest reduction in fresh weight root, dry weight root, fresh weight shoot, dry weight shoot, root length, and shoot length was recorded under 150 mM NaCl by 30.2%, 51.6%, 30.5%, 24.7%, 26.4%, and 21%, respectively. In contrast, bulk potassium sulfate and K-NPs increased these parameters. Furthermore, K-NPs improved M. officinalis tolerance to NaCl toxicity by enhancing the content of osmolytes such as proline, soluble sugars, and antioxidant enzymes, improving antioxidant contents such as phenols, tannins, anthocyanins, and flavonoids; increasing total protein; and lowering stress markers in plant tissues. Given the results of the physiological, biochemical, and phytochemical parameters obtained from this study, it can be stated that K-NPs, in comparison to the conventional form of potassium fertilizer, exhibit a greater potential to mitigate damages caused by salinity stress in M. officinalis plants.