📖 Dashes & Punctuation

Converting Em Dashes to Hyphens

When multi-byte Unicode dashes break code compilers, legacy databases, SMS character limits, and URL slugs, here is how to convert them into standard ASCII hyphens.

Key Takeaway

Em dashes (—, U+2014) are multi-byte Unicode characters that can break legacy databases, URL slug generators, and SMS gateways. Converting em dashes to standard ASCII hyphens (-) guarantees universal computer compatibility.

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

  1. Paste your text into the Remove Em Dash Tool above.
  2. The tool instantly replaces all em dashes (), en dashes (), horizontal bars (), and figure dashes () with a clean standard hyphen (-).
  3. 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.

Free On-Device Tool
Need to clean or format text in bulk?

Paste your draft into Text Cleaner to repair smart quotes, convert dashes, and strip invisible characters in one tap.

✨ Open Text Cleaner

Related Tools & Guides

Clean Pasted Text Remove Em Dash Straighten Quotes Remove Line Breaks Sentence Case All Case Converters Browse All Guides →

Clean text from any app with the Share Sheet.

Select text in Safari, Mail, or Notes and share it to Clean Text. The cleaned version is copied back to your clipboard with a summary of what was fixed.

  • Works inside Safari, Mail, Notes, Word, and Slack
  • Counts and audits damage: '2 em dashes, 3 invisible characters removed'
  • 100% on-device: zero network requests, zero telemetry, full privacy
  • Available on iPhone, iPad, and Mac
Free for iPhone, iPad & Mac · iOS 17+
Text Cleaner: Case Converter App Screenshot