SlugGenerator.app

Em Dash Remover

Replace em dashes (—) with commas, hyphens, or periods — or remove them entirely. Counts every dash. Runs in your browser.

Try:

What Is an Em Dash?

An em dash (—, U+2014) is a punctuation mark roughly the width of the letter “M”. Writers use it to set off parenthetical phrases, mark interruptions, or replace colons. It is different from the en dash (–, U+2013), used for ranges like “pages 10–25”, and the plain hyphen (-), used to join words.

Why Remove Em Dashes?

  • House style — many style guides prefer commas, parentheses, or periods over em dashes, or require spaced en dashes instead.
  • Plain-text environments — em dashes can render inconsistently in terminals, code comments, CSV files, and legacy systems that expect ASCII.
  • Editing AI-drafted text— text generated by writing assistants often leans heavily on em dashes. If the punctuation density doesn't match your voice, normalizing the dashes is a quick cleanup step.
  • Data processing — when text feeds into slugs, IDs, or search indexes, typographic dashes cause mismatches that plain hyphens avoid.

How This Tool Works

Paste your text and pick a replacement strategy. The tool counts every em dash (including the horizontal bar ― and two/three-em dashes) and rewrites them in one pass:

  • Comma: results — far beyond hopes — came in results, far beyond hopes, came in
  • Hyphen: word — wordword - word
  • Period: splits the clause into two sentences and capitalizes the next word
  • Space / Remove: for minimal cleanup

Toggle Also en dashes to normalize range dashes in the same pass. Everything runs locally in your browser — no text is uploaded.

Em Dash vs En Dash vs Hyphen

MarkUnicodeTypical use
Em dash (—)U+2014Breaks in thought, parenthetical phrases
En dash (–)U+2013Ranges (2010–2020), connections (Boston–London)
Hyphen (-)U+002DCompound words, URL slugs, code

FAQ

Does this change my text in any other way?

No. Only dash characters are touched. Quotes, spacing elsewhere, and all other punctuation stay exactly as you pasted them.

Is my text sent to a server?

No. All processing happens locally in your browser. Your text never leaves your device.

Related Tools

Need broader cleanup? The Plain Text Converter strips HTML, smart quotes, and invisible characters in one pass. Check for hidden Unicode with the Invisible Character Detector, or turn clean text into URL slugs with the URL Slug Generator.

Related Tools

/

Slug Generator

Convert text to URL slugs

🔗

URL Slug Generator

Create SEO-friendly URL slugs

📝

Text to Slug

Transform any text into a slug

Slugify Online

Slugify text instantly online

🔒

Permalink Generator

Create clean permanent URLs

🌐

WordPress Slug Generator

Generate slugs for WordPress

✍️

Blog Slug Generator

Generate slugs for blog posts

🏷️

Product Slug Generator

Generate slugs for product pages

Aa

Case Converter

Convert text to any case format

aA

CamelCase Converter

Convert text to camelCase

Tt

Title Case Converter

Capitalize text in title case

Ss

Sentence Case Converter

Convert text to sentence case

k-c

Kebab Case Converter

Convert text to kebab-case

s_c

Snake Case Converter

Convert text to snake_case

Pc

PascalCase Converter

Convert text to PascalCase

aLt

Alternating Case

Convert text to aLtErNaTiNg CaSe

d.c

Dot Case Converter

Convert text to dot.case

C_C

Constant Case Converter

Convert text to CONSTANT_CASE

🔢

Word Counter

Count words, characters & sentences

📄

Lorem Ipsum Generator

Generate placeholder text

📋

Plain Text Converter

Strip formatting, clean text

✂️

Duplicate Line Remover

Remove duplicate lines from text

Remove Empty Lines

Remove blank lines from text

↕️

Sort Lines Alphabetically

Sort text lines A-Z or Z-A

↩️

Remove Line Breaks

Join lines into one paragraph

👁

Invisible Character Detector

Find hidden Unicode characters with code points

%20

URL Encoder / Decoder

Encode & decode URLs online

📊

UTM Builder

Build campaign tracking URLs

{}

JSON Keys to camelCase

Convert JSON keys to camelCase

{_}

JSON Keys to snake_case

Convert JSON keys to snake_case