How to Cast YouTube from Your Phone to Your PC

Cast Youtube Pc From Android Ios Phone Hero

Casting YouTube videos or music from your iOS or Android phone should be seamless. If a TV, gaming console, Roku stick or other media streaming device is on the same Wi-Fi network as your phone, then you should get a little “Cast” icon on your phone’s YouTube app to stream straight to devices.

Theoretically, you should also be able to cast YouTube from your phone to Google Chrome on your PC. This feature used to work on PCs but was removed a couple years ago, leaving us happy casters at a loss. Luckily, with a few small tweaks, you can enable a special build of Chrome on your PC that will let you cast YouTube and other websites from your iOS or Android phone to your PC.

First, on Chrome on your PC you need to install the Chrome extension Custom UserAgent String. This will let you effectively change your PC’s Chrome version into one designed for smart TVs, streaming sticks, gaming consoles or other devices. You can set this to only apply for specific websites, so we’ll be applying it to the YouTube site designed for cast requests.

Cast Youtube Pc From Android Phone Custom Useragent Extension

Once installed, the extension should appear in your Chrome extensions bar as a blue globe-like icon. If not, click the Chrome menu icon -> More tools -> Extensions. Find the UserAgent extension here and click it so it’s on/blue.

Cast Youtube Pc From Android Phone Custom Useragent Extensions

Next, click the UserAgent extension icon, then Options. Ignore the drop-down menus. In the “Enter a desired URL” box, enter:

Then, in the big box next to that, enter:

Cast Youtube Pc From Android Phone Custom Useragent Tizen

This pair of boxes will effectively make sure that whenever you go to, your Chrome will automatically behave as if you were using the Samsung TV app and become available for casting.

After you’ve filled both boxes, click the “+” icon to the right of them to confirm the custom useragent string.

Note: we found that the URL you enter into the “desired URL” box doesn’t always make the jump to the new “URL” box when you add it. If “” doesn’t appear in the URL box when you create it, just enter it into the URL box manually.

Cast Youtube Pc From Android Phone Confirm

On Chrome, go to, and you should get an invite to sign in using a web browser. Click this, then follow the instructions. On your phone, go to and enter the code.

Cast Youtube Pc From Android Ios Phone Connect

You’ll get a message saying “YouTube wants to access your account.” Click the Allow button, and like magic you should get signed into the TV version of YouTube at on your PC.

Cast Youtube Pc From Android Ios Phone Working

The Cast icon should appear on YouTube on your phone, and you can now cast from your phone to your PC just as you would to a TV.

Cast Youtube Pc From Ios Android Phone Cast

In the unlikely case that your phone doesn’t link to on your PC, on the YouTube app on your phone, go to “Settings -> Watch on TV -> Enter TV Code, then enter the long code that appears there.

Cast Youtube Pc From Android Phone Link

Note that you need to have open in a browser tab to cast to it. It won’t just automatically open the website if it’s closed.

Want to have more fun with videos and YouTube? Check out our guide on how to watch videos with online friends in real-time. Or if you want to jot your thoughts down in video form, then read our list of the best sites for keeping online video diaries.

Robert Zak Robert Zak

Content Manager at Make Tech Easier. Enjoys Android, Windows, and tinkering with retro console emulation to breaking point.


    1. That’s why you need to follow the instructions above so you can stop that from happening.

  1. Seems this has been patched, I had it working but now my PC isn’t showing up in my list of devices I can stream to

  2. Thanks a lot mate, I was using that TV page like 5 years ago. when smart TVs are popular then I couldn’t use on my browser. Now is working again. Thanks.

  3. Not happening. I did exactly as it shows on the snapshots but still getting redirected to the YouTube page

    1. I found the same if I set the Youtube URL as the homepage, but it worked if I set the home to something else then navigate to it once it’s loaded the extension.

  4. If anyone has issues, make sure you the useragent field doesn’t have a space at the end. When you copy and paste, it may add a blank line after ‘Mozilla/5.0 (Linux; Tizen 2.3) AppleWebKit/538.1 (KHTML, like Gecko)Version/2.3 TV Safari/538.1’

  5. Tested on March 19th 2021 in Chrome 89.0.4389.90 (64-bit) and unfortunately still redirects to youtube desktop page. Also tried the blank line removal as suggested above.

    Help us out Robert! :D

  6. If you have problems with linking using the code, try using a different keyboard. (spaces should appear between the numbers automatically), found this fix on Reddit.

    Did not have any redirecting issues in march 2021

Comments are closed.