minced oath
A swear word or oath deliberately altered in sound or spelling so that it can be said without real offense, such as "gosh" for "God" or "darn" for "damn."
Tell
a swear disguised by changing its sound
Best when
You are naming the category of softened swears itself, as in writing about language, rather than using one of them.
Example
“"Gosh darn it" is a minced oath that nobody minds.”