This article was co-authored by wikiHow staff writer, Rain Kengly. Rain is a tech writer and editor for wikiHow with over 5 years of professional writing experience. In the past, Rain has worked with other creative writers as a Writing Tutor at San Francisco State University and has published gaming features, guides, and news articles for a variety of media outlets. Rain shares a lifelong passion for writing and gaming and is eager to grow alongside new tech inventions.
This article has been fact-checked, ensuring the accuracy of any cited facts and confirming the authority of its sources.
This article has been viewed 40,258 times.
Learn more...
Would you like to embed a YouTube video on your website or blog? While it's not possible to generate an embed code using the mobile app, you can easily get it using any desktop web browser on your PC, Mac, or Chromebook. Here's how to get the embed code from a YouTube video or playlist.
Steps
-
Go to https://youtube.com in a browser on your computer. You can get the embed code from a video or playlist on YouTube using any web browser.
- For easier navigation, log into your YouTube account.
-
Navigate to the video or playlist you want to embed. You can browse through recommendations or search for a specific video by typing in the search bar at the top of the page.
- If you're sharing a playlist, click Playlists in the left panel to find your saved playlists. Then, click View full playlist.
- Videos and Playlists must be set to Public or Unlisted to share.
Advertisement -
Click Share. This is at the bottom of the video, next to the right-facing arrow.
- On Playlists, you'll see this to the right of the playlist title.
-
Click Embed. This "<>" icon is usually first in the menu. A code will appear.[1]
-
Edit your embedded video options. Before you embed the video, you can change the options, such as starting time, player control visibility, and privacy-enhanced mode.
- To change the start time of a video, click Start at and enter a starting timestamp.
- To enable player controls (video playback and volume), check the box for Show player controls.
- To turn on privacy-enhanced mode, check the box for Enable privacy-enhanced mode. This prevents YouTube from storing visitor information unless they play the video.
-
Click Copy. This is at the bottom-right corner of the embed window.
Expert Q&A
Video
Tips
About This Article
1. Go to https://youtube.com.
2. Navigate to the video you want to embed.
3. Click the video (if you haven't already).
4. Click the Share arrow icon.
5. Click Embed.
6. Click Copy.






