Smart Quotes Converter
Convert between straight and curly typographic quotes. Fix dashes, ellipses, and other typography — instantly.
Conversions Applied
| From | To | Description |
|---|
How to Use the Smart Quotes Converter
- Choose a mode — Straighten removes curly quotes; Curl adds them; Typography does both plus dashes and ellipsis.
- Paste your text — into the left textarea. Output appears instantly on the right.
- Review the conversion count — the stats bar shows exactly how many quotes, dashes, and ellipses were changed.
- Copy or download — use the buttons to copy the converted text or save it as a .txt file.
Smart Quotes vs Straight Quotes
Typewriters had a single quote key that produced a straight vertical mark for both opening and closing quotes, and the same mark served as both a single and double quote. Professional typographers always used distinct opening and closing quotation marks — curved characters that visually indicate direction. In the digital era, straight quotes ("like this") are the correct choice for programming, data formats, and anything processed by computers. Curly quotes (\u201clike this\u201d) are correct for published prose, marketing copy, books, articles, and any text designed to be read by humans.
Why Straight Quotes Matter for Code
One of the most common sources of mysterious bugs occurs when developers paste text from a word processor into a terminal, code editor, or data file. Microsoft Word, Google Docs, Apple Pages, and most smartphone keyboards automatically replace straight quotes with curly quotes as you type. When that text is pasted into a command like git commit -m "fix bug" or a configuration value, the curly quotes cause a syntax error or are silently mishandled. The Straighten mode converts all typographic quote characters — \u201c \u201d \u2018 \u2019 \u201a \u201b \u2039 \u203a \u00ab \u00bb — back to their plain ASCII equivalents.
Curling Quotes for Published Content
The Curl mode converts straight quotes to typographically correct curly quotes. The algorithm determines whether each quote is opening or closing based on its position relative to surrounding characters. An opening double quote follows whitespace, a dash, or appears at the start of text. A closing double quote follows a non-whitespace character. Apostrophes within words (it\u2019s, don\u2019t, they\u2019re) are correctly treated as right single quotes rather than opening single quotes. The algorithm handles the most common English patterns accurately; unusual constructions may require manual review.
Typography Mode — Full Professional Typesetting
Typography mode applies the full set of corrections used by professional typesetting software. In addition to smart quotes, it converts double hyphens (--) to em dashes (\u2014), the pattern space-hyphen-space to en dash (\u2013) with spaces, triple periods (...) to the Unicode ellipsis character (\u2026), and a standalone lowercase x used as a multiplication sign to the proper times symbol (\u00d7). These substitutions match the output of InDesign, Quark XPress, LaTeX, and other professional publishing tools. Typography mode is ideal for preparing blog posts, press releases, newsletter content, and book manuscripts.
Em Dash vs En Dash vs Hyphen
These three horizontal line characters serve entirely different purposes and are frequently confused. The hyphen (-) connects compound words and word breaks (co-founder, real-time, twenty-three). The en dash (\u2013) indicates ranges — page numbers (pp. 25\u201340), date ranges (2020\u20132025), and score results (3\u20131) — and is also used in compound adjectives involving proper nouns (New York\u2013London flight, Nobel Prize\u2013winning research). The em dash (\u2014) is the longest and most versatile: it sets off parenthetical information\u2014like this aside\u2014or replaces commas, semicolons, or colons for emphasis. In informal web writing, many style guides now accept the en dash with spaces as an em dash substitute. This tool supports both conventions.
Ellipsis Characters
The three-dot ellipsis (...) can be represented as three separate period characters or as the single Unicode character \u2026 (U+2026 HORIZONTAL ELLIPSIS). The Unicode ellipsis is preferred in typeset text because it uses consistent spacing between dots, doesn't line-wrap awkwardly, and is recognized by screen readers as a single unit. The three-period version is preferred in programming contexts. Typography mode converts the three-period version to the Unicode ellipsis. Straighten mode converts the Unicode ellipsis back to three periods. Curl mode leaves ellipsis characters unchanged since they are not quote characters.