Not Equal Sign codes and values
| Format | Value |
|---|---|
| Unicode | U+2260 |
| HTML (decimal) | ≠ |
| HTML (hex) | ≠ |
| HTML entity | ≠ |
| CSS | \2260 |
| JavaScript | \u2260 |
The official Unicode name is "Not Equal To".
How to type the not equal sign
Windows
- In Microsoft Word, type
2260and 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 equal to".
- Or add the "Unicode Hex Input" keyboard in System Settings, hold Option and type
2260.
Linux
- In GTK apps press Ctrl + Shift + U, type
2260and 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+2260 (decimal 8800) |
| UTF-8 bytes | E2 89 A0 |
| URL encoded | %E2%89%A0 |
| Category | Sm |
What the not equal sign means
This mathematical operator asserts that two expressions or values do not share the same magnitude. Programmers and mathematicians rely on it to build logical conditions where equivalence must be explicitly rejected.
Using the not equal sign well
In HTML documents, use the entity ≠ or Unicode U+2260. For programming, follow language conventions by typing an exclamation mark followed by an equals sign instead of pasting the typographic symbol.
Characters next to it in Unicode
| Character | Code | Name |
|---|---|---|
| ≝ | U+225D | Equal To By Definition |
| ≞ | U+225E | Measured By |
| ≟ | U+225F | Questioned Equal To |
| ≡ | U+2261 | Identical To |
| ≢ | U+2262 | Not Identical To |
| ≣ | U+2263 | Strictly Equivalent To |
FAQ
What is the Unicode for the not equal sign?
The not equal sign ≠ is U+2260 (Not Equal To).
How do I type ≠ on a keyboard?
There is no classic Alt code for it. On Windows type 2260 in Word and press Alt + X, on Mac use the Character Viewer, and on Linux press Ctrl + Shift + U then 2260.
What is the HTML code for ≠?
Use ≠ or the named entity ≠. The hexadecimal form is ≠.
More symbols
- § Section Symbol: previous page
- ☯ Yin Yang Symbol: next page
- Symbols to copy and paste: the full list