YouTube Embed Code Generator
Generate iframe embed code with autoplay, loop, start/end time, and privacy options.
About this tool
Every option YouTube\u2019s embed URL supports, exposed as checkboxes: width and height, start time, end time, autoplay, mute, loop, and controls visibility. The privacy-enhanced toggle switches from youtube.com/embed to youtube-nocookie.com/embed, which won\u2019t set tracking cookies until the user actually plays the video (GDPR-friendly). Live preview updates as you change options so you see exactly what your embed will look like before copying.