How to Type an Apostrophe in Windows: Straight vs. Curly and When Each Works

How to type straight and curly apostrophes in Windows, what each choice changes in the stored text, and when plain straight apostrophes are the safer option.

Typing an apostrophe in Windows looks trivial until you notice there are two common versions. One is the straight apostrophe on the keyboard. The other is the curly, typographic apostrophe that word processors often insert for you. Choosing between them is a small text transformation, and it affects how your text looks, how it behaves when copied, and whether it works in places like code or search fields. This guide covers how to produce each one, what actually changes, and when to stick with plain text.

Short recommendation

Use the curly apostrophe (’) for polished prose such as documents, published articles and printed material, where it reads as conventional typography. Use the straight apostrophe (') for anything that a machine has to parse, including code, command lines, spreadsheets used as data, file names, form fields and configuration files. The main benefit of the curly form is appearance. The main tradeoff is that it is a different character, so software that expects the straight one may treat it as a mismatch or an error. If you are unsure where the text will end up, the straight apostrophe is the safer default.

What the two apostrophes actually are

Switching from a straight to a curly apostrophe is a character substitution, not a font or styling effect. The two are separate Unicode characters with different code points, so the change is stored in the text itself and travels with it when copied. A font only controls how each character is drawn. Some fonts draw the straight apostrophe with a slight slant, but that does not turn it into the curly character.

Character | Name | Unicode code point | Typical use
' | Apostrophe (straight, typewriter) | U+0027 | Code, data, plain text, default keyboard output
’ | Right single quotation mark | U+2019 | Typographic apostrophe in prose, closing single quote
‘ | Left single quotation mark | U+2018 | Opening single quote; not an apostrophe
ʼ | Modifier letter apostrophe | U+02BC | Letter-like apostrophe in some writing systems and transliterations

Several look-alikes are sometimes used by mistake. The backtick (`) and the acute accent (´) are not apostrophes, and the prime symbol (′, U+2032) is meant for feet, minutes and similar units. When people search for a "reverse" or "backwards" apostrophe, they usually mean the left single quotation mark (‘) or the backtick, not a mirrored glyph.

How to type a straight apostrophe

On a standard US keyboard layout, press the key to the left of Enter, which also carries the double quotation mark. In most plain-text editors, terminals and browser fields, this inserts the straight apostrophe unchanged.

If you use the US-International keyboard layout, the apostrophe key works as a dead key. Pressing it and then a vowel produces an accented letter, so an apostrophe followed by e becomes é. To get a plain apostrophe on that layout, press the apostrophe key and then the spacebar. This is a common reason an apostrophe seems to vanish or merge into the next letter.

How to type a curly apostrophe

  • Alt code: with Num Lock on, hold Alt and type 0146 on the numeric keypad, then release Alt. The number keys along the top row do not work for this.
  • Microsoft Word Unicode shortcut: type 2019 and then press Alt+X. Word converts the code into ’. This also works on laptops without a numeric keypad.
  • Automatic smart quotes: Word and many other editors replace the straight apostrophe with a curly one as you type, if their smart quotes option is turned on.
  • Emoji and symbol panel: press the Windows key with the period key to open the panel, then look under the symbols section for punctuation. Available categories can differ between Windows versions.
  • Character Map: the built-in Character Map app lets you search for or select ’ and copy it to the clipboard.

Controlling automatic replacement in Word

Word's AutoFormat As You Type settings include an option to replace straight quotes with smart quotes. Turning it off keeps every apostrophe straight. If you only want to keep one straight apostrophe, press Ctrl+Z immediately after Word converts it, which usually undoes the automatic change for that character only.

Automatic replacement guesses direction from context, and it often gets leading apostrophes wrong. In abbreviations such as ’90s or ’til, the apostrophe stands for missing characters and should curve like a comma (’), but smart quotes frequently insert an opening quote (‘) instead. Typing Alt+0146 or 2019 followed by Alt+X inserts the correct character directly.

Will it still work after copying or sharing?

Because the curly apostrophe is a stored character, it usually survives copy and paste between applications that handle Unicode. Problems tend to appear in a few predictable situations.

  • Code and command lines: programming languages, shells and query languages expect the straight apostrophe as a string delimiter. A curly apostrophe pasted from a document can cause syntax errors or unexpected behavior.
  • Data and matching: spreadsheets, databases and scripts treat ’ and ' as different characters, so a name like O’Brien may not match O'Brien in lookups, deduplication or validation.
  • Search: some search tools normalize the two forms and some do not. Whether a given search box or a document's Find feature treats them as equivalent should be checked in that specific tool.
  • Encoding mismatches: when text saved as UTF-8 is read as an older Windows encoding, the curly apostrophe can display as garbled characters such as ’. The straight apostrophe is not affected in the same way.
  • Passwords and identifiers: a curly apostrophe typed on one device may not be reproducible on another, which matters for anything that must be typed exactly.

For accessibility, both characters are standard punctuation, not decorative substitutes, so they do not cause the reading-order or garbling problems that styled Unicode letters can. How a screen reader announces each one depends on the screen reader and its punctuation verbosity settings. Some may call the curly form an apostrophe and others a right single quote. No tests of specific screen readers or destinations were available for this article, so check the tools your audience actually uses if precise announcement matters.

When plain text is the better choice

Keep straight apostrophes when the text will be pasted into code, terminals, data files, forms with strict validation, or systems whose encoding you cannot confirm. If you draft in Word and paste into one of these places, turn off smart quotes for that document or use find-and-replace to convert ’ back to '. Reserve the curly apostrophe for finished prose that people will read rather than software will process.

Evidence gaps

This guide relies on standard Unicode character definitions and widely documented Windows and Word behavior. No measured tests of particular applications, search engines or assistive technologies were available, so statements about those destinations are general cautions rather than confirmed results. Menu names and symbol panel layouts can also vary across Windows and Office versions.