Yes, Pakistan is safe to visit. Recently a well reputed US travel magazine named Pakistan the best country to visit in 2022.