YouTube Embed Code Generator

Generate customized YouTube embed codes with autoplay, loop, start time, and responsive options!

Enter a YouTube URL to generate embed code

Features

  • Customizable dimensions
  • Autoplay & loop options
  • Start/end time settings
  • Responsive embed code
  • Live preview
  • One-click copy

How to Use

  1. 1
    Paste a YouTube video URL
  2. 2
    Customize embed options
  3. 3
    Preview the result
  4. 4
    Copy the generated code

Frequently Asked Questions

What is responsive embed?

Responsive embeds automatically resize to fit any screen width while maintaining 16:9 aspect ratio.

Why doesn't autoplay work?

Modern browsers require mute=true for autoplay to work. Enable both autoplay and mute.

How do I start at a specific time?

Enter the start time in seconds (e.g., 90 for 1:30). The video will begin from that point.

Where do I paste the code?

Paste the code in your website's HTML where you want the video to appear.