How to Format Apostrophes in Adobe InDesign
Set up InDesign to produce curly apostrophes, fix straight and backward apostrophes with Find/Change and GREP, and check the result without altering code or measurements.
Formatting apostrophes in Adobe InDesign usually means making sure every apostrophe is a typographic (curly) apostrophe rather than a straight typewriter mark, and that none point the wrong way. InDesign can do this automatically as you type or import text, and its Find/Change dialog can correct text that is already in a document. This guide covers both, along with how to check the result and avoid changing characters that must stay straight.
What apostrophe formatting does to your text
Apostrophe formatting replaces one character with another. It does not apply a style or effect, so the change is in the text itself and travels with it when you copy or export. The characters involved are listed below. The metacharacters are the codes InDesign uses in its Find/Change fields.
| Character | Name | Unicode | InDesign Find/Change code | Typical use |
| ' | Straight single quote (typewriter apostrophe) | U+0027 | ~' | Code, file paths, data that must stay plain ASCII |
| ‘ | Left single quotation mark | U+2018 | ~[ | Opening a single-quoted phrase |
| ’ | Right single quotation mark | U+2019 | ~] | Typographic apostrophe and closing single quote |
| ′ | Prime | U+2032 | (none; search by the character itself) | Feet, minutes, and similar measurements |
Note that the typographic apostrophe and the closing single quotation mark are the same character, U+2019. The most common error is a left single quotation mark (‘) where an apostrophe (’) belongs. This happens when a word starts with an apostrophe, as in ’90s or rock ’n’ roll.
Before you start: protect the original text
- Save the document, or use File > Save a Copy, before any Change All operation.
- Identify text that must keep straight marks, such as code samples, URLs shown as text, measurements, and quoted data. Plan to exclude it by working on a selection or a single story instead of the whole document.
- If you rely on undo, undo immediately after a Change All. Later edits make it harder to step back cleanly.
Step 1: Turn on typographer's quotes for new typing
- Open preferences: Edit > Preferences > Type on Windows, or InDesign > Settings (Preferences in older versions) > Type on macOS.
- Select Use Typographer's Quotes and click OK.
- To toggle the setting while typing, use Shift+Alt+Ctrl+' on Windows or Shift+Option+Command+' on macOS. This is useful when you need to type a straight mark in a code sample.
- Check the language. Which quotation characters InDesign inserts depends on the language applied to the text (Character or Paragraph panel) and the quote pairs set for that language under Preferences > Dictionary.
This setting only affects new typing. It does not convert text that is already in the document.
Step 2: Convert apostrophes when importing text
- Choose File > Place and select Show Import Options before opening the file.
- For Word, RTF, and plain text files, select Use Typographer's Quotes in the import options dialog.
- For plain text files, also set the Character Set to match the file's encoding, such as UTF-8.
If apostrophes appear as sequences such as ’, the file's encoding was misread. A typical cause is a UTF-8 file imported as a Windows Western character set. Don't fix this with Find/Change. Place the file again with the correct character set, because the garbled sequence can stand for different original characters.
Step 3: Fix existing straight apostrophes with Find/Change
Open Edit > Find/Change. The Text tab handles simple swaps, and the GREP tab handles pattern-based fixes. In both tabs, the Search menu sets the scope (Selection, Story, Document, or All Documents). Choose the narrowest scope that covers the text you want to change.
In the Text tab, an unescaped ' in the Find field matches any single quotation mark, straight or curly. Use ~' to match only the straight mark. The safest targeted fix converts only straight apostrophes that sit between two word characters, such as in don't, it's, and O'Brien. Enter these values in the GREP tab:
Find what: (?<=\w)~'(?=\w)
Change to: ~]
Here, (?<=\w) requires a letter, digit, or underscore immediately before the mark, and (?=\w) requires one immediately after. Neither is replaced, so only the apostrophe itself changes. Click Find Next and Change a few times to confirm the matches are what you expect, then use Change All.
Example (illustrative, not tested output):
Before: It's Maria's copy, and we don't edit it.
After: It’s Maria’s copy, and we don’t edit it.
Step 4: Fix backward apostrophes at the start of words
With typographer's quotes on, InDesign treats a mark typed at the start of a word as an opening quote and inserts ‘. For abbreviated years, you can target the pattern directly. This GREP query matches a straight mark or a left single quote followed by two digits and an s, and replaces it with an apostrophe:
Find what: (~'|~\[)(?=\d\ds\b)
Change to: ~]
Before: music of the ‘90s and ‘80s
After: music of the ’90s and ’80s
Other leading apostrophes, such as in ’til, ’em, and rock ’n’ roll, can't be reliably told apart from opening quotes by pattern alone. Correct these individually. To insert the right character, use Type > Insert Special Character > Quotation Marks > Single Right Quotation Mark, or on macOS type Option+Shift+]. You can also search for ~[ with the Text tab and step through each match with Find Next, changing only the ones that are apostrophes.
Cases to leave alone or check by hand
- Trailing apostrophes in plural possessives, such as the students' work. A mark after a final s and before a space looks the same as a closing single quote, so review these one at a time instead of converting them in bulk.
- Code, commands, and file names. These usually need the straight mark. Restrict the search scope, or apply a character style to code and add a Find Format condition so your queries skip it.
- Measurements such as 6' 2". These may call for prime marks (′ and ″) or straight marks, depending on your house style, but never curly apostrophes.
- Languages with different conventions. Check the dictionary language settings before running document-wide changes on multilingual text.
Check the result
- In the Text tab, search for ~' with the scope set to the text you corrected. Any remaining matches are straight marks you either kept on purpose or missed.
- Search for ~[ to review every left single quote and confirm that each one opens a quotation rather than standing in for an apostrophe.
- Zoom in on a few corrected words. In some fonts, straight and curly marks look alike at normal size.
- For a doubtful character, select it and look in the Glyphs panel. The selected glyph is highlighted there, and hovering over it shows its Unicode value.
- To reuse a query, save it with the Save Query button in the Find/Change dialog so the same rules apply across documents.
Gaps in this guide
No version-specific documentation was provided for this article. Menu names, such as Settings versus Preferences on macOS, and keyboard shortcuts can differ between InDesign releases and keyboard layouts. Confirm them in your installed version. The before-and-after samples are illustrations of what the queries are designed to do, not recorded output, so test each query on a copy of your text first.