← All Tools

YouTube Embed Builder

Paste any YouTube URL or video ID and build a clean embed iframe — control start/end times, autoplay, captions, controls visibility, related videos, and switch to the privacy-enhanced youtube-nocookie.com domain. Generates iframe HTML, the player URL, and oEmbed JSON.

video id start 0s

Notes

The youtube-nocookie.com domain defers tracking cookies until the viewer presses play and is recommended for GDPR-sensitive sites. Autoplay only works when the player is muted — browsers block sound-on autoplay by default. loop=1 on the YouTube player requires playlist=<same id> as a quirk of the IFrame API. controls=0 hides the progress bar but keeps the click-to-play overlay.

Player parameter reference
startSeconds offset (or 1m30s in URL hash).
endSeconds offset where playback stops.
autoplay1 = play on load. Sound-on autoplay is blocked.
mute1 = start muted. Needed for autoplay.
loop1 = repeat. Pair with playlist=<id>.
controls0 = hide bar; 1 = show (default).
rel0 = only related from the same channel; 1 = any.
cc_load_policy1 = force captions visible.
cc_lang_prefBCP-47 caption language preference.
modestbrandingReduces the YouTube logo (still present).
playsinline1 = stay inline on iPhone instead of fullscreen.
fs0 = hide fullscreen button.
Copied!