To find a word or phrase on a web page in Safari on a Mac, press Command-F and type the text. Safari highlights the matches and shows how many there are. Press Command-G to jump to the next match and Shift-Command-G to go back to the previous one.
Find text with the keyboard
- Open the page and press Command-F. A find bar appears at the top of the page.
- Type the word or phrase. The find bar shows the number of matches, or “Not found”.
- Press Command-G for the next match or Shift-Command-G for the previous one. The arrow buttons in the find bar do the same.
- Click Done to close the find bar.
A faster way for a word that is already on the screen: select it, press Command-E and then Command-G. Safari jumps to the next place where the selected text appears, without you typing anything.
Find text with the menus
The same commands are in the menu bar under Edit → Find: Find, Find Next, Find Previous, Hide Find Banner and Use Selection for Find.
On macOS 15 Sequoia and later you can also click the Page Menu button in the address field and choose the find command there (Find on Page).
Match the beginning of a word only
The pop-up menu in the find bar’s search field has two choices. With Contains, Safari finds your text anywhere, also inside longer words, so “book” matches “notebook”. With Begins with, it finds only words that start with your text, such as “bookshelf” and “bookshop”.
Search a whole website from the address field
Command-F searches only the page that is open. To search an entire website, Safari has Quick Website Search: type the name of the site followed by your search words into the address field, for example “wikipedia eclipse”. Safari then offers to search that site for your words. This works only for websites for which Safari has recorded search information.
The feature is controlled by Safari → Settings → Search → Enable Quick Website Search. Click Manage Websites there to see which sites are covered or to remove one.
After you click through from a list of search results, press Option-Command-S (Return to Search Results) to go back to the results page.
Find text in Safari on iPhone and iPad
- Open the page in Safari.
- Tap the Page Menu button in the search field, then tap the button for searching the page. On iOS 18 it is labeled Find on Page.
- Type the word or phrase.
- Tap the arrow button to jump to the next match.
On iOS 17 and earlier, tap the Share button and then Find on Page.
Web searches and privacy
Command-F only looks through the page that is already open. Web searches from the address field are different: Safari remembers them as recent searches and suggests them again later. History → Clear History removes them, and searches made in a private window are left out of those suggestions. Kingpin, our private browser for Mac, by default remembers nothing after you quit.