U+2013

En dash

En dash is a monochrome text character from the Unicode General Punctuation block, listed here under Punctuation. Copy it with one click, or use the hex, octal, decimal and HTML entity codes below to embed it in web pages, code, and documents. It is often searched for as "range", "dash".

Quick facts

Unicode
U+2013
Decimal
8211
Hex
0x2013
Octal
0o20023

Unicode identity

FormatValueCopy
Code pointOfficial Unicode notationU+2013
Official nameUnicodeData.txt, Unicode 18.0.0EN DASH
DecimalBase 108211
HexadecimalBase 160x2013
OctalBase 80o20023
BinaryBase 20010000000010011
General categoryPunctuation, dashPd
Unicode blockU+2000–U+206FGeneral Punctuation
PlaneBasic Multilingual Plane (BMP, Plane 0)

HTML & CSS

FormatValueCopy
HTML entity (decimal)–
HTML entity (hex)–
HTML entity (named)–
CSS content escapeUse inside content: "…"\2013
URL encodedPercent-encoded UTF-8%E2%80%93

Programming languages

FormatValueCopy
JavaScript / TypeScript\u2013
JSONUTF-16 surrogate pairs\u2013
Python\u2013
Java / C# / Kotlin\u2013

Byte encodings

FormatValueCopy
UTF-83 bytesE2 80 93
UTF-16 (BE)2013
UTF-32 (BE)00002013

How to type En dash

  • Windows

    Hold Alt and type +2013 with the hex numeric keypad option enabled, or type 2013 then press Alt+X in Word and most Office apps.

  • macOS

    Enable the Unicode Hex Input keyboard, hold Option, and type 2013. Or open Character Viewer (Control+Command+Space) and search "En dash".

  • Linux

    Press Ctrl+Shift+U, type 2013, then press Space or Enter in GTK apps. IBus and most terminals support the same sequence.

  • HTML, CSS & code

    Paste the character directly, or use the escapes above: – in HTML, \2013 in CSS, and \u2013 in JavaScript.

Official Unicode reference

Character name
EN DASH
Block
General Punctuation (U+2000–U+206F)
General category
Pd — Punctuation, dash

Data from the Unicode Character Database, version 18.0.0. See the official code chart for the General Punctuation block: U2000.pdf (PDF, unicode.org).

Frequently asked questions

How do I copy the En dash symbol?

Click the Copy button at the top of this page, or select – and press Ctrl+C (Cmd+C on Mac). It is plain Unicode text, so it pastes into documents, chats, code, and design tools.

What is the Unicode code point for En dash?

En dash is U+2013 (decimal 8211, hexadecimal 0x2013, octal 0o20023). It lives in the General Punctuation block (U+2000–U+206F) of the Basic Multilingual Plane (BMP, Plane 0).

What is the official Unicode name of En dash?

The Unicode Standard (version 18.0.0) names this character "EN DASH". Its General_Category is Pd (Punctuation, dash).

What is the HTML code for En dash?

Use – or –, or the named entity –. In CSS, use content: "\2013".

How do I type En dash in code?

JavaScript: "\u2013". Python: "\u2013". JSON and Java: "\u2013". The UTF-8 byte sequence is E2 80 93.

Is En dash an emoji?

No. En dash is a text symbol and renders as a monochrome glyph in the current font. Some platforms may offer an emoji variant when U+FE0F is appended.

View all punctuation