Documents and Office

Smart Quotes, Dashes and Ellipses: Fix Typography in Seconds

Learn when to use curly quotes, apostrophes, em and en dashes and ellipses in many languages, and fix a whole text at once, or turn it back into ASCII.

Saizul Amin
Saizul Amin5 Nov 2026 · 3 min read
Smart Quotes, Dashes and Ellipses: Fix Typography in Seconds

Typewriters had one key for quotation marks and one for the apostrophe, so both opening and closing marks looked the same: straight up and down. Printers never worked that way. Books and newspapers use curved marks that open and close, a real dash instead of two hyphens, and a single ellipsis character. Word processors convert as you type, but a lot of text today is written somewhere else: in Markdown, a content management system, a code editor, a form field or a chat app. That text keeps the typewriter marks.

The marks and their jobs

Double quotes. English opens with “ and closes with ”. Other languages differ: German writes „so“, French writes « ainsi » with spaces inside, Polish writes „tak”, Swedish uses ” at both ends and Japanese uses 「 」.

Single quotes and apostrophes. The apostrophe in don’t and the students’ books is the same character as the closing single quote: ’. It is a common mistake to type an opening mark at the start of a shortened year or word, as in ‘90s. The correct form is ’90s, because the mark replaces the missing 19.

Dashes. A hyphen joins words: well-known. An en dash shows a range: pages 12–18, 2024–25. An em dash marks a break in a sentence. American style closes it up—like this—while British style often uses a spaced en dash – like this.

Ellipsis. Three dots become one character, …, which does not split across lines.

Spaces that do not break. French puts a space before ; : ! and ?, and that space must never fall at the start of a line. A number and its unit, as in 10 km, should stay together too.

Fixing a whole document

Paste your text into the Smart Quotes and Typography Fixer or open a text, Markdown or HTML file. Choose the quote style for your language and the dash style your publication uses. The rules for ranges, ellipses and symbols such as © and ™ are on by default; maths signs, French spacing and non-breaking spaces in units are options.

The highlighted view shows every change: the old characters crossed out, the new ones marked. Below it, a table lists each distinct change and how often it happened. If you see a wrong guess, add a manual fix in the input or switch off the rule that caused it. Undo and redo cover every step.

Keeping code safe

Curly quotes inside code break the code. If your text includes inline code in backticks or fenced code blocks, those parts are skipped. For HTML, switch on "Input is HTML" so tags, attribute values and character codes are left exactly as they are, and only the visible text is changed.

Going the other way

Sometimes you need the opposite. Curly quotes in a CSV import, a shell command, a JSON string or an old database turn into question marks or syntax errors. Some SMS gateways count a curly quote as several characters and split the message. The plain mode converts every typographic quote, guillemet and corner bracket back to straight marks, dashes to hyphens, the ellipsis to three dots and all special spaces to normal spaces, and removes zero-width characters that you cannot see but that break searches.

Tips for editors

  • Decide on one dash style per publication and write it down in your style guide.
  • Run the fixer as the last step before publishing, after all edits.
  • For nested quotes in English, use double outside and single inside: “She said ‘no’ twice.”
  • When a quote opens directly after a letter, such as in a code-like label, check the result; the rules rely on spaces and punctuation to tell opening from closing.

Everything runs in your browser, so manuscripts and client copy are not uploaded anywhere.

Completely freeNo cost, no sign-up
Files stay privateEverything runs in your browser
Easy in your languageAvailable in many languages