Why Convert Em Dashes to Hyphens?
While em dashes (—) and en dashes (–) are standard in formal book publishing and graphic design, they present significant technical challenges in software development, data engineering, and digital communications:
| Use Case | Why Em Dashes (—) Cause Problems | Why Hyphens (-) Solve It |
|---|---|---|
| URL Slugs & Web Links | Em dashes get URL-encoded into ugly strings like %E2%80%94 in links. |
Hyphens (-) form clean, human-readable, SEO-friendly URLs. |
| SMS Messaging | An em dash forces SMS gateways into 70-character UCS-2 mode, tripling messaging costs. | Standard hyphens stay within standard 160-character GSM-7 encoding. |
| Code & CLI Scripts | Compilers throw unexpected token or invalid character syntax errors. |
Hyphens are valid ASCII operators and argument flags. |
| Legacy Databases | Old ASCII or Latin-1 database tables corrupt — into question marks (?) or mojibake (—). |
Hyphens (U+002D) are universally supported across all character sets. |
How to Convert Em Dashes to Hyphens Instantly
- Paste your text into the Remove Em Dash Tool above.
- The tool instantly replaces all em dashes (
—), en dashes (–), horizontal bars (―), and figure dashes (‒) with a clean standard hyphen (-). - Click Copy to paste the normalized ASCII text into your code, CMS, or spreadsheet.
All-in-One Paste Repair
If your text also contains smart quotes (“”), non-breaking spaces, or zero-width characters, use our signature Clean Pasted Text tool to repair all formatting damage in a single click.