To understand the association between sodium and potassium consumption levels, hypertension and knowledge, attitudes and behaviors (KAB) toward salt and the commitment to effective sodium reduction and potassium supplementation to achieve the purpose of suppressing hypertension. A stratified multistage random sampling method was used to obtain a representative provincial sample of 7512 residents aged 18–69 years through a cross-sectional survey by the Salt Reduction and Hypertension Prevention Project (SRHPP) in Zhejiang Province of China in 2017–2018. A screening including demographic, anthropometric, salt-related KAB and physical measurements was implemented, and 24-h urine of approximately 1/5 of the participants was collected and tested. The mean age was 44.8 years, 50.1% were women, 44.0% lived in urban areas, and hypertension or prehypertension accounted for approximately 35.0%. The mean 24-h urinary sodium and potassium excretion were 3848.5 (1661.1) mg/d and 1491.1 (710.9) mg/d, respectively. KAB in urban areas was generally more favorable than in rural areas, women were better than men, and the optimal blood pressure group was better than the other two groups (P < 0.05). However, the awareness and correct use rate of salt-restricted spoons, low-sodium salt and nutrition labeling were lower. A multivariable linear regression model indicated that KAB had a smaller effect on sodium (two indicators effective for promoting sodium reduction) and a greater effect on potassium (six indicators effective for promoting potassium supplementation) and mainly focused on knowledge and behavior indicators. A multivariable logistic regression model indicated that mastering more knowledge and taking active measures could effectively reduce the transition to hypertension, even if the individual was already in prehypertension. There is much room for improvement of salt-related KAB in the Chinese population. A clear association indicates that KAB can help to reduce sodium and supplement potassium, especially potassium, and help to suppress the development of hypertension. The role of beliefs in KAB should be fully valued and improved, similar to knowledge and behaviors. This study provides important evidence and insight into China’s efforts to meet the targets of salt reduction and hypertension prevention.