Smart Quote Converter

Convert between curly (smart) quotes and straight quotes, with optional typographic dash conversion.

Runs locallyInstantPrivate
Input
Output
Result appears here.

What This Tool Does

The Smart Quote Converter works in two directions. Going from straight to smart, it replaces plain keyboard quotes with typographic curly quotation marks — the “proper” kind used in professionally typeset books and well-designed websites. Going the other way, it strips curly quotes back to plain ASCII straight quotes, which is essential when copying text into code editors, terminal commands, JSON files, or any system that misinterprets Unicode quotation marks. The optional dash conversion also upgrades double hyphens to proper em dashes or reverts them.

How to Use

  1. Paste your text into the Input panel.
  2. Choose Straight → Smart to upgrade plain quotes to typographic curly quotes, or Smart → Straight to convert back to ASCII.
  3. Toggle Convert dashes to also handle double hyphens and em dashes.
  4. Copy or download the converted text from the Output panel.

Frequently Asked Questions

What are smart quotes and how do they differ from straight quotes?

Straight quotes are the vertical tick-like characters your keyboard types by default: " and '. Smart (or curly, or typographic) quotes are the directional variants used in professional typography: left double (\u201C), right double (\u201D), left single (\u2018), and right single (\u2019). Word processors like Microsoft Word automatically substitute smart quotes as you type. The distinction matters for readability — a well-set page uses directional quotes — but for code or data formats only straight quotes are safe.

When should I use smart quotes versus straight quotes?

Use smart quotes in any context where visual polish matters and the rendering environment supports Unicode: articles, blog posts, e-books, marketing copy, and design mockups. Use straight quotes in code, configuration files, JSON, CSV, terminal commands, email headers, and anywhere text will be parsed by a program. Curly quotes inside a string literal or HTML attribute can cause syntax errors or display as garbled characters in systems with limited encoding support.

What is an em dash, and why convert double hyphens to it?

An em dash (\u2014) is the long dash used in typeset prose to indicate a strong break in a sentence — like this. Typewriters lacked the em dash key, so writers used two consecutive hyphens (--) as a stand-in, a convention that persists in plain-text writing today. Converting-- to \u2014 brings plain-text drafts up to publishing quality. The reverse direction is useful when exporting from a word processor into Markdown, code comments, or any plain-text format where the em dash character might cause problems.

Will curly quotes break my code or JSON?

Yes, they can. JSON requires straight double quotes around keys and string values; a curly quote character will cause a parse error. Similarly, most programming languages only recognise straight single and double quotes as string delimiters. If you copy text from a word processor or a design tool into source code, always run it through the Smart → Straight conversion first to avoid hard-to-spot syntax errors.

Related tools