Search
Search for a symbol or emoji...
‑
‑
Non-Breaking Hyphen Symbol ‑
Non-Breaking Hyphen Symbol Information
| Symbol Name | Non-Breaking Hyphen |
| Unicode Version | 1.1 (June 1993) |
| Unicode | U+2011 |
| CSS Code | \2011 |
| Hex Code | ‑ |
| HTML Code | ‑ |
| Symbol | ‑ |
Non-Breaking Hyphen Symbol Encoding
| UTF-8 | 0xE2 0x80 0x91 |
| UTF-16 | 0x2011 |
| UTF-32 | 0x00002011 |
How to add non-breaking hyphen symbol via keyboard on different Operating systems
You can type the non-breaking hyphen symbol on most modern devices with the help of following methods:
How to type non-breaking hyphen symbol on Microsoft Word
You can type the non-breaking hyphen in Microsoft Word using steps mentioned below:
- Place your cursor in the text area where you need to insert the symbol and type 2011
- Without moving the cursor press keys Alt + x together
- The original 2011 is now transformed into ‑
How to type non-breaking hyphen symbol on Microsoft Windows
You can type the non-breaking hyphen on Microsoft windows using following steps:
- Hold Alt and press to type non-breaking hyphen on your windows machine.
How to type non-breaking hyphen symbol on Mac OS
You can type the non-breaking hyphen on Mac OS using following steps:
- Place your cursor in the text area where you need to insert the symbol
- Press Ctrl + ⌘ Command + ⎵ Space to bring up the Character Viewer. Alternatively, choose Edit ⇒ Emoji & Symbols
- Type "Non-Breaking Hyphen" in the search field at the top and press Enter
- The symbol should appear. Click on it to insert it into your text


How to type non-breaking hyphen symbol on Linux
You can type the non-breaking hyphen on Linux using following steps:
- Place your cursor in the text area where you need to insert the symbol
- Hold ⇧ Shift + Ctrl and press the letter + U
- Press keys 2011 consecutively
- And then press ↵ Enter , the desired symbol will be added to your document
How to type non-breaking hyphen symbol on IOS and Android
The easiest way to type the non-breaking hyphen symbol on ios and android is to copy and paste it wherever you need it.
How to use non-breaking hyphen in CSS
//CSS Example
1span {
2 content: \2011;
3 }How to use non-breaking hyphen in HTML
//HTML Example
1<span>‑</span>Non-Breaking Hyphen symbol representation in programming languages
Non-Breaking Hyphensymbol's representation in different programming languages can be found in table below:
| Language | Representation |
|---|---|
| Rust | \u{2011} |
| Ruby | \u{2011} |
| Python | \u2011 |
| PHP | \u{2011} |
| Perl | \x{2011} |
| Java | \u2011 |
| Modern JavaScript - Since ES6 | \u{2011} |
| JavaScript | \u2011 |
| Go | \u2011 |
| C# | \u2011 |
| C and C++ | \u2011 |
| Bash and Zsh - inside echo -e | \u2011 |
| RFC 5137 | \u'2011' |
