What the hell is a phrase that can be used to show surprise or frustration. However, as it is considered to be a mild word of profanity, it may not be suitable in formal situations. Synonyms for what the hell can be used as alternatives to express similar sentiments without the use of profanity. Some synonyms include what in the world, what on earth, what the heck, and what in tarnation. Additionally, other phrases such as oh my goodness, good grief, and holy cow can also convey a sense of surprise or displeasure in a more socially acceptable manner.