YouTube Tools
YouTube Embed Code Generator
Generate a copy-ready YouTube iframe embed code instantly. Paste a video link, customize playback options like autoplay, controls, and start time, and get embed code ready to paste into your website.
Paste a YouTube video link, parse it, then customize your embed options.Idle
Paste a YouTube link above and click Parse Link to start customizing your embed code.
How to use the YouTube Embed Code Generator
Paste any YouTube video link, including watch links, share links, Shorts links, and live links, or paste the raw video ID directly
Click Parse Link to extract the video ID and automatically detect any existing timestamp in the pasted link
Enable Autoplay to have the video start playing automatically when the embed loads, most browsers also require Start Muted for autoplay to actually work
Disable Show Player Controls to hide the play, pause, and seek bar from viewers entirely
Enable Loop Video to have the video automatically restart from the beginning once it finishes playing
Set Start Time in seconds to have the embedded video begin playback from a specific moment instead of the start
Enable Minimal Branding to reduce the amount of YouTube logo shown on the video player
Disable Show Related Videos to prevent suggested videos from appearing once playback ends
Enable Privacy Enhanced Mode to embed using youtube-nocookie.com, which limits cookie usage until the viewer actually presses play
Choose Responsive to make the embed automatically fill the width of its container while keeping a 16 by 9 aspect ratio
Choose a fixed size preset or Custom Size if you need an exact pixel width and height for your embed
The Live Preview section shows exactly how the embed will look and behave with your current settings
Click Copy Iframe Code to copy the full embed snippet, ready to paste directly into your website's HTML
Click Copy Embed URL if you only need the underlying iframe source link rather than the full embed snippet



