Social Tools
YouTube Embed Code Generator
Paste a YouTube link and get a ready iframe. Choose size or responsive, autoplay, loop, start time, controls and the privacy-enhanced domain.
Paste a YouTube link and get a ready iframe. Choose size or responsive, autoplay, loop, start time, controls and the privacy-enhanced domain.
An embed code is an iframe that shows a YouTube video on your page. Parameters in its URL control autoplay, looping, start time and more.
Paste a link, pick your options and copy the code.
?autoplay=1&mute=1&start=5
Browsers block autoplay with sound. The tool turns on mute with autoplay so it can start.
It uses youtube-nocookie.com so YouTube sets fewer tracking cookies until the visitor plays the video.
YouTube needs a playlist parameter for single-video loops. The tool adds it for you.
The iframe fills its container and keeps a 16 by 9 shape at any screen width.
Only if the owner allows embedding. Some videos block it.