Smart Quotes vs. Straight Quotes: Meaning and Characters

What smart quotes are, which Unicode characters they use, how they differ from straight quotes, and when each one stays readable and usable after copy and paste.

Smart quotes are the curved quotation marks and apostrophes used in typeset text. Straight quotes are the vertical marks on a standard keyboard. They can look nearly identical, but they are different characters, and that difference matters when text moves between documents, websites, code and other software. This guide explains what each one is, what a smart quote conversion changes, and how to decide which one your destination needs.

What smart quotes mean

In typography, smart quotes (also called curly or typographic quotes) are marks with a distinct opening and closing shape. The opening mark curves one way and the closing mark curves the other, so the reader can see where a quotation starts and ends. Straight quotes (also called typewriter or dumb quotes) have one shape used in both positions.

The word "smart" comes from software, not typography. It refers to automatic substitution: as you type a straight quote, an editor that has this feature turned on guesses whether you meant an opening mark, a closing mark or an apostrophe, and inserts the matching curly character instead.

The smart quote characters and their straight counterparts

Each mark is a separate Unicode character with its own code point. The table below lists the characters most often involved, with their official Unicode names and the standard HTML named references.

Character | Code point | Unicode name | HTML reference | Typical use
" | U+0022 | QUOTATION MARK | " | Straight double quote; code, data, plain text
' | U+0027 | APOSTROPHE | ' | Straight single quote and apostrophe; code, data, plain text
‘ | U+2018 | LEFT SINGLE QUOTATION MARK | ‘ | Opening single quote
’ | U+2019 | RIGHT SINGLE QUOTATION MARK | ’ | Closing single quote and typographic apostrophe
“ | U+201C | LEFT DOUBLE QUOTATION MARK | “ | Opening double quote
” | U+201D | RIGHT DOUBLE QUOTATION MARK | ” | Closing double quote
′ | U+2032 | PRIME | ′ | Feet, minutes of arc
″ | U+2033 | DOUBLE PRIME | ″ | Inches, seconds of arc

The prime marks are included because they are often confused with quotes. A measurement such as 5′ 10″ calls for primes, not curly quotes; if primes are unavailable, straight quotes are the usual fallback.

The smart single quote and the apostrophe

The right single quotation mark (’, U+2019) does double duty. It closes a single-quoted phrase, and Unicode also recommends it as the preferred character for the apostrophe in English text, as in don’t or the writer’s draft. So a curly apostrophe is not a separate symbol; it is the same character as a closing single quote.

This creates the most common smart single quote error. Automatic substitution usually treats a quote that follows a space as an opening mark, so a leading apostrophe can come out backward:

  • Elisions at the start of a word: ’til and ’em should use ’, not ‘
  • Abbreviated years: the ’90s should use ’, not ‘
  • The fix is to replace the incorrect ‘ (U+2018) with ’ (U+2019); a straight apostrophe avoids the problem entirely but gives up the typographic style

What a smart quote conversion actually changes

Converting straight quotes to smart quotes, or the reverse, is character substitution. The conversion replaces one code point with another. It does not reverse text order, mirror glyphs or change the direction of the line; the curved shapes come from the characters themselves, not from a visual effect applied on top.

Because the decision between opening and closing marks is a guess based on context, the output can be wrong in a few predictable places: leading apostrophes, quotes placed directly after brackets or dashes, nested quotations, and measurements that should use primes. Converting smart quotes back to straight quotes is simpler and lossless in the sense that every curly mark maps to one straight mark, but the opening and closing distinction is discarded.

Two other things can make quotes look curly without changing the underlying characters:

  • Font design: some typefaces draw the straight apostrophe and quotation mark with a slight slant or taper. The character is still U+0027 or U+0022, so it behaves like a straight quote when copied or parsed.
  • CSS presentation: in HTML, the q element and the CSS quotes property can generate quotation marks around content at display time. Those marks are part of the rendering, not the text, so whether they appear in copied text depends on the browser and is not guaranteed.
  • If appearance alone is ambiguous, check the actual code point with a character inspector or by searching for the specific character.

Will smart quotes remain readable and usable where you paste them?

Since smart quotes are real Unicode characters, they generally survive copy and paste between applications that handle Unicode text. Problems arise when the destination expects straight quotes, uses a different text encoding, or treats the two characters as unrelated.

Code, data formats and command lines

Programming languages, JSON, shell commands, configuration files and most markup syntax use straight quotes as delimiters. A curly quote is just another character to a parser, so it will not open or close a string. For example, JSON requires the straight quotation mark (U+0022):

Valid:   {"name": "Ada"}
Invalid: {“name”: “Ada”}

Code copied from a document or web page that applied smart quotes can fail for this reason. Keep code in a code editor or a preformatted block, and turn off automatic quote substitution where you write technical content.

Search, find-and-replace and matching

Because ' and ’ are different code points, a search for don't with a straight apostrophe may not find don’t with a curly one, unless the search tool normalizes quotes. Whether a given tool does this varies, so test with both forms when consistency matters, such as in usernames, passwords, product codes or spreadsheet lookups. Passwords and other exact-match fields are a case where straight characters are the safer choice.

Encoding mismatches

When UTF-8 text is decoded as Windows-1252 or Latin-1, curly quotes can turn into sequences such as ’ in place of ’. This is an encoding error between the source and the destination, not a problem with the characters themselves. Straight quotes are in the ASCII range and are not affected the same way, which is one reason they are the conservative choice for plain-text systems with unknown or legacy encoding.

Accessibility

Smart quotes are standard punctuation characters rather than decorative symbols, so they do not cause the problems associated with stylized Unicode letters. How a screen reader announces them, whether it speaks them, describes them as left and right quotes, or skips them, depends on the screen reader and its punctuation verbosity settings. No test results for specific assistive technologies were available for this guide, so if exact announcement matters, check with the screen readers your audience uses.

Online conversion tools and sensitive text

Converting quotes does not require an external service; a find-and-replace on the code points listed above produces the same result locally. If you do use a web-based converter, avoid pasting confidential material such as credentials, contracts or personal data unless you know how the service handles input.

Which to use: choosing by situation

Destination | Recommended | Reason
Published prose, books, articles, print | Smart quotes | Standard typographic convention; opening and closing marks aid reading
Web page body text | Smart quotes, if the page is served as UTF-8 | Displays correctly when encoding is declared consistently
Source code, JSON, shell, config files | Straight quotes | Required as syntax delimiters
Code samples inside documents | Straight quotes in a code block | Readers copy and run them
Passwords, IDs, exact-match fields | Straight quotes | Avoids mismatches between visually similar characters
Plain text with unknown encoding | Straight quotes | ASCII characters avoid encoding corruption
Measurements in feet and inches | Primes, or straight quotes as fallback | Curly quotes are the wrong characters for units

Whichever style you choose, apply it consistently within a document, review leading apostrophes after any automatic conversion, and confirm the result in the actual destination before relying on it.