Soft Hyphen

­

Shortcodes

Copy and paste codes for Soft Hyphen symbol ­ to use in your websites, apps, blogs, and more.

Unicode
U+00AD
Alt Code
0173
HTML Code
­
HTML Entity
­
HEX Code
­
CSS Code
\0AD
JS/JSON
\u00AD
Unix/C/PHP/JAVA
0xAD
URL-encode
%C2%AD
copied

Customize Soft Hyphen Symbol

Customize ­ symbol as you like and download Soft Hyphen as SVG or PNG or copy its HTML code to use in your projects.

Preview helps customize symbol. Downloaded image and HTML code may have size/spacing differences.
­
 

How to type Soft Hyphen symbol ­ ?

Using Soft Hyphen Alt Code:

You can type the Soft Hyphen symbol ­ using your keyboard by using the Alt Code for Soft Hyphen. Before you begin, ensure that your Num Lock is turned on, and use the Numpad to type the code. Then, follow these simple steps:

  1. Hold down the Alt key on your keyboard.
  2. Type the number 0173 using the Numpad.
  3. Release the Alt key.

This will make the ­ appear on your screen.

How to add Soft Hyphen symbol in HTML, CSS, and JS?

Insert ­ Soft Hyphen using HTML

1. Copy-paste Soft Hyphen directly:
<span>­</span>
2. HTML Decimal Code:
<span>&#173;</span>
3. HTML Entity:
<span>&shy;</span>
4. Hexadecimal Code:
<span>&#x00AD;</span>
Preview: ­

Add Soft Hyphen symbol with CSS

.soft-hyphen::before {
    content: '\\0AD';
}
Preview: Soft Hyphen

Soft Hyphen JavaScript Code

1. Direct Symbol:
document.querySelector('.soft-hyphen').textContent = '­';
2. Unicode Escape for ­:
document.querySelector('.soft-hyphen').textContent = '\u00AD';
Preview: ­