What is it called when symbols are used to replace swear words?

The term grawlix refers to the use of typographical symbols in place of swear words (e.g., “$%@!”).

Grawlix is most commonly used in comic strips and on social media platforms. It typically consists of a string of symbols, such as ampersands (“&”), at signs (“@”), and exclamation marks (“!”). These symbols are used in no particular order.