Straight and typographic apostrophes: which character to use

Straight (') or curly (’) apostrophe? What each character is, what conversion changes, and when plain straight apostrophes are the safer choice.

English text can use two common apostrophe characters: the straight, typewriter-style mark (') and the curved typographic mark (’). They look similar, but they are different characters. Converting between them changes the stored text, so it affects copying, searching, editing and code, not only appearance. This review explains what each character is, what a conversion changes, and when each one is the better choice.

The short recommendation

Use the typographic apostrophe (’) in finished prose meant for people to read, such as articles, books, marketing copy and interface text, where consistent typography matters. Use the straight apostrophe (') anywhere text will be parsed, matched, typed or edited with a standard keyboard. That includes source code, commands, data files, identifiers, filenames, usernames and search terms. The curly form looks more polished in print-style typography. The cost is that it no longer matches what a keyboard produces, and that difference can break exact matching and code.

The characters involved

Character | Code point | Unicode name | Typical role
' | U+0027 | APOSTROPHE | Straight or typewriter apostrophe and single quote; the character produced by the quote key on a standard US keyboard
’ | U+2019 | RIGHT SINGLE QUOTATION MARK | Typographic apostrophe and closing single quotation mark
‘ | U+2018 | LEFT SINGLE QUOTATION MARK | Opening single quotation mark; not an apostrophe
ʼ | U+02BC | MODIFIER LETTER APOSTROPHE | Apostrophe that functions as a letter in some orthographies
′ | U+2032 | PRIME | Feet, minutes and similar units; not an apostrophe

A standard US keyboard has only one key for this mark. It produces U+0027, which serves as both the single quote and the apostrophe. In typographic text the two roles separate. The opening single quote is ‘. The closing single quote and the apostrophe share the same character, ’. The Unicode Standard recommends U+2019 for the apostrophe in ordinary punctuation. It reserves U+02BC for languages in which the apostrophe works as a letter, so U+02BC should not be used as a general substitute in English text.

What a conversion actually changes

Straight-to-curly conversion, often called smart quotes, replaces one stored character with another. It does not apply styling. This differs from a font, which only controls how a character is drawn. Some typefaces draw U+0027 with a slight slant or taper, so it can look curly while it is still the straight character underneath. CSS cannot perform this conversion either. Properties like text-transform do not touch apostrophes, and the quotes property only affects quotation marks that the browser generates, for example around q elements. It does not change apostrophes already in the text. If a tool offers an "apostrophe font" or "apostrophe style," check whether it replaces characters or only changes how the existing ones are displayed. The two have different consequences after copying.

Where automatic conversion goes wrong

Automatic converters guess the direction of each mark from the characters around it. A mark after a space is usually treated as an opening quote, and a mark after a letter as a closing quote or apostrophe. That rule fails for apostrophes at the start of a word, which mark omitted letters and should always be ’.

Input (straight):   Rock 'n' roll in the '90s, ain't it?
Naive conversion:   Rock ‘n’ roll in the ‘90s, ain’t it?
Intended:           Rock ’n’ roll in the ’90s, ain’t it?
  • Leading elisions such as ’tis, ’em, ’n’ and ’90s are often converted to the opening mark ‘ by mistake.
  • Measurements such as 5'10" call for prime marks (′ and ″) or plain straight marks. A converter may turn them into curly quotes, which is incorrect.
  • Code, commands or file paths quoted inside prose are converted along with the surrounding text, which breaks them.
  • In some languages the apostrophe functions as a letter, and converting it to ’ can be the wrong substitution there. Hawaiian is a related case: its ʻokina (U+02BB) is a separate letter and should not be converted to an apostrophe or quote mark at all.

Copying, sharing, searching and editing

The conversion changes the stored character, so a copied typographic apostrophe stays typographic when pasted. Most current software handles Unicode, so the character usually survives sharing. Problems appear where a system expects plain ASCII or misreads the encoding. For example, when UTF-8 text is decoded as Windows-1252, ’ shows up as the garbled sequence ’. Some legacy systems and restrictive form fields may also reject the character or replace it.

Exact-match tools are the most common source of practical problems. A find command, spreadsheet formula or database query for don't typed with a straight apostrophe may not match don’t with a curly one unless the tool normalizes the two. Whether a particular search engine or site search treats them as equivalent was not tested for this review, so check the specific tool if it matters. Code is stricter still. Curly marks are not string delimiters in programming languages, shells, SQL or JSON. A command copied from a document that converted its quotes will usually fail or behave unexpectedly.

For accessibility, both characters are standard punctuation, not styled lookalike letters, so they avoid the problems of decorative Unicode text, which can be read out as symbol names or skipped. How a given screen reader announces either apostrophe depends on its punctuation settings. No documentation or tests for specific assistive technologies were reviewed here. If spoken output matters for your audience, test with the screen readers they use. Reading order is unaffected, because the conversion changes no text direction or character order.

When plain straight apostrophes are the better choice

  • Source code, configuration files, scripts and terminal commands
  • Data files, CSV exports, and database values that will be searched or matched
  • Usernames, passwords, filenames, URLs and other identifiers
  • Documentation where readers will copy commands or code snippets
  • Plain-text environments that only handle ASCII, or whose Unicode support is uncertain
  • Collaborative text that people will edit with ordinary keyboards, where mixed apostrophe styles would be hard to keep consistent

When typographic apostrophes are worth it

  • Published prose, books and long-form articles that follow professional typographic conventions
  • Headlines, display text and branded copy where the straight mark looks out of place in the chosen typeface
  • Style guides or publications that require curly quotes and apostrophes throughout
  • Final, read-only output, where the text will not be searched, parsed or re-edited by others

Entering the typographic apostrophe

  • macOS: Option+Shift+] types ’
  • Windows: hold Alt and type 0146 on the numeric keypad
  • HTML: ’ or ’ (for the straight apostrophe, ' works in both HTML and XML)
  • Word processors: the smart quotes or autocorrect setting converts straight marks as you type; review leading elisions afterward
  • Unicode code point: U+2019

Before converting existing text

  • Keep an unconverted copy, since automatic conversion is hard to reverse selectively.
  • Exclude code blocks, commands, measurements and identifiers from the conversion.
  • Check every word-initial apostrophe for the wrong-direction mark ‘.
  • Confirm that the destination system handles UTF-8, and that search or matching in that system works with the curly form.