Select it and check the code point
Paste the character into the identifier on the dash symbols page: it reports U+2015 for a horizontal bar and U+2014 for an em dash.
Copy & paste · Character reference
One click to copy the horizontal bar (U+2015) — visually identical to an em dash, a different character to every parser, and the usual culprit when text breaks on a paste.
Click the box to select the character, then press Ctrl + C (⌘ + C on Mac).
The long dashes — for asides, interruptions and full-width rules.
The horizontal bar (―, U+2015) is the em dash’s invisible twin. The two characters are the same width, the same weight and, in nearly every font, pixel-for-pixel identical on screen. They are not the same character: the em dash is U+2014 and the horizontal bar is U+2015, and any software that compares strings by code point — a validator, a database index, a merge tool, a stylesheet — sees them as completely different. That is why this character causes so much confusion: you look at a sentence, you see an em dash, you search for an em dash, and you find nothing.
Unicode includes the horizontal bar for one specific job: the quotation dash. In typeset dialogue it marks a change of speaker at the start of a line, a convention that is standard in Portuguese, Spanish, Russian and a dozen other languages, and still used in some British publishing. Design tools then spread it beyond that job: InDesign, for instance, exposes it as a separate glyph and exports it from documents that never intended a quotation dash, and PDF generation pipelines occasionally substitute it for the em dash along the way. That is how it ends up in an ordinary English sentence.
If a horizontal bar is sitting in your text, the fix is the same as for any other dash: the em dash remover deletes it — the tool matches U+2015 inside its em dash family — and the remove-all-dashes tool clears it alongside everything else. If you specifically need a horizontal bar, the copy button above is the reliable way to get one, because typing it by hand is impractical and the Alt code works only on Windows. And if your goal is the opposite — a quotation dash where the dash is the point — use it deliberately, and set it up as a style rather than pasting the character into each line.
Keyboard shortcuts for every platform — or skip the typing and copy the character above.
| Platform | Shortcut |
|---|---|
| Windows (any app) | Alt + 8213 on the numeric keypad |
| Windows (reliable route) | charmap.exe → search “horizontal bar” or U+2015 |
| Mac | No shortcut — copy it above or use Emoji & Symbols (⌃⌘Space) |
| Google Docs | Insert → Special characters → search “horizontal bar” |
| HTML / CSS | ― or ― · content: "\2015" |
| Word | Insert → Symbol → More Symbols → search the code point |
What the character looks like doing its job — and what changes if you swap in a different dash.
― Do you remember me? ― the stranger asked.
The plan ― risky as it was ― worked.
Revenue rose ― slowly ― through the quarter.
― それでは、始めましょう。
You cannot do it by eye — the two glyphs are the same shape. These are the three checks that actually work.
Paste the character into the identifier on the dash symbols page: it reports U+2015 for a horizontal bar and U+2014 for an em dash.
If Ctrl+H with an em dash finds nothing but you can still see a long dash, the document is using the horizontal bar — or another look-alike.
An InDesign export, a PDF conversion or a translated dialogue file are the three sources that introduce it most often.
Code points are the only reliable test, because the visual difference is zero. If you work with pasted text regularly, thedash symbols referencelists all eleven dash-like characters in one table, and theem dash removerclears both twins in a single click.
Three characters that look like each other and never behave the same way. Copy the one you need, or read the full reference for each.
The em dash remover deletes U+2015 along with U+2014, so a paste that broke a validator comes back clean.
Remove em dashes and bars