How to Open Websites With a Keyboard Shortcut on Mac

Open the sites, folders and searches you use every day with a keyword or a hotkey. How to do it with Raycast Quicklinks, Safari's Favorites shortcuts, the Shortcuts app and web apps in the Dock.

UPDATED

You open the same handful of pages all day: your team's dashboard, a Notion doc, the staging site, a Google search. Each one is a new tab, a few typed letters and a hope that autocomplete picks the right URL.

The short answer: save them as Quicklinks in Raycast. Run Create Quicklink, paste the address and give it a name. Then type the name in Raycast to open the page, or give it a hotkey and open it from anywhere. Quicklinks are built in and free, and they open folders, files and searches too.

MethodHotkey per siteSearch with a keywordFolders and filesAny browser
Raycast QuicklinksYesYesYesYes
Shortcuts app, Open URLsYesNoNoDefault browser
Safari Favorites bar⌘ 1 to ⌘ 9NoNoSafari only
Web app in the DockNoNoNoIts own window
  1. Open Raycast and run Create Quicklink.
  2. Paste the address into Link. If the page is open in your browser, Raycast can fill it in for you.
  3. Give it a Name, like "Dashboard". Raycast uses the site's icon automatically.
  4. Optionally pick a browser or app under Open With, and add Tags.
  5. Press ⌘ ↵ to save.
Quicklinks show up in Raycast next to your apps and commands. Type a few letters and press Enter to open the page.
Quicklinks show up in Raycast next to your apps and commands. Type a few letters and press Enter to open the page.

Now type "dash" in Raycast and press ↵. To skip even that, select the Quicklink, press ⌘ K, choose Configure Command and record a hotkey. Or give it a short alias like d.

Pro tip: turn on Prefer Existing Tabs in Settings → Quicklinks. If the page is already open in Chrome, Safari or another supported browser, Raycast switches to that tab instead of opening a duplicate.

Quicklinks go further than bookmarks:

  • Searches. Put {argument} in the URL, like https://github.com/search?q={argument}. Type the Quicklink's name, press Tab, type what you're looking for, and Raycast opens the results. Up to three arguments per Quicklink.
  • Folders and files. ~/Projects/my-app opened in VS Code, or ~/Downloads in Finder.
  • App deeplinks. Links like slack:// or spotify:// open straight in the app.
  • A head start. Settings → Quicklinks → Add from Library has hundreds of ready-made ones, from Google and Wikipedia to YouTube.
  • For your team. With Raycast for Teams, shared Quicklinks give everyone the same links to dashboards, docs and staging sites.

With Cloud Sync, part of Raycast Pro, your Quicklinks follow you to your other devices. Import Quicklinks takes a JSON file if you're moving over a list. This two-minute video shows them in action:

Use the Shortcuts app

  1. Open Shortcuts and click +.
  2. Add the URL action and type the address, then add Open URLs.
  3. Name the shortcut, open its details (the i button) and click Add Keyboard Shortcut.

It opens the page in your default browser. You need one shortcut per site, and there's no way to type a search term into it.

Use Safari Favorites

Safari can open the first nine bookmarks in your Favorites bar with ⌘ 1 through ⌘ 9.

  1. Add the sites to Favorites (Bookmarks → Add Bookmark, then choose Favorites).
  2. In Safari → Settings → Tabs, turn off Use ⌘-1 through ⌘-9 to switch tabs, so the keys open favorites instead.

It only works while Safari is in front, and only for nine sites.

Make a web app for the Dock

On macOS Sonoma and later, open the site in Safari and choose File → Add to Dock. The site becomes its own app with an icon in the Dock and your Applications folder, which you can then open from Raycast like any other app.

New to Raycast?

Here's a quick tour of what else it can do, in under seven minutes:

Frequently Asked Questions

How do I create a keyboard shortcut to open a website on Mac?

Save the site as a Raycast Quicklink with the Create Quicklink command, then give it a hotkey with Configure Command. Without Raycast, build a shortcut in the Shortcuts app with the Open URLs action and add a keyboard shortcut to it.

Quicklinks are saved links you open from Raycast by name: websites, search URLs with placeholders, files, folders and app deeplinks. They're free and can have their own hotkey or alias.

Yes. Put an {argument} placeholder in the URL, like https://github.com/search?q={argument}. When you open the Quicklink, Raycast asks for the search term and fills it in.

How do I make a website an app on Mac?

In Safari on macOS Sonoma and later, open the site and choose File → Add to Dock. The site gets its own app in the Dock and Applications folder.

Yes. Raycast Quicklinks have an Open With setting, so a work dashboard can always open in Chrome and everything else in your default browser.

Open any website, folder or search with a keyword or a hotkey. Try Raycast for free.

Download