En Dash U+2013
Copy and paste the en dash (–). How to type it on Mac, Windows and phone, when to use it for ranges like 2020–2025, and how it differs from the em dash.
- Codepoint
U+2013- Decimal
8211- HTML
–- CSS
\2013- JS
\u2013- URL
%E2%80%93- UTF-8
E2 80 93- Category
Punctuation, Dash (Pd)- Block
General Punctuation
The en dash (–) is a medium-length dash, roughly the width of the letter "N". It is longer than a hyphen, shorter than an em dash, and marks ranges, connections and complex compound modifiers. Use the "Copy En Dash" button above to copy – to your clipboard.
No standard keyboard has an en dash, so casual writing uses a hyphen. Professionally edited text (books, magazines, academic papers, newspapers) uses the en dash for every range. AI models train on that text, so en dashes show up far more often in AI output than in everyday writing.
When to Use an En Dash
- Numeric ranges. Between two numbers that mark a span:
pages 1–10,scores of 85–92,ages 18–24. The dash reads as "to" or "through." - Date ranges.
2020–2025,January–March,the 1990s–2000s. In formal writing a hyphen here is a typographic error. - Connections and directions. Between two things that are joined or opposed:
the Tokyo–Osaka train,a London–Paris flight,the Ali–Frazier fight,a north–south border. - Compound modifiers with multi-word parts. When one part is already a multi-word phrase:
post–World War II,pre–Civil Rights era,New York–based company.
En Dash vs Em Dash vs Hyphen
| Character | Symbol | Codepoint | Width | Primary use | Example |
|---|---|---|---|---|---|
| Hyphen | - | U+002D | Short | Compound words | well-known |
| En Dash | – | U+2013 | Medium (width of N) | Ranges and connections | 2020–2025 |
| Em Dash | — | U+2014 | Long (width of M) | Sentence breaks | He arrived—finally—at noon. |
| Minus Sign | − | U+2212 | Medium | Mathematics | 5 − 3 = 2 |
Quick Rules
- Joining two words? Use a hyphen:
self-aware,well-being,twenty-one. - Showing a range or connection? Use an en dash:
pages 1–10,Monday–Friday,New York–London. - Creating a pause or interruption in a sentence? Use an em dash:
He arrived—finally—at midnight. - Writing math? Use the minus sign (U+2212), not a hyphen.
Why AI Models Love En Dashes
As with em dashes, the cause is training data: editors apply "en dash for ranges," and models learn the rule. People type 2020-2025 with a hyphen because 2020–2025 takes Alt+0150, Option+Hyphen or autocorrect.
So an en dash in a casual blog post, GitHub README or Slack message hints that the text was AI-generated or heavily edited. It is a tell, not proof.
How to Type an En Dash
| Platform | Method |
|---|---|
| Windows | Alt+0150 on the numeric keypad (the "en dash alt code") |
| macOS | Option+Hyphen |
| iPhone / iPad | Long-press the hyphen (-) key, then choose the en dash (–) |
| Android | Long-press the hyphen (-) key, then select the en dash (–) |
| Linux | Ctrl+Shift+U, type 2013, press Enter |
| Microsoft Word | Type word space hyphen space word; autocorrect inserts an en dash |
| Google Docs | Type --; the default substitution (Tools > Preferences > Substitutions) converts it to – |
| HTML | – or – or – |
| JavaScript | \u2013 in strings |
| Python | \u2013 in strings |
| LaTeX | -- (two hyphens renders as en dash) |
| Markdown | Not standard; processors with smart punctuation (e.g., SmartyPants) render -- as en dash |
Style Guide Rules for En Dashes
- Chicago Manual of Style: En dash for ranges, no spaces on either side:
2020–2025. - AP Style: No en dashes; AP uses hyphens for ranges. En dashes in news content mean it was not AP-styled or went through a typesetter.
- British style: Often uses spaced en dashes for sentence breaks where American style uses em dashes:
word – word. AI models that mix style guides sometimes produce inconsistent dashes. - Academic style (APA, MLA): APA uses en dashes for ranges. MLA uses en dashes in published work but accepts hyphens for ranges in student papers.
For a publication, follow its style guide. Otherwise, pick one rule and stay consistent.
When En Dashes Cause Problems
- Regex and validation.
^\d{4}-\d{4}$expects a hyphen and rejects2020–2025. Date ranges pasted from AI content often fail this way. - CSV parsing. En dashes are valid UTF-8 but can trip up older parsers, ASCII-only systems or tools that expect a specific encoding.
- Search and matching. A search for "2020-2025" returns nothing when the stored value has an en dash.
- Command-line arguments. A command-line flag must start with a hyphen, not an en dash. Pasted commands with en dashes often fail silently.
- Code pasted from chat. AI-generated code can contain en dashes in comments and strings, and rich-text tools can turn hyphens into dashes.
Detecting En Dashes
Paste text into our Invisible Character Viewer on the homepage to see every en dash highlighted in context. In code:
The Dash Family in Unicode
| Character | Codepoint | Width | Primary role |
|---|---|---|---|
| Hyphen-Minus | U+002D | Short | ASCII hyphen, minus, flag prefix |
| En Dash | U+2013 | Medium | Ranges, connections |
| Em Dash | U+2014 | Long | Sentence breaks |
| Horizontal Bar | U+2015 | Long | Quotation dash (some languages) |
| Minus Sign | U+2212 | Medium | Mathematical minus |
| Figure Dash | U+2012 | Medium | Same width as a digit; used in phone numbers |
| Soft Hyphen | U+00AD | Invisible | Conditional line-break hyphen |
Most writers only need three: hyphen, en dash and em dash.
Frequently Asked Questions
What is the difference between an en dash and an em dash?
An en dash (–) is medium width, roughly the width of the letter N, and marks ranges and connections. An em dash (—) is longer, roughly the width of M, and marks breaks in sentences. They are separate Unicode characters: U+2013 and U+2014.
When should I use an en dash instead of a hyphen?
Use an en dash for numeric or date ranges (pages 1–10, Monday–Friday), for connections between two things (Tokyo–Osaka train, New York–London flight), and for compound modifiers where one part is a multi-word term (post–World War II era, pre–Civil Rights Movement). Use a hyphen (-) for ordinary compounds like well-known or twenty-one.
How do I type an en dash?
On Windows: Alt+0150 on the numeric keypad. On Mac: Option+Hyphen. In HTML: – or – or –. In Word: type 'word space hyphen space word' and autocorrect makes an en dash. In Google Docs: type two hyphens (--); the default substitution turns them into –. Or copy it from this page.
Does ChatGPT use en dashes?
Yes. AI models trained on professionally edited text use en dashes for ranges, the typographically correct choice. Most people type a hyphen because it is on the keyboard. '2020–2025' with an en dash instead of '2020-2025' is a subtle sign the text was AI-generated or professionally edited.
Can en dashes cause bugs in code or data?
Yes. En dashes are distinct from hyphens (U+2013 vs U+002D), so string matching, search, CSV parsing and regex patterns written for hyphens miss them. If a date range copied from AI text fails 'YYYY-YYYY' validation, or a search for '2020-2025' misses records, an en dash is the likely cause.
Related Characters
Need to find every hidden character in your text, not just the En Dash?
Open the viewer