Smart Quotes to Straight Quotes Converter
Paste your text below and click "Convert Quotes" to replace all smart (curly) quotes with straight ASCII quotes.
What Are Smart Quotes?
Smart quotes are the curved, directional quotation marks that distinguish between opening and closing positions. They come in pairs: a left (opening) quote that curves one way and a right (closing) quote that curves the other. The same applies to single quotes and apostrophes. In properly typeset text, they look polished and professional because they visually wrap the quoted material like tiny bookends.
The problem is that "smart" and "compatible" are different things. Smart quotes are four distinct Unicode characters occupying four different code points. Left double quote is U+201C. Right double quote is U+201D. Left single quote is U+2018. Right single quote is U+2019. Each one is a separate character from the straight quotes that live on your keyboard.
Straight quotes are the simple, non-directional marks that don't distinguish between opening and closing. The straight double quote (U+0022) and straight single quote/apostrophe (U+0027) are part of the ASCII character set, meaning they're supported by every computing system built in the last sixty years. They're the lowest common denominator of quotation marks, and their universality is exactly why they matter.
Word processors, design tools, and some CMS editors automatically convert your straight keyboard quotes into smart quotes as you type. This autocorrection produces better-looking text in documents meant for reading. It also produces text that's contaminated with characters that break in contexts where only ASCII is safe.
Where Do Smart Quotes Cause Problems?
Smart quotes break things in specific, reproducible ways that make them one of the most common sources of text-related bugs across the web and software development.
HTML and web development. An HTML attribute wrapped in smart quotes doesn't parse. <a href=“https://example.com”> with curly quotes around the URL is broken HTML. The browser doesn't recognize smart quotes as attribute delimiters. The link doesn't render. No error message tells you why.
JavaScript and programming. String literals in JavaScript, Python, PHP, and every other language require straight quotes. var name = “John”; with smart quotes produces a syntax error. Developers who paste code from blog posts, documentation websites, or AI chat interfaces frequently inherit smart quotes from the source.
JSON. JSON is brutally strict about character encoding. String values must be wrapped in straight double quotes. A JSON file with a single smart quote anywhere in its structure fails to parse entirely. There's no partial failure. One curly quote invalidates the whole document.
SQL queries. String comparisons in SQL using smart quotes instead of straight quotes produce syntax errors or return no results. A WHERE clause searching for name = ‘O’Brien’ with a smart apostrophe won't match records stored with a straight apostrophe, even though the names look identical on screen.
CSV and data files. CSV parsers use straight double quotes as text qualifiers. Smart quotes in CSV data confuse parsers into misidentifying field boundaries, producing shifted columns, merged fields, or parse failures.
Email. Smart quotes in email subject lines and body text can produce encoding artifacts in older clients, plain-text fallbacks, and email systems that don't handle UTF-8. A subject line containing smart quotes might display correctly in Gmail but show as garbage characters in a legacy Outlook installation.
Search and matching. A database search for the word "don't" with a straight apostrophe won't match a record containing "don't" with a smart apostrophe (right single quote). The characters look identical in most fonts. They're different code points. Every system that compares, searches, sorts, or deduplicates strings treats them as different characters.
What Characters Does This Tool Convert?
The converter targets the four smart quote characters and replaces them with their two straight equivalents.
Left double quote (U+201C) to straight double quote (U+0022). The opening curly double quote becomes a plain double quote. In most fonts, the left double quote curves like two tiny sixes. The straight replacement is vertical and non-directional.
Right double quote (U+201D) to straight double quote (U+0022). The closing curly double quote also becomes a plain double quote. Both the opening and closing variants map to the same straight character because ASCII doesn't distinguish between them.
Left single quote (U+2018) to straight single quote (U+0027). The opening curly single quote becomes a plain apostrophe. This character is also used as the opening mark for single-quoted text in British English style.
Right single quote (U+2019) to straight single quote (U+0027). The closing curly single quote, which doubles as the typographic apostrophe in contractions like "don't" and "it's," becomes a plain apostrophe. This is the most commonly encountered smart quote character because every contraction and possessive in English uses it.
The tool optionally handles related characters. The double prime (″) and single prime (′), used for inches and feet or minutes and seconds, can be included in the conversion. Low-9 quotation marks (‚ and „), used in German, Polish, and other European typographic conventions, can also be converted.
Why Do Word Processors Insert Smart Quotes?
Smart quotes exist because typography has standards that predate computers, and word processors try to honor them. In traditional typesetting, quotation marks are directional. An opening quote faces one way and a closing quote faces the other. This convention has existed in printed books for centuries.
Microsoft Word introduced AutoCorrect in the early 1990s, and smart quote conversion was one of its original features. Google Docs, Apple Pages, LibreOffice, and virtually every modern word processor replicate this behavior. The result is that any text composed in a word processor almost certainly contains smart quotes unless the author deliberately turned the feature off.
The design intention is good. Smart quotes look better in printed and typeset material. The problem is that text doesn't stay in word processors. It gets pasted into code editors, CMS fields, email builders, spreadsheets, API calls, and hundreds of other contexts where smart quotes don't belong.
How Do I Stop Smart Quotes from Being Inserted?
Prevention is more efficient than cleanup. Disable the autocorrection at the source and smart quotes stop entering your text entirely.
Microsoft Word. File, then Options, then Proofing, then AutoCorrect Options. Under the AutoFormat As You Type tab, uncheck "Straight quotes with smart quotes." Also check the AutoFormat tab and uncheck the same option there.
Google Docs. Tools, then Preferences. Uncheck "Use smart quotes." This applies to both double and single quotes in the document.
Apple Pages. Pages, then Settings (or Preferences), then Auto-Correction. Uncheck "Use smart quotes and dashes."
macOS system-wide. System Settings, then Keyboard, then Text Input, then Edit. Disable "Use smart quotes and dashes." This affects all applications on the system.
WordPress. WordPress's wptexturize function converts straight quotes to smart quotes in rendered output. Disable it with remove_filter('the_content', 'wptexturize') and the corresponding filters for titles, excerpts, and comments.
VS Code and code editors. Most code editors don't insert smart quotes by default, but extensions, snippets, and paste operations can introduce them. VS Code has a setting editor.unicodeHighlight.ambiguousCharacters that highlights smart quotes when they appear in code files.
When Should I Keep Smart Quotes?
Smart quotes aren't always the enemy. They exist for a reason, and in the right context, they're the correct choice.
Print production. Any text destined for print should use smart quotes. Books, magazines, brochures, and packaging follow typographic conventions where directional quotes are expected and straight quotes look amateurish.
Polished web typography. If your website renders consistently across modern browsers and your encoding is properly configured as UTF-8 throughout the stack, smart quotes look better than straight ones in body text, headlines, and editorial content.
PDF generation. PDFs embed their own fonts and handle Unicode internally. Smart quotes render correctly in PDFs regardless of the viewer's system configuration.
Convert for everything else. Code, data, email, cross-platform content, CMS input, API payloads, CSV exports, configuration files, markdown, and any context where the text will be processed programmatically or displayed in an environment you can't fully control.
Related Tools
Let's Grow Your Business
Want some free consulting? Let’s hop on a call and talk about what we can do to help.