YTScript - A Standalone YouTube Downloader

Download YouTube video, audio or watch in the background/PiP, no 3rd party apps or services needed!



YTScript allows you to download video and audio from YouTube without the need of additional applications or third party services. One shortcut works for iOS 13 & 14!


  • Download YouTube video (up to 720p)
  • Download YouTube audio
  • Watch videos in the background
  • Watch videos using PiP (only on iOS 14)
  • Individual & reconfigurable saving location options for videos and audio
  • Runs within apps (using share sheet)

iOS 13


iOS 14


Main download process was based from this blog post by Alexey Golub. Video direct URLs are obtained directly from YouTube.

Protected videos can still be downloaded with a simple and automatic Safari redirect. Most videos however will be able to be downloaded or watched in the background within the YouTube app. iOS 14 background playback/PiP requires use of Safari due to changes on iOS shortcuts (such as exiting a shortcut when pressing the home button, or swiping to go to the home screen).

Showcase images were done using Media Kit.


If you would like to donate, donations are welcome and appreciated to continue making shortcuts and maintaining them with periodic bug fixes and improvements. Donations are accepted through this BTC address:


Latest Release Notes

1E11 - Oct. 9, 2020, 2:04 a.m.

1E11: Redesigned background playback/PiP players, changed Safari redirect script to avoid using URL shorteners, optimized shortcut actions, and changed menu icons to be all aligned correctly.

Past versions