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
- Paste the YouTube video link.
- Choose responsive or fixed size, and options like autoplay or start time.
- 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
See plansCapCut Pro, InVideo, Storyblocks, Motion Array & more at group buy prices.
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
YouTube toolsYouTube Thumbnail DownloaderDownload any YouTube video or Shorts thumbnail in HD (1280×720), SD, HQ and MQ.YouTube toolsYouTube Money CalculatorEstimate how much a YouTube channel earns per day, month and year from views and RPM.AI · YouTube toolsYouTube Tag GeneratorGenerate 25 SEO-friendly YouTube tags from your video title with AI — main keyword first, long-tail phrases and hashtags.AI · YouTube toolsYouTube Description GeneratorWrite SEO-friendly YouTube descriptions with AI: keyword-rich intro, chapters, call to action, links and hashtags.