Important: Downloading copyrighted content from YouTube without permission violates YouTube's Terms of Service and may infringe copyright. Only download content you own, have permission for, or that is explicitly licensed for reuse (e.g., Creative Commons).
For authorized downloads, YouTube Premium allows offline viewing within the app. Third-party tools (Y2Mate, Keepvid, 4K Video Downloader, etc.) exist but operate in a legal gray area; use at your own risk and respect creators' rights.