How to Type an Apostrophe on a French Keyboard

Find the apostrophe on a French AZERTY keyboard, type the curly ’ when you need it, and check which character actually landed in your text.

On a standard French AZERTY keyboard, the apostrophe is on the 4 key in the top number row. Press that key without Shift and you get ' (the straight apostrophe). Press Shift with it and you get the digit 4. This guide covers that key, how to type the curly typographic apostrophe (’), and how to confirm which of the two ended up in your text.

What the apostrophe key produces

Two different characters both look like an apostrophe. They are different code points, which matters for search, sorting, spell-checking and code.

Character | Name | Unicode code point | Typical use
' | Apostrophe (straight, typewriter) | U+0027 | Code, data files, plain text, anywhere a program expects ASCII
’ | Right single quotation mark (curly, typographic) | U+2019 | Published prose and typeset French, such as l’été or aujourd’hui

On a French layout, the 4 key types the straight version (U+0027). The curly version is usually created in one of two ways. Either your word processor converts the straight one automatically, or you insert it yourself with one of the methods below.

Step 1: Confirm you are using a French AZERTY layout

The key position only works if your operating system is actually using the French layout. The printed keycaps do not control this. If pressing the 4 key gives you 4 instead of ', the active layout is probably QWERTY or another layout.

  • Windows: check the language indicator on the taskbar. Press Windows key + Space to cycle through installed layouts until French (AZERTY) is active.
  • macOS: open the input menu in the menu bar and choose a French layout. If you don't see that menu, add the layout in the keyboard input settings.
  • Linux desktops: choose the French (fr) layout in your desktop's keyboard or region settings.
  • If you are unsure what a key does, open an on-screen keyboard and watch which character each key shows. On Windows this is the On-Screen Keyboard; on macOS it is the Keyboard Viewer.

The standard France AZERTY number row, without Shift, reads as follows. The apostrophe is the fourth character:

&  é  "  '  (  -  è  _  ç  à  )  =

This is the Windows France layout. The Mac French layout differs in places on the right side of the row, but the apostrophe is also on the 4 key there. Other French-language layouts place it elsewhere. Swiss French, for example, is a QWERTZ layout. If you use one of these, check the on-screen keyboard instead of relying on the diagram above.

Step 2: Type the straight apostrophe

  • Place the cursor where the apostrophe should go.
  • Press the 4 key in the top row, without Shift and without AltGr.
  • Keep typing. French elision normally has no space after the apostrophe.

Example, before and after:

Before:  lapostrophe dun mot
After:   l'apostrophe d'un mot

Avoid substitutes that only look similar. On the France layout, AltGr + 7 produces the grave accent (`), which works as a dead key. A dead key waits for the next letter before producing anything. The acute accent (´) and the prime symbol (′) are also separate characters. Using any of these in place of an apostrophe can break spell-checking and text search.

Step 3 (optional): Type the curly apostrophe ’

The standard France AZERTY layout has no dedicated key for ’. Use whichever of these methods fits your setup:

Environment | Method
Microsoft Word or Outlook | Type the straight apostrophe and let AutoFormat convert it. The option is called "Straight quotes" with "smart quotes" in the AutoFormat As You Type settings. Or type 2019 and then press Alt + X.
Windows, keyboard with a numeric keypad | With Num Lock on, hold Alt and type 0146 on the keypad. This relies on a Western (Windows-1252) system code page and may produce a different character on other configurations.
Windows, no numeric keypad | Press Windows key + . (period) to open the emoji and symbols panel and pick ’ from the symbols. Or use Character Map.
macOS | Turn on smart quotes in the keyboard text settings so apps that support it convert ' as you type. Or insert ’ from the Character Viewer (Control + Command + Space).
Linux (GTK apps using IBus) | Press Ctrl + Shift + U, type 2019, then press Space or Enter.

Some regional or newer French layouts may offer ’ directly. Check your own layout in the on-screen keyboard before assuming either way.

Step 4: Check which apostrophe you got

At normal text size the two characters can look almost the same, so it helps to confirm the code point:

  • In Word, place the cursor right after the character and press Alt + X. The character turns into its hexadecimal code: 27 means the straight apostrophe, 2019 means the curly one. Press Alt + X again to turn it back.
  • In other editors, paste the text into a tool that shows Unicode code points, or search for each character separately and see which one matches.
  • In a monospaced code editor, the straight apostrophe usually looks vertical and the curly one looks slanted or comma-shaped.

Example of the expected result (illustrative):

l'été   ->  apostrophe is U+0027 (straight)
l’été   ->  apostrophe is U+2019 (curly)

Avoiding unwanted changes

Automatic smart-quote conversion helps in prose but can cause damage elsewhere. Code, command lines, configuration files, spreadsheet formulas and quoted strings in data usually require the straight U+0027. A curly apostrophe there can break the syntax.

  • If Word converts an apostrophe you wanted straight, press Ctrl + Z immediately. That undoes the automatic change and keeps the straight character.
  • For technical writing, turn off smart-quote conversion in that application, or write the text in a plain-text or code editor.
  • Before running a find-and-replace that swaps ' for ’ (or the reverse) across a whole document, save a copy. Also limit the replacement to prose, so code samples and data are not affected.
  • When you paste text between applications, check the apostrophes again. Some programs convert them on paste.

Limitations of this guide

No source material specific to individual keyboard models or software versions was available. The key positions and shortcuts above describe the common default France AZERTY layout and widely available operating-system features. Menu names and options differ between versions. If something doesn't behave as described, the on-screen keyboard and the code-point check in Step 4 are the most reliable ways to confirm what your setup does.