fsymbols
Loading symbols…
››
‐

hyphen

Hyphen

‐ is the dedicated Unicode hyphen, a pure punctuation mark that joins word parts, as in well-known, or shows that a word continues on the next line. The dash key on your keyboard types a different character, the hyphen-minus, which also serves as a minus sign. The two often look identical, but software treats them as separate characters.

Text symbol
Search it as
unicode hyphen · typographic hyphen · hyphen symbol · real hyphen · U+2010 · hyphen vs hyphen-minus
Shows up in
Anything that takes text · its shape is whatever your font draws

What ‐ means

The keyboard mark does two jobs; this hyphen does one.

The key beside 0 types the hyphen-minus, inherited from the old ASCII character set, where one mark had to act as both hyphen and minus sign. The typographic hyphen ‐ means only “hyphen”. Fonts often draw them the same, but computers compare characters, not shapes.

What does a hyphen do?

It connects word parts or marks a word's continuation.

In English, placement can change the scene: a man-eating shark eats people; a man eating shark is having dinner. The little mark decides whose lunch it is. Compound spelling and prefix rules differ between languages, so the English example is not a universal recipe.

A hyphen can also mark where a word is divided at the end of a line. An ordinary hyphen may allow a line break after it; if the joined expression must stay together, use a non-breaking hyphen.

Where did the hyphen come from?

It evolved from earlier joining marks. In ancient Greek grammatical writing, a curved under-tie showed that text should be read together; it was not yet a short horizontal stroke.

As word spacing spread in the Middle Ages, related marks took on joining words and dividing them at line ends. English compound hyphenation is attested from the 16th century. The minus sign's similar look does not mean a shared origin.

Don't confuse it with

5

Questions people ask

1

Will ‐ break my search or code?

It can. Search boxes, spreadsheets and programming languages treat ‐ and - as different characters, so A‐12 may not match A-12, and ‐ does not work as a minus in formulas.

How to type ‐

Windows (Word)
Alt+XType 2010, then Alt+X to get ‐.
Windows
Win+Rrun charmap for the full table, or use the emoji picker's Ω symbols tab (Win + .).
macOS
Control+Command+SpaceOpen the character viewer and search “hyphen”.
Linux
Ctrl+Shift+UType 2010, then Enter or Space.
HTML
‐
CSS
\2010
Microsoft Word
Type 2010, then press Alt+X; Word turns the code into ‐.
macOS
Enable the Unicode Hex Input keyboard in settings, then hold Option and type 2010.
Linux
In most GTK apps, press Ctrl+Shift+U, type 2010, then press Space or Enter.
HTML
Write ‐ or ‐ in the page source.
Everyday typing
The keyboard hyphen-minus is the normal substitute when nothing requires the dedicated character.
Codes and encoding1 code points
HTML decimal
‐
HTML hex
‐
CSS content
content: "\2010";
Each escape is closed by the next backslash; a trailing space is needed before a literal hex digit.
URL encoded
%E2%80%90
1
On screen
1
Code points
1
JS .length
3
UTF-8 bytes

A visible symbol can contain several code points. JS .length counts UTF-16 units; UTF-8 counts bytes.

Families this belongs to

1

Typography & punctuation332 symbols