๐ŸŒ

Safari Actions

for Apple Shortcuts

23 actions with descriptions and details

Supercharge your iPhone web browsing with 23 Safari actions for Shortcuts. Save articles to Reading List with one tap, create custom search engines for any website, open multiple tabs instantly, and archive web pages as PDFs. Stop repetitive browsing tasks-automate your entire Safari workflow.

Actions with Details (23)

Move Tabs to Tab Group

Safari

Move Safari tabs from their current Tab Group into a new one.

2 params

Bookmark URL

Safari

Creates a new bookmark for a given URL.

Bookmark2 params

Find on Page

Safari

Find the given text on the selected tab.

2 params

Set Safari Focus Filter

Safari

Sets the behavior of the Safari app when the given Focus is enabled.

6 params

Delete Tab Groups

Safari

Delete one or more Safari Tab Groups.

1 param

Search Tabs

Safari

Perform a search of tabs in Safari.

1 param

Move Tabs to Window

Safari

Move Safari tabs from their current window into another window.

2 params

Show Window

Safari

Brings the given Safari window to the foreground.

1 param

Create Window

Safari

Creates a new browser window.

Window1 param

Bookmark Tab

Safari

Creates a new bookmark for this tab.

Bookmark2 params

Open Tab Group

Safari

Opens the selected Tab Group.

1 param

Open Bookmark

Safari

Opens the selected Bookmark.

1 param

Search Website

Safari

browser_SearchWebsiteIntent_1.0.0_intent_description

2 params

Switch Tab

Safari

Switch to an existing tab.

1 param

Open View

Safari

Opens the view in Safari.

1 param

Create New Tab

Safari

Opens a new tab in the current Tab Group.

Safari Tab

Add Bookmark

Safari

Adds the current page to Bookmarks.

1 param

Delete Bookmarks

Safari

Deletes the selected bookmarks.

1 param

Close View

Safari

Closes the view in Safari.

1 param

Close Windows

Safari

Closes the selected windows.

1 param

Close Tab

Safari

Closes the selected tab.

1 param

Create Tab Group

Safari

Creates an empty Tab Group.

Tab Group1 param

What You Can Automate with Safari

  • Add any article to Safari Reading List from any app (Twitter, Reddit, email) with a single tap
  • Open all your morning news sites (NYT, TechCrunch, Reddit) simultaneously with one shortcut
  • Create custom search shortcuts: tap "Search GitHub", type your query, instantly get results
  • Auto-save web articles as clean PDFs to Files, removing ads and keeping just the content
  • Run JavaScript on web pages to extract data, fill forms, or modify content programmatically
  • Build a "Research Mode" that opens 10 tabs for a topic, adds them all to Reading List, and creates a note

Frequently Asked Questions

How do I automate Safari web browsing with Shortcuts?

The 23 Safari actions let you open URLs, run web searches, add bookmarks, save to Reading List, execute JavaScript on pages, extract page content, download files, and manage browsing sessions. You can automate reading list management, create site-specific search shortcuts, archive articles as PDFs, scrape web data, open multiple tabs at once, and build custom browsing workflows that save you from repetitive clicking and typing.

Can I run custom JavaScript code on any website?

Yes! The "Run JavaScript on Web Page" action executes your custom JavaScript code on the current Safari tab. This unlocks powerful automation: extract specific data from pages (prices, headlines, stats), auto-fill forms with saved data, click buttons or links programmatically, modify page content, or scrape structured data. Combine with "Get Contents of Web Page" to fetch HTML for parsing. Perfect for web scraping, form automation, and extracting data from sites without APIs.

How do I create site-specific search shortcuts?

Use "Ask for Input" to capture your search query, then "Open URLs" with a formatted search URL. For example, GitHub: "https://github.com/search?q={{query}}", Amazon: "https://amazon.com/s?k={{query}}", Reddit: "https://reddit.com/search?q={{query}}". Create dedicated shortcuts named "Search GitHub", "Search Amazon", etc., add them to your home screen or widget, and you have custom search engines that skip Safari's address bar entirely. Way faster than typing!

How can I save web articles as PDFs without ads?

Share a web page to your shortcut, use "Get Article from Web Page" (this extracts just the main content, removing ads, navigation, and clutter), then "Make PDF" to convert the clean article, and finally "Save File" to store it in Files or iCloud Drive. You can organize by topic into folders, rename with the article title, or even upload to cloud storage. Perfect for building a personal research library or saving articles for offline reading.

Can I open multiple websites at once with one shortcut?

Absolutely! Create a shortcut with multiple "Open URLs" actions, each targeting a different site. Or use one "Open URLs" action with a list of URLs separated by new lines. Perfect for morning routines: "Morning News" opens NYT, WSJ, and TechCrunch; "Work Dashboard" opens Gmail, Slack, and Trello; "Research Mode" opens 10 relevant sites for your current project. Add to your home screen for instant access.

Build Powerful Shortcuts

Get Shortcut Actions to unlock advanced actions including AI integration, variable management, API connections, and more.

Download on the App Store