100% free forever · No sign-up or account, ever · We store none of your data · Files never leave your deviceFree forever · No account, ever · No data stored
🎬 Video & Audio tools

YouTube Embed Code Generator

Responsive embed code with start time.

Free foreverNo account, everNo data stored

⚡ One-click:🕒 Timestamp link

YouTube Embed Code Generator · SaralKit ↗

Guide & FAQ

Make embed code for any YouTube video or Short: responsive size, start and end time, autoplay, loop, privacy-enhanced mode and more. Copy it into WordPress, Blogger or any HTML page.

🆓 Free forever👤 No account, ever🔒 No data stored📱 Responsive🔒 Privacy mode⏱️ Start & end time

What each option does

OptionAdded to the code
Start / stop timestart=90, end=180 (seconds)
Autoplayautoplay=1&mute=1 (browsers only autoplay muted videos)
Looploop=1&playlist=VIDEO_ID (YouTube needs both)
Hide controlscontrols=0
Captions oncc_load_policy=1
Related videos from this channelrel=0
Privacy-enhanced modePlayer from youtube-nocookie.com

The code includes loading="lazy", so the player only loads when a visitor scrolls to it. That keeps your page fast, which also helps your Google ranking.

Related: YouTube timestamp link · YouTube thumbnail downloader · QR code for a video link

SaralKit is not affiliated with YouTube or Google.

How to use the YouTube Embed Code Generator tool

  1. Paste the YouTube video link.
  2. Choose the size, start time and player options.
  3. Copy the code and paste it into your website.

Why SaralKit?

  • Free forever: no "credits", no trial, no premium tier, no watermark and no daily limit.
  • No account, ever: nothing to sign up for. Just open the page and use it.
  • No data stored: your files and the numbers you type are processed by your own browser. We never upload, store or see them.
  • Works offline: once the page has loaded, most tools keep working without internet.
  • Check it yourself: open your browser's Network tab while you use a tool. Your file is never sent.

Frequently asked questions

How do I embed a YouTube video on my website?

Paste the video link above, pick the options, press Copy code and paste the code into your page's HTML. In WordPress, add a "Custom HTML" block; in Blogger, switch the post to HTML view first.

How do I make a YouTube embed responsive?

Keep "Responsive" on. The code uses width:100% with aspect-ratio:16/9 (9:16 for Shorts), so the video fills its column on phones and computers without black bars or overflow.

Why doesn't autoplay work with sound?

Chrome, Safari and Firefox block videos that start playing with sound. That's why the code adds mute=1 whenever autoplay is on; visitors can unmute.

What is privacy-enhanced mode?

It loads the player from youtube-nocookie.com, so YouTube doesn't store cookies for your visitors until they press play. It's a good default for blogs and business sites.

How do I start or stop the video at a certain time?

Type the start and end times (like 1:30). The code adds start and end in seconds.

Esc