BuildQuill
Dashes & Punctuation
!

Exclamation Mark

U+0021

The exclamation mark is a punctuation symbol used at the end of a sentence or phrase to indicate strong feelings, excitement, surprise, or to provide emphasis.

Copy & encode

Character
!
Unicode codepoint
U+0021
HTML decimal entity
!
HTML hex entity
!
CSS escape
\0021
JavaScript escape
\u0021

Meaning and usage

It is used in creative writing, marketing copy, and programming error messages to draw attention or convey urgency. Developers often use it in code to denote logical negation or in command-line interfaces to signify a critical alert or command execution.

Frequently Asked Questions

How do I use it in programming?
In many programming languages like JavaScript or C++, the exclamation mark is the logical NOT operator, which flips a boolean value.
Can I use multiple exclamation marks?
While technically possible, using multiple exclamation marks is generally considered poor style in formal writing, as it can appear unprofessional.