Remove Em Dash (—) & Normalize Hyphens Online

Instantly convert long em dashes, en dashes, and typographic horizontal bars into clean, standard ASCII hyphens.

Remove Em Dash replaces all 4 Unicode typographic dashes—Em Dash (U+2014 —), En Dash (U+2013 –), Figure Dash (U+2012 ‒), and Horizontal Bar (U+2015 ―)—with the standard ASCII hyphen-minus (U+002D -) via s/[\u2012-\u2015]/-/g.

Fixed:
0 Characters
0 Words
0 Sentences
🧹 Remove
🔤 Convert
📑 Format
Copied to clipboard

Why Should You Remove Em Dashes (—) from Text?

Replacing em dashes (U+2014) with standard ASCII hyphens (U+002D) removes the most recognizable punctuation pattern of LLM-generated prose and prevents encoding errors in CLI flags, scripts, and legacy CMS databases.

In recent years, the telltale signature of AI-generated text has become the excessive use of em dashes (—). Whether you are humanizing AI drafts, formatting code snippets, or preparing copy for publishing systems that fail on non-ASCII characters, replacing em dashes with clean hyphens is essential.

What Unicode Dash Code Points Are Converted?

The regex rule s/[\u2012\u2013\u2014\u2015]/-/g maps all four Unicode general punctuation dashes directly to ASCII U+002D (-):

Text Cleaner normalizes all typographic dash variants into standard ASCII hyphens (-):

  • Em Dash (\u2014 —): The standard long punctuation dash.
  • En Dash (\u2013 –): The medium-length range dash.
  • Figure Dash (\u2012 ‒): The numeric width dash.
  • Horizontal Bar (\u2015 ―): The quotation dash.

Worked Before / After Example: Input The quick brown fox—as they say—jumps over the “lazy” dog. (58 characters, 10 words, 2 em dashes U+2014) → Output The quick brown fox-as they say-jumps over the “lazy” dog. (58 characters, 10 words, 2 ASCII hyphens U+002D replaced, 0 surrounding characters altered).

Dash Name & Unicode Code Point Input Example (Before) Output Result (After) UTF-8 Bytes / Chars Changed
Em Dash (U+2014 — → U+002D -) fox—as they say—jumps (21 chars, 25 bytes) fox-as they say-jumps (21 chars, 21 bytes) 2 em dashes replaced (-4 UTF-8 bytes)
En Dash (U+2013 – → U+002D -) pages 10–25 (2024–2026) (23 chars) pages 10-25 (2024-2026) (23 chars) 2 en dashes replaced (-4 UTF-8 bytes)
Figure Dash (U+2012 ‒ → U+002D -) 555‒0199 (8 chars) 555-0199 (8 chars) 1 figure dash replaced
Horizontal Bar (U+2015 ― → U+002D -) ― Wait here (11 chars) - Wait here (11 chars) 1 horizontal bar replaced

How Is Surrounding Spacing Preserved During Dash Conversion?

The converter performs a strict 1-to-1 code point substitution without inserting or deleting spaces around the dash.

Text Cleaner preserves surrounding spacing exactly as intended: word—word becomes word-word, and word — word becomes word - word.

How to use this tool:

  1. Paste or type your text into the editor box above.
  2. Click the highlighted action button to run the transformation instantly on your device.
  3. Click Copy to place the cleaned text onto your clipboard.

More Free Online Text Tools

Cleaning & Stripping
Clean Pasted Text Remove Em Dash Remove Line Breaks Remove Invisible Chars Straighten Quotes Strip HTML Strip Markdown
Case Converters
All 11 Case Converters Sentence Case camelCase Converter snake_case Converter
Formatting & Analytics
Remove Duplicate Lines Alphabetize List Word & Character Counter

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
Text Cleaner: Case Converter App Screenshot