Keyboard shortcuts - Perform common Firefox tasks quickly

Firefox Firefox Last updated: 6 days, 15 hours ago 84% of users voted this helpful

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 address bar and search bar). In such cases you should use the alternate keyboard shortcut if one is listed below.

Navigation

Command Shortcut
Back Alt + command +
command + [
Alt +
Ctrl + [

Backspace*
*when browser.backspace_action is set to 0 (as in the Configuration Editor), which is not the default.
Forward Alt + command +
command + ]
Alt +
Ctrl + ]

Shift + Backspace*
*see above.
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 Down
fn +

Space bar
Go Up a Screen Page Up
fn +

Shift + Space bar
Go to Bottom of Page End
Ctrl +

command +
Go to Top of Page Home
Ctrl +

command +
Move to Next Frame, Pop-Up F6
Move to Previous Frame, Pop-Up 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 + Y
Ctrl + Shift + Z
command + shift + Z
Select All Ctrl + Acommand + A
Undo Ctrl + Zcommand + Z
Select link text only Alt + select link textcommand + select link text

Search

Command Shortcut
Find in This Page 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
Switch Search Engine Alt +
Alt +
option +
option +

- after you have written something (or pressed ) in the address bar
Web Search with Default Search Engine Type ? and a space (or only ?) into empty Address Bar
Focus Address bar for Web Search with Default Search Engine Ctrl + Kcommand + K
Ctrl + ECtrl + Jcommand + option + F
- if search bar is not shown
Focus Search bar Ctrl + Kcommand + K
Ctrl + ECtrl + Jcommand + option + F
- if search bar is shown
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

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 Settings
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 Settings
Go to Tab 1 to 8 Ctrl + 1 to 8command + 1 to 8Alt + 1 to 8
Go to Last Tab Ctrl + 9command + 9Alt + 9
Move Tab Left Ctrl + Shift + Page Up
Move Tab Right Ctrl + Shift + Page Down
Move Tab to start Ctrl + Shift + Homecommand + shift + home
- requires the currently selected tab to be "in focus" for instance, by hitting Alt + Dcommand + L to focus the address bar, and then Shift + Tab until you reach the browser tab bar.
Move Tab to end Ctrl + Shift + Endcommand + shift + end
- requires the currently selected tab to be "in focus" for instance, by hitting Alt + Dcommand + L to focus the address bar, and then Shift + Tab until you reach the browser tab bar.
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 Background Tab Alt + Shift + Enteroption + shift + return
- from address bar
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, image or media in a new tab, switch to it immediately is enabled in Settings
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, image or media in a new tab, switch to it immediately is enabled in Settings
Open Focused Bookmark or Link in New Window Shift + Entershift + return
Show All Tabs Ctrl + Shift + Tabcontrol + shift + tab
- if the setting Ctrl+Tab cycles through tabs in recently used order is enabled in Settings
Undo Close TabReopen last closed tab or window Ctrl + Shift + Tcommand + shift + T
Note:Reopens last closed tab or window, in the order closed. If there aren't any tabs or windows to reopen, this command restores the previous session.
Undo Close WindowReopen last closed window Ctrl + Shift + Ncommand + shift + N
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 + Bcommand + BCtrl + B
Show/hide the Bookmarks toolbar Ctrl + Shift + Bcommand + shift + BCtrl + Shift + B
Show All Bookmarks (Library Window) Ctrl + Shift + Ocommand + shift + OCtrl + Shift + O
Show List of All Bookmarks Space
- in Empty Search Field in Bookmarks Library Window or Sidebar.
Focus Next Bookmark/Folder whose name (or sorted property) starts with a given character or character sequence Type the character or quickly type the character sequence.
- in Bookmarks Library, Bookmarks Toolbar, Bookmarks Menu, Bookmarks 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
Take a screenshot Ctrl + Shift + Scommand + shift + S
Style Editor Shift + F7
Task Manager Shift + Esc
Profiler Shift + F5
Network Ctrl + Shift + Ecommand + alt + E
Responsive Design View Ctrl + Shift + Mcommand + alt + M
Page Source Ctrl + Ucommand + U
Browser Console Ctrl + Shift + Jcommand + shift + J
Page Info Ctrl + Icommand + I

PDF Viewer

Command Shortcut
Next page N or J or
Previous page P or K or
Zoom in Ctrl + +command + +
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 Shift + 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
Focus Address Bar F6
Alt + D
Ctrl + L
Focus 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
Focus Address Bar F6
command + L
Focus 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 focus an adjacent object and “tab into” the tab bar, for instance, by hitting Ctrl + Lcommand + L to focus the address bar, and then Shift + Tab repeatedly until the current tab gets a colored border.
Command Shortcut
Select left, right, first or last tab. Deselect all other tabs. Arrow Keys
Home
End
Move the colored border to left, right, first or last tab. Ctrlcommand + Arrow Keys
Ctrlcommand + Home
Ctrlcommand + End
Select or deselect the tab with the colored border. 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 Firefox Source Docs page.

Was this article helpful?

Please wait...

These fine people helped write this article:

Illustration of hands

Volunteer

Grow and share your expertise with others. Answer questions and improve our knowledge base.

Learn More