Copy YouTube playlist link

For links shared from videos playing inside a playlist, this will scrape out the ID and reformat it into the main playlist link.

Actions

shortcuts-action-icon-if.webp
If
Tests if a condition is true, and if so, runs the actions inside. Otherwise, the actions under “Otherwise” are run.
shortcuts-action-icon-run-shortcut.webp
Run Shortcut
Run an shortcut from your shortcut.
shortcuts-action-icon-url.webp
URL
Passes the specified URL to the next action.
shortcuts-action-icon-copy-to-clipboard.webp
Copy to Clipboard
Copies the result of the last action to the clipboard.
shortcuts-action-icon-open-urls.webp
Open URLs
Opens URLs passed into the action in Safari (or the corresponding app if it’s a deep link).

More From This Folder

Open work YouTube playlists

If you don’t want the Grab YouTube playlist ID shortcut installed, delete the Run Shortcut action above and the URL action below.

However, the shortcut won’t work with links from videos inside playlists anymore.

Get Shortcut »

Extra Details

Link to Run Shortcut
shortcuts://run-shortcut?name=Copy%20YouTube%20playlist%20link
Link to Open Shortcut
shortcuts://open-shortcut?name=Copy%20YouTube%20playlist%20link
AppleScript code
tell application “Shortcuts Events” run shortcut “Copy YouTube playlist link” end tell

More From The Library

Generate QR code

Takes URLs from input or the clipboard and generates a QR code that can be scanned to open the same link – shows a preview before the option to Share, Save, or Print.

Get Shortcut »

Toggle listening history

Asks you to pick a focus mode, then toggles the current Music Focus Filter setting for “Use Listening History” so you can switch whether or not to Use Listening History for a chosen focus with an existing filter. Works well as a Control in Control Center.

Get Shortcut »


Get way deeper into Shortcuts – become a member.

Browse more