Skip to content
Help & feedback

YouTube Embed Code Generator

Add a YouTube video to your website. Choose the player size, start time and loading options, then copy the embed code.

Paste a video link to create your embed.

YouTube Embed Code Generator

Paste a video link to create its website embed code.

How to embed a YouTube video on your website

01

Enter the video link

Paste the video you want to show on your website.

02

Set the player options

Choose responsive size, start time and any supported playback settings.

03

Copy the HTML code

Paste the embed code into your website's HTML block and test it on mobile.

YouTube Embed Code Generator questions

What is responsive embed code?

It lets the video player fit the available page width, including on mobile screens.

What does the preview loading option do?

It shows a preview image before loading the player. Some preview options need the included script, so copy the full generated code.

Can I make a video autoplay?

You can request autoplay. Browsers can block it, especially with sound, so test the result on your website.

Why will a video not play in an embed?

The owner may disable embedding, or the video may have viewing restrictions. Check the video and test the player on your website.

YOUTUBE CREATOR TOOLS

More YouTube tools

Download images, analyse videos and create YouTube links.

24free tools
Explore the full toolkitDownload. Analyze. Create & share.24 tools