47 Keyboard Shortcuts That Work in All Web Browsers
Each major web browser shares a large number of keyboard shortcuts in common. Whether you’re using Mozilla Firefox, Google Chrome, Internet Explorer, Apple Safari, or Opera – these keyboard shortcuts will work in your browser.
Each browser also has some of its own, browser-specific shortcuts, but learning the ones they have in common will serve you well as you switch between different browsers and computers. This list includes a few mouse actions, too.
Tabs
Ctrl+1-8 – Switch to the specified tab, counting from the left.
Ctrl+9 – Switch to the last tab.
Ctrl+Tab – Switch to the next tab – in other words, the tab on the right. (Ctrl+Page Up also works, but not in Internet Explorer.)
Ctrl+Shift+Tab – Switch to the previous tab – in other words, the tab on the left. (Ctrl+Page Down also works, but not in Internet Explorer.)
Ctrl+W, Ctrl+F4 – Close the current tab.
Ctrl+Shift+T – Reopen the last closed tab.
Ctrl+T – Open a new tab.
Ctrl+N – Open a new browser window.
Alt+F4 – Close the current window. (Works in all applications.)
Mouse Actions for Tabs
Middle Click a Tab – Close the tab.
Ctrl+Left Click, Middle Click – Open a link in a background tab.
Shift+Left Click – Open a link in a new browser window.
Ctrl+Shift+Left Click – Open a link in a foreground tab.
Navigation
Alt+Left Arrow, Backspace – Back.
Alt+Right Arrow, Shift+Backspace – Forward.
F5 – Reload.
Ctrl+F5 – Reload and skip the cache, re-downloading the entire website.
Escape – Stop.
Alt+Home – Open homepage.
Zooming
Ctrl and +, Ctrl+Mousewheel Up – Zoom in.
Ctrl and -, Ctrl+Mousewheel Down — Zoom out.
Ctrl+0 – Default zoom level.
F11 – Full-screen mode.
Scrolling
Space, Page Down – Scroll down a frame.
Shift+Space, Page Up – Scroll up a frame.
Home – Top of page.
End – Bottom of page.
Middle Click – Scroll with the mouse. (Windows only)
Address Bar
Ctrl+L, Alt+D, F6 – Focus the address bar so you can begin typing.
Ctrl+Enter – Prefix www. and append .com to the text in the address bar, and then load the website. For example, type howtogeek into the address bar and press Ctrl+Enter to open www.howtogeek.com.
Alt+Enter – Open the location in the address bar in a new tab.
Search
Ctrl+K, Ctrl+E – Focus the browser’s built-in search box or focus the address bar if the browser doesn’t have a dedicated search box. (Ctrl+K doesn’t work in IE, Ctrl+E does.)
Alt+Enter – Perform a search from the search box in a new tab.
Ctrl+F, F3 – Open the in-page search box to search on the current page.
Ctrl+G, F3 – Find the next match of the searched text on the page.
Ctrl+Shift+G, Shift+F3 – Find the previous match of the searched text on the page.
History & Bookmarks
Ctrl+H – Open the browsing history.
Ctrl+J – Open the download history.
Ctrl+D – Bookmark the current website.
Ctrl+Shift+Del – Open the Clear Browsing History window.
Other Functions
Ctrl+P – Print the current page.
Ctrl+S – Save the current page to your computer.
Ctrl+Shift+N – opens private (incognito) window. Does not work in all browsers.
Ctrl+O – Open a file from your computer.
Ctrl+U – Open the current page’s source code. (Not in IE.)
F12 – Open Developer Tools. (Requires Firebug extension for Firefox.)
42+ Text-Editing Keyboard Shortcuts That Work Almost Everywhere
Whether you’re typing an email in your browser or writing in a word processor, there are convenient keyboard shortcuts usable in almost every application. You can copy, select, or delete entire words or paragraphs with just a few key presses.
Some applications may not support a few of these shortcuts, but most applications support the majority of them. Many are built into the standard text-editing fields on Windows and other operating systems.
Image Credit: Kenny Louie on Flickr
Working With Words
We’re used to the arrow, Backspace, and Delete keys working with a single character at a time. However, we can add the Ctrl key to have them effect entire words or paragraph at the same time.
Ctrl+Left Arrow – Move cursor to beginning of previous word.
Ctrl+Right Arrow – Move cursor to beginning of next word
Ctrl+Backspace – Delete previous word.
Ctrl+Delete – Delete next word.
Ctrl+Up Arrow – Move cursor to beginning of paragraph.
Ctrl+Down Arrow – Move cursor to end of paragraph.
Mac Users: Use the Option key instead of the Ctrl key.
Image Credit: Renato Targa on Flickr
Moving the Cursor
The Ctrl key can also be combined with the Home and End keys.
Home – Move cursor to beginning of current line.
End – Move cursor to end of current line.
Ctrl+Home – Move cursor to top of the text entry field.
Ctrl+End – Move cursor to bottom of the text entry field.
Page Up – Move cursor up a frame.
Page Down – Move cursor down a frame.
Image Credit: Book Glutton on Flickr
Selecting Text
All of the above shortcuts can be combined with the Shift key to select text.
Shift+Left or Right Arrow Keys – Select characters one at a time.
Shift+Up or Down Arrow Keys – Select lines one at a time.
Shift+Ctrl+Left or Right Arrow Keys – Select words – keep pressing the arrow keys to select additional words.
Shift+Ctrl+Up or Down Arrow Keys – Select paragraphs.
Shift+Home – Select the text between the cursor and the beginning of the current line.
Shift+End – Select the text between the cursor and the end of the current line.
Shift+Ctrl+Home – Select the text between the cursor and the beginning of the text entry field.
Shift+Ctrl+End – Select the text between the cursor and the end of the text entry field.
Shift+Page Down – Select a frame of text below the cursor.
Shift+Page Up – Select a frame of text above the cursor.
Ctrl+A – Select all text.
You can use several of these shortcuts to fine-tine your selected text. For example, you could press Shift+End to select the text to the end of the current line, and then press Shift+Down to also select the line below it.
After selecting text, you can start typing immediately to replace the text – you don’t have to press Delete first.
Image Credit: James_jhs on Flickr
Editing
You can really speed up text-editing by using the Ctrl keyboard shortcuts to copy and paste text.
Ctrl+C, Ctrl+Insert – Copy selected text.
Ctrl+X, Shift+Delete – Cut selected text.
Ctrl+V, Shift+Insert – Paste text at cursor.
Ctrl+Z – Undo.
Ctrl+Y – Redo.
Formatting
Formatting shortcuts only work if the application or website you’re using supports text formatting. If you have text selected, the shortcut will apply the formatting to your selected text. If you don’t have text selected, the shortcut will toggle the associated formatting option.
Ctrl+B – Bold.
Ctrl+I – Italic.
Ctrl+U – Underline.
Image Credit: Tess Watson on Flickr
Functions
These function keys are common to most text-editing applications. If you use them in your web browser, you’ll open your browser’s associated dialogs.
Ctrl+F – Find. This opens the find dialog in most applications to search for text — I’ve even seen it work in some applications that didn’t have a Find option in their menus.
F3 – Find next.
Shift+F3 – Find previous.
Ctrl+O – Open.
Ctrl+S – Save.
Ctrl+N – New document.
Ctrl+P – Print.
These keys work in most applications, but are particularly useful in text editors:
Alt – Activate application’s menu bar. You can use the arrow keys to select a menu option and the Enter key to activate it.
Alt+F – Open File menu.
Alt+E – Open Edit menu.
Alt+V – Open View menu.