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


Get way deeper into Shortcuts – become a member.

Browse more