Keyboard shortcuts - Perform common Firefox tasks quickly

Revision Information
  • Revision id: 179164
  • Created:
  • Creator: Joni
  • Comment: edited per bug 1436086
  • Reviewed: Yes
  • Reviewed:
  • Reviewed by: heyjoni
  • Is approved? Yes
  • Is current revision? No
  • Ready for localization: Yes
  • Readied for localization:
  • Readied for localization by: heyjoni
Revision Source
Revision Content

This article lists keyboard shortcuts in Mozilla Firefox. The shortcuts only work if they are not used by the desktop environment or window manager. If you have enabled Emacs-style text editing shortcuts in GNOME, they will also work in Firefox. When an Emacs text editing shortcut conflicts with the default shortcuts (as occurs with Ctrl+K), the Emacs shortcut will take precedence if focus is inside a text box (which would include the location bar and search bar). In such cases you should use the alternate keyboard shortcut if one is listed below.

Note: You can customize keyboard shortcuts for Firefox using the Saka key extension.

Navigation

Command Shortcut
Back Alt +
Backspace
command +
command + [
Delete
Alt +
Ctrl + [
Forward Alt +
Shift + Backspace
command +
command + ]
Shift + Delete
Alt +
Ctrl + ]
Home Alt + Homeoption + home
Open File Ctrl + Ocommand + O
Reload F5
Ctrl + Rcommand + R
Reload (override cache) Ctrl + F5
Ctrl + Shift + R
command + shift + R
Stop Esc
command + .

Current Page

Command Shortcut
Focus Next Link or Input Field Tab
Focus Previous Link or Input Field Shift + Tab
Go Down a Screen Page Downfn + &#8595
Space bar
Go Up a Screen Page Upfn +
Shift + Space bar
Go to Bottom of Page End
Ctrl +

command +
Go to Top of Page Home
Ctrl +

command +
Move to Next Frame F6
Move to Previous Frame Shift + F6
Print Ctrl + Pcommand + P
Save Focused Link Alt + Enteroption + return
-when browser.altClickSave is set to true (as in the Configuration Editor), which is not the default.
Save Page As Ctrl + Scommand + S
Zoom In Ctrl + +command + +
Zoom Out Ctrl + -command + -
Zoom Reset Ctrl + 0command + 0

Editing

Command Shortcut
Copy Ctrl + Ccommand + C
Cut Ctrl + Xcommand + X
Delete Deldelete
Delete Word to the Left Ctrl + Backspace
Delete Word to the Right Ctrl + Del
Go one Word to the Left Ctrl +
Go one Word to the Right Ctrl +
Go to Beginning of Line Home
Ctrl +
Go to End of Line End
Ctrl +
Go to Beginning of Text Ctrl + Home
Go to End of Text Ctrl + End
Paste Ctrl + Vcommand + V
Paste (as plain text) Ctrl + Shift + Vcommand + shift + V
Redo Ctrl + Ycommand + shift + ZCtrl + Shift + Z
Select All Ctrl + Acommand + A
Undo Ctrl + Zcommand + Z

Search

Command Shortcut
Find Ctrl + Fcommand + F
Find Again F3
Ctrl + Gcommand + G
Find Previous Shift + F3
Ctrl + Shift + Gcommand + shift + G
Quick Find within link-text only '
Quick Find /
Close the Find or Quick Find bar Esc
- when the Find or Quick Find bar is focused
Focus Search bar Ctrl + Kcommand + K
Ctrl + ECtrl + Jcommand + option + F
Change the Default Search Engine Ctrl +
Ctrl +
command +
command +

- in the Search bar or the Search field of the New Tab page.
View menu to switch, add or manage search engines Alt +
Alt +
F4
option +
option +

- when the Search bar is focused

Windows & Tabs

Some of these shortcuts require the currently selected tab to be "in focus." Currently, the only way to do this is to select an adjacent object and "tab into" the current tab, for instance, by hitting Alt + Dcommand + L to select the address bar, and then Shift + Tab until you reach the browser tab bar.
Command Shortcut
Close Tab Ctrl + W
Ctrl + F4
command + W
- except for Pinned Tabs
Close Window Ctrl + Shift + W
Alt + F4
command + shift + W
Cycle through Tabs in Recently Used Order Ctrl + Tabcontrol + tab
-if enabled in OptionsPreferences
ExitQuit Ctrl + Shift + QCtrl + Qcommand + Q
Go one Tab to the Left Ctrl + Page Upcontrol + page up
command + option +

