Apostrophe vs Single Quote on the Keyboard: Which Character You're Typing and How to Get the Right One
Learn the difference between the straight apostrophe key and the curly apostrophe, how to type each on Windows and Dell keyboards, and how to check which character you used.
The key most people call the apostrophe key does two jobs. The same character marks contractions and possessives (don't, Sam's) and also works as a single quotation mark ('like this'). Text editors, word processors and fonts often display or replace that character differently. This guide explains which characters are involved, how to type each one on a standard US keyboard, and how to confirm which one ended up in your text.
What the apostrophe key actually types
On a standard US keyboard, the apostrophe key sits immediately to the left of Enter and shares its keycap with the double quotation mark. Pressing it without Shift produces one character: U+0027 APOSTROPHE. This is often called the straight, typewriter or ASCII apostrophe because it is vertical and looks the same whether it opens or closes a quotation.
There is no separate single-quote key. In plain ASCII text, U+0027 is used for apostrophes and for single quotation marks. The distinction only appears when you move to typographic, or curly, punctuation.
Different apostrophe and quote characters you may run into
Several characters look similar to the apostrophe but have different code points. A code point is the unique number Unicode assigns to each character. Software treats each one as a separate character, so a search for one will not match the others.
| Character | Unicode name | Code point | Typical use |
| ' | APOSTROPHE | U+0027 | Default output of the keyboard key; required in code, file paths and most data formats |
| ’ | RIGHT SINGLE QUOTATION MARK | U+2019 | Typographic apostrophe (don’t, Sam’s) and closing single quote |
| ‘ | LEFT SINGLE QUOTATION MARK | U+2018 | Opening single quote only |
| ʼ | MODIFIER LETTER APOSTROPHE | U+02BC | A letter-like apostrophe used in some languages and transliterations |
| ` | GRAVE ACCENT | U+0060 | Backtick key; often confused with an apostrophe but not one |
| ´ | ACUTE ACCENT | U+00B4 | Spacing accent mark; not an apostrophe |
| ′ | PRIME | U+2032 | Feet, minutes and math notation; not an apostrophe |
In English typography, the correct curly apostrophe is U+2019. It has the same shape as the closing single quotation mark. The opening single quote, U+2018, faces the other way and is wrong in a contraction or possessive.
Straight apostrophe vs curly apostrophe: which should you use?
- Use the straight apostrophe (U+0027) in programming code, command lines, spreadsheets formulas, CSV and JSON data, URLs and anywhere software parses the text. Curly quotes in these places can cause syntax errors or failed matches.
- Use the curly apostrophe (U+2019) in published prose, such as documents, books and web copy, when your style guide calls for typographic punctuation.
- Be consistent within a single document. Mixed apostrophes look uneven and break find-and-replace operations.
Example of how the same word can contain different characters:
don't ← U+0027 straight apostrophe
don’t ← U+2019 curly apostrophe
don‘t ← U+2018 opening quote (incorrect as an apostrophe)
don`t ← U+0060 grave accent (incorrect as an apostrophe)
How to type an apostrophe on Windows
Straight apostrophe (U+0027)
- 1. Place the cursor where the apostrophe belongs.
- 2. Press the apostrophe key to the left of Enter, without Shift.
- 3. If the character appears immediately, you have typed U+0027 unless your app converts it automatically (see the smart quotes section below).
- Alternative: hold Alt and type 39 on the numeric keypad, then release Alt.
Curly apostrophe (U+2019)
- Numeric keypad method: make sure Num Lock is on, hold Alt, type 0146 on the numeric keypad, then release Alt. The digits must be entered on the numeric keypad, not the number row.
- Microsoft Word method: type 2019, then press Alt+X. Word replaces the code with ’.
- Autocorrect method: in apps with smart quotes turned on, typing the normal apostrophe key inside a word is usually converted to ’ automatically.
For the opening single quote (‘, U+2018), the equivalents are Alt+0145 on the numeric keypad or 2018 followed by Alt+X in Word.
On a Mac, for comparison
The apostrophe key produces U+0027. Option+Shift+] produces the curly apostrophe ’ (U+2019), and Option+] produces the opening single quote ‘ (U+2018).
Dell apostrophe key: where it is and why it might type the wrong thing
Dell keyboards and laptops sold with a US English layout generally place the apostrophe key in the standard position: left of Enter, sharing the key with the double quotation mark. Dell produces many models and regional layouts, and no model-specific layout details were available for this guide. Check the keycap labels on your own keyboard if the position differs.
If the key is in the right place but produces something unexpected, the cause is usually the Windows keyboard layout setting, not the hardware. This applies to any brand, not just Dell.
- Nothing appears until you press another key: the US-International layout is probably active. In that layout, the apostrophe is a dead key, which means it waits to combine with the next letter. For example, ' followed by e gives é. To get a plain apostrophe, press the apostrophe key and then Space.
- A different symbol appears, such as é, è or another letter: a non-US layout (for example UK or a European layout) is active, and the key is mapped to another character.
- The layout keeps changing: Windows switches between installed layouts with Windows key+Space, and Left Alt+Shift may also switch layouts depending on your settings. Pressing these combinations by accident can change what the key types.
To fix a layout issue, open Windows Settings, go to Time & language, then Language & region. Under your language, open the options and check which keyboards are installed. Add or keep US (QWERTY) if you want the apostrophe to type immediately, and remove layouts you do not use. Menu names can vary slightly between Windows versions.
Smart quotes: when your app changes the apostrophe for you
Many word processors and email clients include a smart quotes feature. As you type, it replaces U+0027 with ’ or ‘ based on the surrounding characters. In Microsoft Word, this setting is labeled "Straight quotes" with "smart quotes" under AutoFormat As You Type in the AutoCorrect options.
The automatic guess can be wrong when an apostrophe begins a word. The software often treats it as an opening quote and inserts ‘ instead of ’.
Typed: '90s 'til rock 'n' roll
Often becomes: ‘90s ‘til rock ‘n’ roll (first mark is wrong)
Correct: ’90s ’til rock ’n’ roll
To correct a leading apostrophe, delete the wrong mark and insert ’ directly with Alt+0146 or 2019 followed by Alt+X. In many apps, you can also press Ctrl+Z immediately after the automatic replacement to undo it and keep the straight character.
If you need straight apostrophes throughout, for example when writing code samples in a document, turn smart quotes off before typing. Text that has already been converted is not changed back when you turn the setting off.
How to check which apostrophe you typed
The characters can look nearly identical in some fonts, so a visual check is unreliable. Use one of these methods:
- In Microsoft Word: place the cursor immediately after the character and press Alt+X. Word shows the code point (0027 or 2019, for example). Press Alt+X again to restore the character.
- With the Windows Character Map: paste the character into the Characters to copy field, or locate it in the grid, and read the Unicode value shown at the bottom of the window.
- With find: search the document for ' typed from the keyboard. If smart quotes are off in the search box, matches indicate straight apostrophes, and words that look like they contain an apostrophe but don't match likely contain a different character.
- In a code editor: switch to a monospaced font, where the straight apostrophe is clearly vertical and the curly one is slanted or comma-shaped.
Converting apostrophes without changing other text
When you clean up a document, replacing one apostrophe style with another is a character-level find-and-replace. Limit the operation to the characters you intend to change so meaningful content stays intact.
- Curly to straight: replace ’ (U+2019) and ‘ (U+2018) with ' (U+0027). This is generally safe for plain text and code.
- Straight to curly: replace ' inside words with ’. Do not blindly replace every ', because some are opening quotes that need ‘, and some sit inside code, formulas or quoted data that must stay straight.
- Leave other look-alikes alone unless you know they are errors. A prime (′) in 5′ or a grave accent (`) in a code sample may be intentional.
Example of a targeted replacement in text that mixes prose and code:
Before: The user’s setting is name = 'Ann'
After replacing only U+2019 with U+0027:
The user's setting is name = 'Ann'
The code portion already used straight apostrophes, so it is unaffected. This example is illustrative and was not produced by a specific tool. Review results in your own software before saving.
Quick reference
| Goal | Windows | Mac |
| Straight apostrophe ' (U+0027) | Apostrophe key, or Alt+39 on numeric keypad | Apostrophe key |
| Curly apostrophe ’ (U+2019) | Alt+0146 on numeric keypad, or 2019 then Alt+X in Word | Option+Shift+] |
| Opening single quote ‘ (U+2018) | Alt+0145 on numeric keypad, or 2018 then Alt+X in Word | Option+] |
| Plain apostrophe on US-International layout | Apostrophe key, then Space | Not applicable |