One of the best, lesser-known keyboard shortcuts web browsers offer is Command + L (Mac/iOS) or Control + L (Windows/Linux). This keyboard shortcut will immediately bring focus to the location bar and select whatever’s there.
With this keyboard shortcut you can make quick work of many common tasks. Here are some examples for Mac and iOS (to use these on Windows or Linux just use the Control key instead of Command unless otherwise noted):
- Hit Command + L followed by Command + C to copy the current search or URL.
- Hit Command + L and immediately start typing to replace whatever’s in the location bar.
- Hit Command + L and then the left or right arrow keys to go to the beginning or end of whatever’s in the location bar.