Runs in your browserNeeds a video link
YouTube Embed Code Generator
The iframe for any video, with start time, autoplay, loop, and privacy mode set correctly.
Seconds, or m:ss / h:mm:ss.
Same job, one API call
Runs in your browser — nothing is sent anywhere.
Questions
What is privacy-enhanced mode?
It swaps youtube.com for youtube-nocookie.com, so YouTube sets no tracking cookie until the viewer presses play. Use it when your site promises minimal tracking.
Why does autoplay not fire?
Browsers only allow muted autoplay. Pair autoplay with mute in the options; an unmuted autoplaying iframe is blocked everywhere modern.
How does looping a single video work?
YouTube ignores loop on a single video unless the playlist parameter repeats the same video ID. Enable loop and the correct pair is emitted together.
Related tools
- YouTube Timestamp Link GeneratorA deep link to one moment in a video — or a full chapter list from pasted times.
- Subscribe Link GeneratorA link that opens the subscribe confirmation pop-up, as an HTML anchor and a Markdown link.
- YouTube RSS Feed GeneratorThe public Atom feed URL for a channel or playlist, plus an OPML snippet for a feed reader.
- YouTube Citation GeneratorAPA 7, MLA 9, and Chicago citations for a YouTube video, with the in-text form.