Embed videos & playlists

You can add a YouTube video or playlist to a website or blog by embedding it.

Embed videos and playlists

The YouTube API Terms of Service and Developer Policies apply to all access and use of the YouTube embedded player.

Embed a video or playlist

  1. On a computer, go to the YouTube video or playlist you want to embed.
  2. Click SHARE Share.
  3. From the list of Share options, click Embed.
  4. From the box that appears, copy the HTML code.
  5. Paste the code into your website HTML.
  6. For network administrators: You will need to add youtube.com to the firewall allowlist.
  7. Important: If your website or app is child-directed and you embed YouTube content, you must self-designate your site or app using these tools. This self-designation will ensure Google does not serve personalized ads on these sites or apps and some features will be disabled in the embedded player.