Home / Guides

En Dash (–): What It Is, When to Use It and How to Type It

Published 2026-10-26

The en dash (–) is a mid-length dash that mostly stands for the word "to" in ranges such as 2020–2024 or pages 10–20. It is longer than a hyphen and shorter than an em dash, and it has its own code, U+2013. This guide covers what it is for, how to type it on Windows, Mac, phones and in Word, the HTML code, and what to do when an en dash causes trouble in data.

What is an en dash?

An en dash is a punctuation mark that links two things, usually the two ends of a range. The name comes from the en, a typesetting unit that is half the width of an em. In most fonts the en dash is about as wide as a capital N, which puts it between the short hyphen and the long em dash.

It is a separate character from the hyphen on your keyboard, not just a longer drawing of it. Software compares characters by code, so a search for a hyphen does not find an en dash, and the other way round. Here is the character with its codes. You can select and copy the first column.

CharacterNameUnicodeHTMLUTF-8 bytes
–En dashU+2013– or –E2 80 93
-Hyphen-minus (keyboard key)U+002Dtyped directly2D
—Em dashU+2014— or —E2 80 94

When to use an en dash

The en dash has a short list of jobs. Most of them come down to "from this to that" or "between these two".

JobExample
Ranges of numberspages 10–20, ages 18–24, 2020–2024
Ranges of times and dates9:00–17:00, Monday–Friday, June–August
Scores and vote countsthe home side won 3–1, the motion passed 5–4
A link between equal partnersthe London–Paris train, the US–Canada border, a mother–daughter project
Joint names of two people in a law or a discoverythe Michaelis–Menten equation
A compound where one part has a spacethe New York–London flight, post–World War II

A hyphen would also work in plain text for most of these, and many people use it. In printed or formal writing, editors expect the en dash.

Rules that trip people up

Some British publishers use a spaced en dash for the pause that Americans mark with an em dash. If you see "the plan – though nobody liked it – went ahead", that is the convention at work, not a mistake.

How to type an en dash

WhereHow
Mac, any appOption + - (the hyphen key)
Windows, any appHold Alt and type 0150 on the numeric keypad, with Num Lock on
Word on WindowsCtrl + - on the numeric keypad, or type 2013 and press Alt + X
Word, automaticallyType a word, a space, a hyphen, a space and the next word. Word replaces the hyphen with an en dash once you type the following word
Google DocsInsert > Special characters, then search for en dash
iPhone and iPadOn the numbers keyboard, touch and hold the hyphen key and slide to the en dash
Android with GboardOn the symbols keyboard, touch and hold the hyphen key and pick the en dash
LinuxCompose key, then - - .; or Ctrl + Shift + U, type 2013 and press Enter in apps that support it
HTML–, – or –
LaTeXTwo hyphens in a row: --

The Alt code needs a real numeric keypad. The number row above the letters does not work for it. On a laptop without a keypad, copy the character from this page or use the emoji and symbols panel (Win + . on Windows 10 and 11). The Mac shortcut assumes the US layout; on other layouts, use the key that carries the hyphen.

En dash in code and web pages

In a web page, – is the safest way to write it, because it survives a file saved in the wrong encoding. The same character in other places:

En dash vs hyphen and em dash

The hyphen joins parts of a word, the en dash links the ends of a range, and the em dash breaks a sentence. The hyphen is the shortest and has no spaces around it. The em dash is the longest and, depending on the style guide, may or may not have spaces. Our guide to the em dash, en dash and hyphen sets all three side by side, and hyphen vs dash gives a quick test for choosing between them.

Problems with en dashes in data

An en dash that looks right in a document can break things once it travels somewhere that expects plain characters.

Text from AI chat tools and word processors is a common source, because they often swap typed hyphens in ranges for en dashes. The change is correct typography and still unwelcome in a database.

How to replace en dashes with hyphens

With the AI Text Cleaner

In the AI Text Cleaner, tick Replace en dash (–) with a hyphen. It is off by default, since en dashes in ranges are usually right in prose. When it is on, every U+2013 becomes - and the summary counts the dashes changed. The separate Em dash option does not touch en dashes, and the tool leaves the true minus sign (U+2212) alone.

In Word

Open Find and Replace, enter ^= in the Find box and a hyphen in the Replace box, then choose Replace All.

In a spreadsheet

=SUBSTITUTE(A1, UNICHAR(8211), "-")

In code

text = text.replace("\u2013", "-")

Common mistakes

Quick answers

What is an en dash used for? Mostly for ranges, such as 2020–2024, and for links between two equal items, such as London–Paris.

How long is an en dash? About the width of the letter N in the font, which is half an em.

What is the keyboard shortcut for an en dash? Option + - on a Mac, and Alt + 0150 on the numeric keypad in Windows.

Can I use a hyphen instead? In email, chat, code and data, yes. In books, reports and formal documents, readers expect the en dash in ranges.

Need plain hyphens in a range? Paste your text and tick the option that replaces the en dash with a hyphen. It is off by default. Open the AI Text Cleaner

Related guides