U+00AD · Latin-1 Supplement
Soft hyphen: how to type this invisible character
Copy it with one click, or type it with Alt + 0173 on Windows.
- WindowsAlt+0173 numeric keypad
- MacCtrl+⌘ Cmd+Space Character Viewer, then search
- Word00ADthenAlt+X
- iPhoneNo long-press for it. Copy it here.
- HTML
­or­
Every way to type it
Only methods that exist on that system are shown as shortcuts.
Windows Alt code
- Turn on Num Lock.
- Hold Alt and type the digits on the numeric keypad (not the top row).
- Let go of Alt.
Mac Character Viewer
No Option-key shortcut exists on the U.S. layout. In the Character Viewer, search “soft hyphen” and double-click it.
Microsoft Word Alt + X
Type 00AD, then press Alt + X (Word for Windows).
Google Docs menu
Insert › Special characters, then search “soft hyphen”, or paste it from here.
iPhone and iPad copy
Not on a long-press of the default keyboard. Copy it here, or add a Text Replacement (Settings › General › Keyboard › Text Replacement).
Android symbol pages
Gboard keeps many common symbols on its symbol pages (tap ?123, then =\<). If it is not there, copy it here, or save it in Gboard’s Personal dictionary with a shortcut.
Linux Unicode input
GNOME and most GTK apps (IBus).
Chromebook Unicode input
Type the code after the underlined u appears.
How soft hyphen is stored in UTF-8
2 bytes (16 bits) for 1 code point
Codes
For HTML, CSS, JavaScript, JSON, Python and URLs.
| HTML entity | ­ | |
|---|---|---|
| Unicode | U+00AD | |
| HTML decimal | ­ | |
| HTML hex | ­ | |
| CSS content | \00AD | |
| JavaScript | \u00AD | |
| JSON | \u00ad | |
| Python | \u00ad | |
| UTF-8 bytes | C2 AD | |
| UTF-16 | 00AD | |
| URL encoded | %C2%AD | |
| Python name | \N{SOFT HYPHEN} |
From the Unicode Standard
Names, aliases and notes from the Unicode 13.0 names list.
- Unicode name SOFT HYPHEN
- Category Format character (Cf)
- Block Latin-1 Supplement
- Also called discretionary hyphen
- Note commonly abbreviated as SHY
Related symbols
Look-alikes named in the Unicode notes first, then neighbours in the same block.
| Symbol | Name | Code | Alt code |
|---|---|---|---|
| ® | Registered | U+00AE | Alt + 0174 |
| ¬ | Not sign | U+00AC | Alt + 0172 |
| ¯ | Macron | U+00AF | Alt + 0175 |
| « | Left-pointing double angle quotation mark | U+00AB | Alt + 0171 |
| ° | Degree sign | U+00B0 | Alt + 0176 |
| ª | Feminine ordinal indicator | U+00AA | Alt + 0170 |
Questions
What is the Alt code for Soft hyphen (soft hyphen)?
Hold Alt and type 0173 on the numeric keypad, then let go of Alt.
How do I type soft hyphen on a Mac?
Character Viewer: press Ctrl + Cmd + Space and search its name, because no Option-key shortcut exists.
What is the HTML code for soft hyphen?
Use ­ or ­ (decimal) or ­ (hex).
Sources: Unicode Character Database 13.0 and Unicode emoji 13.0 (Unicode, Inc.); Alt codes computed from code pages 437 and 1252; Mac keys from the Apple U.S. keyboard layout. How this page is made.