U+00ACNot Sign

Not Symbol

Not Sign (¬) shown large, with its baseline, x-height and cap height
Alt code
Alt 0172
HTML
¬
Unicode
U+00AC

The not symbol (¬) is Unicode U+00AC, HTML ¬, Alt 0172 on Windows, Option+L on a Mac.

The not sign is the standard symbol for logical negation in mathematics and digital logic, read as not p. It sits inside the Latin-1 range, which is why it has a Windows alt code unlike most logic symbols on this page. Reach for ¬ in equations, formulas and technical writing, where a plain keyboard falls short. It is cataloged at Unicode code point U+00AC in the math set, so it renders the same real text character in every app that supports the font, not a pasted image.

Render test

Checking whether this device has a font that can draw ¬.

Not Sign in every code representation: Unicode, HTML, CSS, JavaScript, UTF-8/UTF-16 and Windows alt code.
Symbol¬
UnicodeU+00AC
NameNot Sign
HTML (decimal)¬
HTML (hex)¬
CSS content\00AC
JavaScript / JSON\u00AC
UTF-8 bytes0xC2 0xAC
UTF-16 units0x00AC
Windows alt codeAlt 0172 or Alt 170

Source: Unicode Character Database. Code point verified as assigned in Unicode 17.0. Last updated . Report an error

How do you type the not sign on each platform?

Find your platform in the first column.

Every way to type the not sign ¬, by platform
WhereHow to type it
Any deviceClick the ¬ at the top of this page. It goes straight to your clipboard, and you paste it with Ctrl+V on Windows or Cmd+V on a Mac. This is the only method that behaves identically everywhere.
WindowsHold Alt and type 0172 on the numeric keypad, then release Alt. With the leading zero Windows reads the number from the Windows-1252 code page. Alt 170, without the zero, reads code page 437, the old DOS set, and gives the same character on US-English Windows; other system languages can map that shorter number to a different character. The number row above the letters does not work for this.
macOSAdd Unicode Hex Input under Keyboard settings, switch to it, then hold Option and type 00AC. Without that input source, open the Character Viewer with Control+Command+Space and search for not sign.
Linux and ChromeOSPress Ctrl+Shift+U, type 00ac, then press Enter or the space bar. This works in GTK applications and with IBus.
Microsoft WordType 00AC in the document, then press Alt and X together with the cursor immediately after the last digit. Word replaces the digits with ¬.
Google DocsInsert, then Special characters, then paste U+00AC or type not sign in the search box. You can also draw the shape in the sketch pad on the right.
Excel and Google SheetsUse the formula UNICHAR(172) in a cell. Copy the cell and paste it as a value if you want the character rather than the formula.
HTMLWrite ¬ or ¬. There is no standard named entity for this character. On a page served as UTF-8 the character itself also works.
CSSUse content: "\00AC" inside a ::before or ::after rule. Terminate the escape with a space if the next character is also a hexadecimal digit.
JavaScriptThe escape \u00AC produces this character inside a string literal, and the same escape is valid in JSON.

More detail per platform: Windows alt codes, special characters on a Mac, special characters in Word and HTML entities.

Frequently asked questions

How do I copy the not sign symbol?

Press the Copy ¬ button at the top of this page, or click the large ¬, and it is placed on your clipboard. Paste it anywhere with Ctrl+V or Cmd+V. It is a real text character, so it works in documents, chats and code.

What is the Unicode code point for not sign?

The not sign has the Unicode code point U+00AC. In HTML you can write it as ¬ or ¬.

What is the alt code for the not sign symbol?

On Windows, hold the Alt key and type 0172 or 170 on the numeric keypad, then release Alt. Copying the ¬ from this page is quicker and works on any device.

Does the not sign symbol work everywhere?

In almost every modern app and font, yes. If a font does not include this glyph you may see a placeholder box, but the underlying character U+00AC is still correct and will render in a font that supports it. The render test on this page checks your own device.

Related symbols