Hyphen Copy and Paste

Copy a hyphen symbol to paste: the keyboard -, the true ‐, the non-breaking ‑, or a long hyphen.

-Hyphen-minusU+002DReady to copy

20 hyphens and look-alikes. Tap any value to copy it.

20 hyphens and look-alikes. A character and its name both copy the character. A code copies the code.
CharacterNameCode pointAlt codeOption keysHTMLLaTeX
U+002D. The hyphen of the keyboard, the key right of the zero on the U.S. layout. Unicode calls it hyphen-minus because it is the minus key too. Alt+45 types it, its number in ASCII.
U+2010. A hyphen with no second job: never a minus sign. It is seldom used, since the keyboard types the other one. ‐ in HTML.
U+2011. Unicode records it as U+2010 with a no-break rule: a line of text does not break after it. No Alt code table holds it, and it has no HTML name.
U+00AD. Invisible inside a line. It marks where a word may be broken, and shows as a hyphen only when the break is used there. Alt+0173, ­ in HTML.
U+2013. A dash, wider than any hyphen: the medium length that people call a long hyphen. Alt+0150, Option+- on the U.S. layout, – in HTML, \textendash in LaTeX.
U+2014. The long dash, which may be used in pairs to set off words inside a sentence. Alt+0151, Option+Shift+- on the U.S. layout, — in HTML, \textemdash in LaTeX.
U+2043. For lists: it stands at the head of each item, the job a round dot does elsewhere. ⁃ in HTML.
U+2E40. Two strokes, one above the other. Some dictionaries print it for the hyphens that belong to a word and keep the single one for line breaks. In Unicode since version 7.0 (2014).

How it works

The hyphen sign on the keyboard is -, U+002D, which Unicode names hyphen-minus because it is the minus key as well. Unicode also has a hyphen character with no second job, ‐, and a non-breaking one, ‑.

Read the full guide

Hyphen codes

The ASCII code for the hyphen is 45, so Alt+45 types it with the Alt key. The soft hyphen is Alt+0173 and ­ in HTML. The non-breaking hyphen, U+2011, is in neither table of Alt key codes, and HTML5 has no name for it among its special characters: ‑ writes it.

A long hyphen is a dash

A longer or elongated hyphen is a different special character: the medium en dash –, Alt+0150, or the long em dash —, Alt+0151. On the U.S. keyboard they are Option and the hyphen key, and Option, Shift and the hyphen key.

  • No superscript hyphen exists; ⁻, U+207B, is the superscript minus.
  • As a negative sign the keyboard character is Alt+45; the true minus, −, has no Alt code.
  • A fancy or double hyphen, ⁃ or ⹀, has no key and no Alt code: it is copied as text.

Questions and answers

Where is the hyphen symbol on the keyboard?

On the U.S. layout it is the key to the right of the zero in the number row, pressed without Shift. The character it types is the hyphen-minus, U+002D, which serves as the minus sign too.

What is the Alt code for a hyphen?

Alt+45, its ASCII number, for the keyboard hyphen. A long hyphen is a dash: Alt+0150 types the en dash – and Alt+0151 the em dash —. The soft hyphen is Alt+0173.

What is the Unicode non-breaking hyphen?

U+2011, ‑. Unicode defines it as the hyphen U+2010 with a no-break rule, so the line does not break after it. It has no Alt code and no HTML name.

What is a soft hyphen?

An invisible character, U+00AD, that marks where a word may be broken at the end of a line. It shows as a hyphen only when the break happens there. Unicode also calls it the discretionary hyphen.

What is the difference between a hyphen and a dash?

A hyphen joins words and separates the syllables of one word. Dashes are wider characters: the en dash – and the em dash —. The minus sign − is wider too, and usually drawn a little higher.

All 20 hyphens and look-alikes

Start here 8

  • Double hyphen U+2E40. Two strokes, one above the other. Some dictionaries print it for the hyphens that belong to a word and keep the single one for line breaks. In Unicode since version 7.0 (2014).
  • Em dash U+2014. The long dash, which may be used in pairs to set off words inside a sentence. Alt+0151, Option+Shift+- on the U.S. layout, — in HTML, \textemdash in LaTeX.
  • En dash U+2013. A dash, wider than any hyphen: the medium length that people call a long hyphen. Alt+0150, Option+- on the U.S. layout, – in HTML, \textendash in LaTeX.
  • Hyphen U+2010. A hyphen with no second job: never a minus sign. It is seldom used, since the keyboard types the other one. ‐ in HTML.
  • Hyphen bullet U+2043. For lists: it stands at the head of each item, the job a round dot does elsewhere. ⁃ in HTML.
  • Hyphen-minus U+002D. The hyphen of the keyboard, the key right of the zero on the U.S. layout. Unicode calls it hyphen-minus because it is the minus key too. Alt+45 types it, its number in ASCII.
  • Non-breaking hyphen U+2011. Unicode records it as U+2010 with a no-break rule: a line of text does not break after it. No Alt code table holds it, and it has no HTML name.
  • Soft hyphen U+00AD. Invisible inside a line. It marks where a word may be broken, and shows as a hyphen only when the break is used there. Alt+0173, ­ in HTML.
