No, they just make earwax problems worse by compacting the wax and pushing it further into the ear canal. You can buy ear drops containing carbamide peroxide that will dissolve excess wax safely. No prescription is required in the US. Why you shouldn't use cotton swabs to clean your ears (CNN 2017)

Only top voted, non community-wiki answers of a minimum length are eligible