Smart Quotes Converter

Convert between straight and curly typographic quotes. Fix dashes, ellipses, and other typography — instantly.

Converts curly/smart quotes and apostrophes to straight ASCII characters. Safe for code and data.
Input
Output

Conversions Applied

FromToDescription
Paste text above to convert quotes.

How to Use the Smart Quotes Converter

  1. Choose a mode — Straighten removes curly quotes; Curl adds them; Typography does both plus dashes and ellipsis.
  2. Paste your text — into the left textarea. Output appears instantly on the right.
  3. Review the conversion count — the stats bar shows exactly how many quotes, dashes, and ellipses were changed.
  4. 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.

Frequently Asked Questions

Smart quotes (curly quotes) are the curved quotation marks used in professionally typeset text: \u201clike this\u201d. Straight quotes (") are typewriter-era characters. Use smart quotes for published content, blog posts, and marketing copy. Use straight quotes for code, data, and anything processed programmatically.
Straighten quotes when working with code, configuration files, URLs, JSON, CSV, SQL, or any text for programmatic processing. Word processors auto-convert to curly quotes, which break syntax when pasted into a terminal or code editor.
An em dash (\u2014) indicates a break in thought or sets off parenthetical information. An en dash (\u2013) indicates ranges (pages 10\u201320) and compound adjectives with proper nouns. A hyphen (-) joins compound words. Typography mode converts double hyphens to em dashes and space-hyphen-space to en dashes.
Yes. Both Word and Google Docs automatically replace straight quotes with smart quotes. When pasted into a terminal or code editor this causes errors. Use Straighten mode to convert all curly quotes back to straight ASCII quotes.
Typography mode converts straight quotes to curly quotes AND applies additional corrections: -- becomes \u2014 (em dash), space-hyphen-space becomes \u2013 (en dash), ... becomes \u2026 (ellipsis), and certain x characters become \u00d7 (times sign). These are the same corrections used by professional typesetting software.