How to use the YouTube Embed Code Generator
- Paste a YouTube link — watch, youtu.be, Shorts or a link with
&t=. - Choose the responsive iframe or the lite version that loads the player on click.
- Set start/end time, autoplay (muted), loop, controls and captions.
- Copy the code into your page, Webflow Embed or WordPress Custom HTML block.
Lite embeds make pages faster
A normal YouTube embed loads about 1 MB of scripts before anyone presses play. The lite version shows the thumbnail and loads the player only on click — the best choice when a page has several videos. Privacy-enhanced mode (youtube-nocookie.com) stores no YouTube cookies until the video plays. Need Vimeo, Loom or another site? The Video Embed Code Generator handles them all.
Also searched as: responsive youtube embed, youtube embed code, youtube nocookie embed, youtube embed start time, lite youtube embed, embed youtube video html, youtube autoplay embed.
Tools that pair well with the YouTube Embed Code Generator
- Vimeo Embed Code Generator — Paste a Vimeo link — public or unlisted (with its privacy hash) — and get a responsive embed with a clean player: no title, byline or portrait, optional autoplay, loop, start time and do-not-track mode.
- Google Maps Embed Generator — Show your office, store or event on a Google Map without signing up for an API key.
- Cookie Consent Banner Generator — Add a cookie consent banner to any site — Webflow, WordPress, Shopify or plain HTML — without a paid plugin.
- Page Speed Test — Run Google Lighthouse on any URL for mobile or desktop.