Keyboard shortcuts and gestures in Safari on Mac
In the Safari app on your Mac, you can quickly accomplish many tasks using keyboard shortcuts and gestures. See the shortcuts and gestures below, as well as keyboard shortcuts in Safari menus in the menu bar. In app menus, keyboard shortcuts are represented by symbols.
Note: Keyboard shortcuts in apps may vary depending on the language and keyboard layout you’re using on your Mac. If the shortcuts below don’t work as you expect, look in the app menus in the menu bar to see the correct shortcuts. You can also use the Keyboard Viewer to see your current keyboard layout, known as an input source.
Scroll
Action | Shortcut or gesture |
---|---|
Scroll up, down, left or right | Press the arrow keys. |
Scroll in larger increments | Press Option while you press an arrow key. |
Scroll down a screen | Page Down Space bar |
Scroll up a screen | Page Up Shift–Space bar |
Scroll to the top-left or bottom-left corner of the page | Command–Up Arrow Command–Down Arrow |
Current web page
Action | Shortcut or gesture |
---|---|
Search the current web page | Command-F |
Highlight the next field or pop-up menu on a web page | Tab Tab also highlights buttons and other controls if “Use keyboard navigation to move focus between controls” is selected in the Shortcuts pane of the Keyboard pane of System Preferences. |
Highlight the next field, pop-up menu or clickable item (such as a link) on a web page | Option-Tab Option-Tab also highlights buttons and other controls if “Use keyboard navigation to move focus between controls” is selected in the Shortcuts pane of the Keyboard pane of System Preferences. To swap the behaviour of Tab and Option-Tab, turn on “Press Tab to highlight each item on a web page” in the Advanced pane of Safari preferences. |
While typing in the Smart Search field, restore the current web page address | Esc |
Select the Smart Search field | Command-L |
Print the current web page | Command-P |
Copy the selected item | Command-C |
Paste the most recently copied item | Command-V |
Tabs
Action | Shortcut or gesture |
---|---|
Show tab overview | Shift-Command-\ |
Open a page in a new tab | Command-click a link Command-click a bookmark Command-Return after typing in the Smart Search field. |
Open a page in a new tab, and make that tab the active tab | Shift-Command-click a link Shift-Command-click a bookmark Shift-Command-Return after typing in the Smart Search field. |
Go to the next tab | Control-Tab or Shift-Command-] |
Go to the previous tab | Control-Shift-Tab or Shift-Command -[ |
Select one of your first nine tabs | Command-1 to Command-9 |
Close the active tab | Command-W |
Close all tabs except for one | Option-click the Close button on the tab you want to leave open |
Reopen the last tab you closed | Shift-Command-T |
Preferences
Action | Shortcut or gesture |
---|---|
Go to your homepage | Shift-Command-H |
Change Safari preferences | Command-, |
History
Action | Shortcut or gesture |
---|---|
Go back to the previous web page | Command-[ |
Go forward to the next web page | Command-] |
See a list of your recently visited pages by name | Hold down the Back or Forward button until the list appears |
See a list of your recently visited pages by web address (URL) | Press Option and hold down the Back or Forward button until the list appears |
Zoom
Action | Shortcut or gesture |
---|---|
Exit full-screen view | Esc |
Zoom website content | Press Command-Plus Sign (+) or Command-Minus Sign (-) |
Zoom website text | Press Option while you choose View > Make Text Bigger or View > Make Text Smaller |
Downloads
Action | Shortcut or gesture |
---|---|
Download a linked file | Option-click a link to the file |
Open a downloaded file | Double-click the file in the downloads list |
Window
Action | Shortcut or gesture |
---|---|
Switch to another Safari window | Command-` (above the Tab key) |
Reopen the last window you closed | Shift-Command-T |
Reading List
Action | Shortcut or gesture |
---|---|
Show or Hide the Reading List sidebar | Control-Command-2 |
Add the current page | Shift-Command-D |
Add a linked page | Shift-click a link to the page |
Remove a page | Control-click the page summary in the sidebar, then choose Remove Item. You can also swipe left over the page summary, then click Remove. Or, swipe all the way to the left until the page summary disappears. |
Open Reader | Shift-Command-R |
Close Reader | Esc |
Bookmarks
Action | Shortcut or gesture |
---|---|
Add a bookmark to the Favourites bar | Click the Smart Search field to show the page’s full address and its icon, then drag the icon to the Favourites bar |
Open all bookmarks from a folder in the Favourites bar | Command-click the folder in the Favourites bar |
Move a bookmark on the Favourites bar | Drag the bookmark left or right |
Remove a bookmark from the Favourites bar | Drag the bookmark off the top of the bar |
Bookmarks sidebar and bookmarks view
Action | Shortcut or gesture |
---|---|
Show or Hide the Bookmarks sidebar | Control-Command-1 |
Select bookmarks and folders in the sidebar | Command-click each bookmark and folder Shift-click to extend the selection |
Select the next bookmark or folder | Up Arrow or Down Arrow |
Open the selected bookmark | Space bar |
Open the selected folder | Space bar or Right Arrow |
Close the selected folder | Space bar or Left Arrow |
Change the name or address of a bookmark | Select the bookmark, then press Return You can also force click the bookmark |
Cancel editing a bookmark name in the sidebar | Esc |
Finish editing a bookmark name | Return |
Create a folder containing the selected bookmarks and folders in bookmarks view | Option-click the New Folder button near the top-right corner |
Delete a bookmark | Control-click the bookmark, then choose Delete |