Copy & encode
Character
–Unicode codepoint
U+2013HTML named entity
–HTML decimal entity
–HTML hex entity
–CSS escape
\2013JavaScript escape
\u2013Meaning and usage
It is the correct mark for number ranges such as 2020-2024 or page 10-15, and for connecting related terms, unlike the shorter hyphen or the longer em dash.
Frequently Asked Questions
What is the HTML entity for the en dash?
Use – or –.
What is the difference between a hyphen, en dash, and em dash?
A hyphen (-) joins words, an en dash (–) shows a range, and an em dash marks a stronger break in a sentence.