Em Dash Remover
Em dashes are everywhere in modern writing, and plenty of people want them gone. This tool replaces every em dash in your text with a comma, a semicolon, a colon, a hyphen, or anything you type, and shows you the before and after side by side so you can check each change.
Em dash, en dash, hyphen
Three dashes look similar and do different jobs. The hyphen is the short one, U+002D, and it joins words: well-known, first-time, self-employed. The en dash is the medium one, U+2013, and it marks a range, a span, or a score: 2013–2015, pages 10–20, a 3–2 win. The em dash is the long one, U+2014, and it marks a break in the middle of a sentence.
Many style guides treat the em dash as punctuation with no spaces around it, so a sentence runs straight through it: the server restarted and nobody noticed. Other guides put a space on each side, which is the older convention and is still common in British writing. You will meet both, and some writers mix them in the same document.
The em dash remover works on the em dash by default. Switches let you include the en dash and the double hyphen, which is what an em dash becomes when a document is typed as plain text. A double hyphen is also a real hyphen in compound words such as well--known, so leave that switch off unless you are sure.
How to use it
Paste your text into the box at the top. The counters below the options tell you how many em dashes, en dashes and double hyphens the text holds, and how many the tool replaced.
Pick the replacement from the list. Each option comes with a short note on when it fits. If you want something else, choose Custom text and type it in the field that appears.
The two panels at the bottom show the original text with the dashes marked and the rewritten text with the new punctuation marked. Read them before you copy. Then use the copy button to take the result away.
Everything runs in your browser, so the text never leaves the page.
Choosing a replacement that fits
There is no single right answer, because a dash carries more than one job. The rule of thumb is to look at the two sides of the dash and ask what relationship holds between them. If the second side continues the first, a comma or a hyphen will do. If the second side stands on its own, a semicolon fits. If the second side explains the first, a colon fits.
Comma, semicolon, and colon
A comma is the safest swap for a dash that joins two parts of the same thought, which is what a dash most often does. Read the sentence after the swap. If the two sides need a full stop rather than a comma, the dash was doing more work than a comma can do.
A semicolon works when the two sides are complete statements of their own, which is the case where a dash was joining a second independent clause to a first one.
A colon works when what comes after the dash explains, lists, or gives an example of what came before it. A colon before a full sentence is a common and correct use, and it often reads better than a dash did.
Hyphen, spaced hyphen, and removing the dash
A hyphen is the right choice when the two sides are a single compound word, such as when a phrase is a fixed term you want to close up. Use the spaced hyphen when you want the words to stay apart but the dash to go, which is the smallest possible change to the rhythm of the line.
Removing the dash with no replacement is worth trying as well. A dash often marks a pause that a comma cannot carry, and in some sentences the sentence simply reads better without it.
A worked example
Take this sentence: The migration finished in four minutes — faster than the estimate — and nobody had to stay late.
With a comma as the replacement, the result reads: The migration finished in four minutes, faster than the estimate, and nobody had to stay late.
The sentence works, but it now has three commas in a row of clauses, and the second dash was a real aside that a comma flattens. A colon does not help either, because the second clause is not an explanation.
With a semicolon, the result is: The migration finished in four minutes; faster than the estimate; and nobody had to stay late. That reads worse. The semicolon is right when the two sides stand alone, and here the estimate is a detail, not a second statement.
Removing the dashes gives: The migration finished in four minutes faster than the estimate and nobody had to stay late. The pauses are gone and the meaning shifts slightly, which is exactly the point of looking at every change.
This is why the tool shows both panels. The swap is mechanical. The judgement is yours.
Smart spacing
A dash is often written with a space on each side, and those spaces are not part of the words. When the tool replaces a dash it removes the blanks around it and adds back whatever spacing the new punctuation needs, so a comma arrives as a comma and a space, and never as a comma and a double space.
The cleanup switch goes further. It collapses runs of spaces, drops a space that sits in front of a full stop or a comma, and drops a space that follows an opening bracket. Turn it off if you want the only change to be the punctuation itself, which is the safer setting when the text is a quotation or a transcript.
The cleanup leaves line breaks and indentation alone, so a list keeps its shape.
What this tool does not do
Swapping punctuation does not make a piece of writing more human, and it does not change what an AI detector thinks of it. Detectors look at phrasing, rhythm and structure. An em dash is a punctuation mark, and so is a comma.
Some people reach for a dash remover because they want a text to pass a detector. The honest answer is that a detector looks at the sentences, not the dash. If the writing reads like a list of facts with no connective tissue, replacing the dashes will not change that.
The tool is also not a style checker. It does not know whether your house style uses spaced or unspaced dashes, and it does not know if a dash is doing a job a comma cannot. It changes the character you asked it to change, and leaves the rest of the sentence to you.
Troubleshooting
If a dash in your text is not being replaced, it is probably a character that looks like an em dash but is not one. A dash copied from a word processor can be a different code point, and some fonts render a minus sign or a figure dash in the same way. Turn on the en dash and double hyphen switches, and if that still misses it, copy the character into a tool that shows its code point.
If the result has a space in the wrong place, the smart spacing switch is off. Turn it on and the extra blanks in front of punctuation go away.
If a replacement looks wrong in one sentence, the dash was doing more than joining two clauses. Keep the dash in that sentence, or use the custom option for a case by case replacement.
If you are working with a right to left language, leave the directional marks in place. The tool does not touch them, and a dash inside a line of Arabic or Hebrew text is often the correct punctuation already.
Explore more text tools on Tolz.me.