120+ premium tools in one membership48-hour 100% refundPay with bKash, Nagad, Rocket, Upay or cryptoPay by Visa, Mastercard, crypto, Binance or Taptap SendTrusted by 7,000+ customersWhatsApp support
Log in Get started
Free tool · YouTube tools

YouTube embed code generator

Get embed code that fits phones and desktops, starts at the right second and loads in privacy mode. Preview the player before you paste it into WordPress, Blogger or plain HTML.

How to use the YouTube Embed Code Generator

  1. Paste the YouTube video link.
  2. Choose responsive or fixed size, and options like autoplay or start time.
  3. Copy the iframe code and paste it into your page.

Features

  • Responsive full-width embeds
  • Autoplay, mute, loop and start time
  • Privacy-enhanced (no-cookie) mode
  • Live preview

Who is the YouTube Embed Code Generator for?

For bloggers and web designers adding videos to WordPress, Blogger or custom HTML pages that look right on phones.

Grow faster with premium video tools

CapCut Pro, InVideo, Storyblocks, Motion Array & more at group buy prices.

See plans

Frequently asked questions

Why doesn’t autoplay work?

Browsers only allow autoplay when the video is muted, so this tool mutes autoplay videos automatically.

What is privacy mode?

It uses youtube-nocookie.com, so YouTube doesn’t set tracking cookies until the visitor presses play.

How do I start at a certain time?

Type the time as 1:30 or as seconds (90) in “Start at”.

More free tools

See all 105 free tools →