Ctrl + Shift + Tabcontrol + shift + tab*
* see below
Go one Tab to the Right Ctrl + Page Downcontrol + page down
command + option +

Ctrl + Tabcontrol + tab*
* if the setting Ctrl+Tab cycles through tabs in recently used order is disabled in OptionsPreferences
Move Tab Left Ctrl + Shift + Page Up
Move Tab Right Ctrl + Shift + Page Down
Move Tab in focus to start Ctrl + Shift + Homecommand + shift + home
Move Tab in focus to end Ctrl + Shift + Endcommand + shift + end
Mute/Unmute Audio Ctrl + Mcontrol + M
New Tab Ctrl + Tcommand + T
New Window Ctrl + Ncommand + N
New Private Window Ctrl + Shift + Pcommand + shift + P
Open Address or Search in New Foreground Tab Alt + Enteroption + return
- from address bar or Search bar
Open Address or Search in New Window Shift + Entershift + return
- from address bar or the Search field on the New Tab page
Open Search in New Background Tab Ctrl + Entercommand + shift + return
- from the Search field on the New Tab page.
(see note, below)
Open Search in New Foreground Tab Ctrl + Shift + Entercommand + return
- from the Search field on the New Tab page.
Note: The Foreground and Background Tab shortcuts are switched if the setting When you open a link in a new tab, switch to it immediately is enabled in OptionsPreferences
Open Focused Bookmark or Link in Current Tab Enterreturn
Open Focused Bookmark in New Foreground Tab Ctrl + Entercommand + return
Open Focused Bookmark in New Background Tab Ctrl + Shift + Entercommand + shift + return
Open Focused Link in New Background Tab Ctrl + Entercommand + return
(see note, below)
Open Focused Link in New Foreground Tab Ctrl + Shift + Entercommand + shift + return
Note: The Foreground and Background Tab shortcuts are switched if the setting When you open a link in a new tab, switch to it immediately is enabled in OptionsPreferences
Open Focused Bookmark or Link in New Window Shift + Entershift + return
Undo Close Tab Ctrl + Shift + Tcommand + shift + T
Undo Close Window Ctrl + Shift + Ncommand + shift + N
Select Tab 1 to 8 Ctrl + 1 to 8command + 1 to 8Alt + 1 to 8
Select Last Tab Ctrl + 9command + 9Alt + 9
Moves the URL left or right (if cursor is in the address bar) Ctrl + Shift + Xcommand + shift + X

History

Command Shortcut
History sidebar Ctrl + H
Library window (History) Ctrl + Shift + H
Clear Recent History Ctrl + Shift + Del

History

Command Shortcut
History sidebar command + shift + H
Clear Recent History command + shift + delete

Bookmarks

Command Shortcut
Bookmark All Tabs Ctrl + Shift + Dcommand + shift + D
Bookmark This Page Ctrl + Dcommand + D
Bookmarks sidebar Ctrl + B
Ctrl + I
command + BCtrl + B
Library window (Bookmarks) Ctrl + Shift + Bcommand + shift + BCtrl + Shift + O
Show List of All Bookmarks. Space
- in Empty Search Field in Bookmarks Library Window or Sidebar.

Tools

Command Shortcut
Downloads Ctrl + JCtrl + Shift + Ycommand + J
Add-ons Ctrl + Shift + Acommand + shift + A
Toggle Developer Tools F12
Ctrl + Shift + Icommand + alt + I
Web Console Ctrl + Shift + Kcommand + alt + K
Inspector Ctrl + Shift + Ccommand + alt + C
Debugger Ctrl + Shift + Scommand + alt + S
Style Editor Shift + F7
Profiler Shift + F5
Network Ctrl + Shift + Qcommand + alt + QCtrl + Shift + Ecommand + alt + E
Developer Toolbar Shift + F2
Responsive Design View Ctrl + Shift + Mcommand + alt + M
Scratchpad Shift + F4
Page Source Ctrl + Ucommand + U
Browser Console Ctrl + Shift + Jcommand + shift + J
Page Info command + ICtrl + I

