Not Sign codes and values
| Format | Value |
|---|---|
| Unicode | U+00AC |
| HTML (decimal) | ¬ |
| HTML (hex) | ¬ |
| HTML entity | ¬ |
| CSS | \00AC |
| JavaScript | \u00AC |
| Windows Alt code | Alt+0172 |
The official Unicode name is "Not Sign".
How to type the not sign
Windows
- Hold Alt and type
0172on the numeric keypad, then release. (Num Lock must be on.) - In Microsoft Word, type
00ACand press Alt + X to turn the code into ¬. - Or press Win + . to open the emoji and symbol panel and search for it.
Mac
- Press Control + Command + Space to open the Character Viewer and search for "not sign".
- Or add the "Unicode Hex Input" keyboard in System Settings, hold Option and type
00AC.
Linux
- In GTK apps press Ctrl + Shift + U, type
00acand press Enter.
Web pages
Write ¬ or ¬ in HTML, or paste the character directly into a UTF-8 page.
Encoding details
| Encoding | Value |
|---|---|
| Code point | U+00AC (decimal 172) |
| UTF-8 bytes | C2 AC |
| URL encoded | %C2%AC |
| Category | Sm |
What the not sign means
The not sign is a logical symbol used to represent negation in formal logic and computer science. It indicates that a statement or boolean value should be reversed to its opposite truth state.
Using the not sign well
In programming and markup, use the standard Unicode code point for this symbol to avoid confusion with hyphens or tildes. Verify that your chosen monospaced font distinguishes it clearly from similar punctuation marks.
Characters next to it in Unicode
| Character | Code | Name |
|---|---|---|
| © | U+00A9 | Copyright Sign |
| ª | U+00AA | Feminine Ordinal Indicator |
| « | U+00AB | Left-Pointing Double Angle Quotation Mark |
| | U+00AD | Soft Hyphen |
| ® | U+00AE | Registered Sign |
| ¯ | U+00AF | Macron |
FAQ
What is the Unicode for the not sign?
The not sign ¬ is U+00AC (Not Sign).
How do I type ¬ on a keyboard?
On Windows hold Alt and type 0172 on the numeric keypad. On Mac use the Character Viewer (Control + Command + Space), and on Linux use Ctrl + Shift + U then 00ac.
What is the HTML code for ¬?
Use ¬ or the named entity ¬. The hexadecimal form is ¬.
More symbols
- № Numero Sign: previous page
- ο Omicron Symbol: next page
- Symbols to copy and paste: the full list