Show all 20 hyphens and look-alikes (12 more)

Hyphens 2

  • Hyphen with diaeresis U+2E1A. A hyphen under two dots. In a dictionary it shows that a plural form's stem vowel takes an umlaut, by the note in the standard.
  • Hyphenation point U+2027. A raised dot, not a stroke: Unicode's note calls it a visible symbol for the right places to break a word, as in dic·tion·ar·ies.

Double hyphens 2

  • Double oblique hyphen U+2E17. Two slanted strokes, grown out of the double slash of old print. Unicode notes that Fraktur fonts draw their hyphen with this shape.
  • Katakana-Hiragana double hyphen U+30A0. The double hyphen of Japanese writing, kept in the Katakana block.

Hyphens of other scripts 3

  • Armenian hyphen U+058A. The hyphen of the Armenian block; yentamna is the name Unicode records beside it.
  • Canadian syllabics hyphen U+1400. The hyphen of Canadian syllabics. Unicode cross-references it from the equals sign.
  • Mongolian Todo soft hyphen U+1806. Soft in name only: Unicode notes that it is no format control, simply a hyphen for Todo.

Longer or higher: dashes and minus 2

  • Minus sign U+2212. The true minus: wider than a hyphen and mostly set a bit higher, level with the bar of the plus sign. − in HTML, \textminus in LaTeX.
  • Modifier letter minus sign U+02D7. A small raised stroke among the modifier letters, cross-referenced in the standard from the keyboard hyphen; phonetics reads it as retracted or backed articulation.

Newer, may be an empty box 3

  • Garay hyphen U+10D6E. The hyphen of the Garay script, in the standard since version 16.0 (2024).
  • Oblique hyphen U+2E5D. One slanted stroke, added in Unicode 14.0 (2021).
  • Yezidi hyphenation mark U+10EAD. The hyphenation mark of the Yezidi script, added in Unicode 13.0 (2020).

How this list was compiled: Names, and the code points they belong to, are checked against UnicodeData.txt, version 18.0.0 (https://www.unicode.org/Public/18.0.0/ucd/UnicodeData.txt), and printed in sentence case. Notes that begin Unicode's note quote NamesList.txt of the same version (https://www.unicode.org/Public/18.0.0/ucd/NamesList.txt); the version a character was added in is from DerivedAge.txt (https://www.unicode.org/Public/18.0.0/ucd/DerivedAge.txt), block names are from Blocks.txt, and the years are from https://www.unicode.org/history/publicationdates.html. Alt codes are from the code page 437 table (https://www.unicode.org/Public/MAPPINGS/VENDORS/MICSFT/PC/CP437.TXT), the PC graphics table for codes 1 to 31 (https://www.unicode.org/Public/MAPPINGS/VENDORS/MISC/IBMGRAPH.TXT) and the code page 1252 table (https://www.unicode.org/Public/MAPPINGS/VENDORS/MICSFT/WINDOWS/CP1252.TXT). Option keys are those of the U.S. keyboard layout as CLDR records it (https://github.com/unicode-org/cldr/blob/release-42/keyboards/osx/en-t-k0-osx.xml); other layouts differ. HTML entity names are from https://html.spec.whatwg.org/entities.json. LaTeX macros are listed only when LaTeX's own fontdef.dtx, ltoutenc.dtx or utf8ienc.dtx (https://github.com/latex3/latex2e/tree/develop/base) or the amssymb source (https://ctan.org/pkg/amsfonts) defines them, matched to a code point through unicode-math-table.tex (https://github.com/latex3/unicode-math). The rows are chosen from the 16 characters whose Unicode name holds the word HYPHEN, found by a search of UnicodeData.txt, with the hyphenation point, two dashes, the minus sign and the modifier letter minus sign added; the small and fullwidth forms wait on the dash page. That the non-breaking hyphen is the hyphen with a no-break rule is from the decomposition field of UnicodeData.txt. The key is from the CLDR record of the U.S. layout and the Alt code of the keyboard hyphen is its place in the code page 437 table, which is also its ASCII number. What a hyphen is for, the name hyphen-minus, the seldom used Unicode hyphen, the wider dashes and minus, and the dictionaries that print a double hyphen: https://en.wikipedia.org/wiki/Hyphen; the soft hyphen: https://en.wikipedia.org/wiki/Soft_hyphen; the double slash behind the double hyphens: https://en.wikipedia.org/wiki/Slash_(punctuation). All read on 2026-10-03 and restated in this site's own words. A device without a font for a character of the last group draws an empty box. The Start here group and the order are this site's own choice. Licence: own work (facts from the Unicode Character Database, Unicode License v3, and from Wikipedia, CC BY-SA 4.0, restated in this site's own words; aliases and notes marked as Unicode's are quoted from NamesList.txt, Copyright © 1991-2026 Unicode, Inc., https://www.unicode.org/license.txt)