PDF Viewer

Command Shortcut
Next page N or J or
Previous page P or K or
Zoom in Ctrl + &#43command + &#43
Zoom out Ctrl + -command + -
Automatic Zoom Ctrl + 0command + 0
Rotate the document clockwise R
Rotate counterclockwise Shift + R
Switch to Presentation Mode Ctrl + Alt + Pcommand + Alt + P
Choose Text Selection Tool S
Choose Hand Tool H
Focus the Page Number input box Ctrl + Alt + Gcommand + Alt + G

Miscellaneous

Command Shortcut
Complete .com Address Ctrl + Enter
Delete Selected Autocomplete Entry Del
Toggle Full Screen F11
Toggle Menu Bar activation (showing it temporarily when hidden) Alt or F10Alt or F10
Toggle Reader Mode Ctrl + Alt + RF9
Caret Browsing F7
Select Location Bar F6
Alt + D
Ctrl + L
Go to Search Field in Library F6
Ctrl + F
Stop Autoscroll Mode Esc
Cancel Drag-and-Drop Operation Esc
Clear Search Field in Library or Sidebar Esc
Close a Menu Esc
Alt
F10
Toggle Context Menu Shift + F10

Miscellaneous

Command Shortcut
Complete .com Address control + return
Delete Selected Autocomplete Entry shift + delete
Toggle Full Screen command+Shift+F
Toggle Reader Mode command+option+R
Caret Browsing F7
Select Location Bar F6
command + L
Go to Search Field in Library F6
command + F
Stop Autoscroll Mode Esc
Cancel Drag-and-Drop Operation Esc
Clear Search Field in Library or Sidebar Esc
Close a Menu Esc
Alt
F10

Miscellaneous

Command Shortcut
Complete .com Address Ctrl + Enter
Complete .net Address Shift + Enter
Complete .org Address Ctrl + Shift + Enter
Delete Selected Autocomplete Entry Del
Toggle Full Screen F11
Toggle Menu Bar activation (showing it temporarily when hidden) Alt or F10Alt or F10
Toggle Reader Mode Ctrl + Alt + RF9Ctrl + Alt + R
Caret Browsing F7
Select Location Bar F6
Alt + D
Ctrl + L
Go to Search Field in Library F6
Ctrl + F
Stop Autoscroll Mode Esc
Cancel Drag-and-Drop Operation Esc
Clear Search Field in Library or Sidebar Esc
Close a Menu Esc
Alt
F10
Toggle Context Menu Shift + F10

Miscellaneous

Command Shortcut
Complete .com Address command + return
Complete .net Address shift + return
Complete .org Address command + shift + return
Delete Selected Autocomplete Entry shift + delete
Toggle Full Screen command+Shift+F
Toggle Reader Mode command+option+R
Caret Browsing F7
Select Location Bar F6
command + L
Go to Search Field in Library F6
command + F
Stop Autoscroll Mode Esc
Cancel Drag-and-Drop Operation Esc
Clear Search Field in Library or Sidebar Esc
Close a Menu Esc
Alt
F10

Media shortcuts

Command Shortcut
Toggle Play / Pause Space bar
Decrease volume
Increase volume
Mute audio Ctrl + command +
Unmute audio Ctrl + command +
Seek back 15 seconds
Seek back 10 % Ctrl + command +
Seek forward 15 seconds
Seek forward 10 % Ctrl + command +
Seek to the beginning Home
Seek to the end End

Selection of Multiple Tabs

These shortcuts require the tab bar to be "in focus." Currently, the only way to do this is to select an adjacent object and "tab into" the tab bar, for instance, by hitting Alt + Dcommand + L to select the address bar, and then Shift + Tab twice (only once from the New Tab Page).
Command Shortcut
Select left, right, first or last tab. Deselect all other tabs. Arrow Keys
Home
End
Move the dotted rectangle to left, right, first or last tab. Ctrlcommand + Arrow Keys
Ctrlcommand + Home
Ctrlcommand + End
Select or deselect the tab with the dotted rectangle. The other tabs stay selected or deselected. Ctrl + Spacecommand + space

Developer shortcuts

You can also use keyboard shortcuts with developer tools in Firefox. See the All Keyboard shortcuts MDN Web Docs page.