FREE YOUTUBE EMBED TOOL

YouTube Embed Code Generator

Create iframe embed code for a YouTube video or Short. Choose your settings, check the preview and add the code to your website.

By entering your email, you agree to receive emails from Taggbox.

Create Your Embed Code

Paste a YouTube Link to Get Started

Supports YouTube.com and YouTu.be video links and Shorts links.

What Would You Like to Embed?

Player Options

Start Time Applies To a Single Video or Short.

Need a YouTube Feed?

Showcase a collection of videos in a customizable widget. See YouTube Widget

Preview

Your YouTube Embed

Your Video Will Appear Here

Paste a YouTube Link and Generate Your Embed Code.

How to Embed a YouTube Video or Short

Generate the iframe, Then Place It Where You Want the Player to Appear.

1

Copy Your YouTube Link

Open the Video or Short on YouTube and Copy Its URL or Share Link.

2

Choose Your Settings

Paste the Link, Select Video, Then Generate the iframe and Load the Optional Preview.

3

Add It to Your Page

Copy the Code Into Your Website’s HTML or Embed Block, Publish and Check the Player.

Want to Display a Collection of Videos in a Branded Feed?

Choose What Fits Your Goal

YouTube Player or YouTube Feed Widget?

Choose a Simple Player for a Video, or Build a Customizable Video Feed With Taggbox.

For a Video

YouTube iframe Embed

Add a YouTube Player to a Page Using the Code Above.

  • Embed One Video or Short
  • Choose Basic Playback Options
  • YouTube Controls the Player’s Appearance

For a Video Feed

Taggbox YouTube Widget

Bring YouTube Content Together in a Widget Designed for Your Website.

  • Show a Collection of Videos
  • Customize Your Feed’s Layout
  • Connect and Manage Content in Taggbox
Get Started with Taggbox

YouTube Is Listed on Starter and Higher Plans. Availability and Features Depend on Your Plan. Compare Plans.

Need More Control? Starter Adds Automatic Updates Every 2 Hours, Moderation, Premium Customization and No Taggbox Branding. Growth Adds Shoppable Feeds and Product Tagging.

Compare Widget Plans

Before You Embed

What to Know About YouTube Embeds

Videos Must Be Available and Permitted to Play on Other Websites. A Private Video, a Deleted Video or One with Embedding Disabled May Not Play. Age or Regional Restrictions May Also Apply.

Privacy-Enhanced Mode Uses the youtube-nocookie.com player. It Does Not Mean the Embed Makes No Requests to YouTube. Check the Published Page and Your Website’s Consent Settings Where Relevant.

YouTube Requires Embedded Players to Be at Least 200 × 200 Pixels. The Generated Code Keeps the Player at Least 200 Pixels Tall; Ensure the Available Space Is Also at Least 200 Pixels Wide.

Supported link formats

Video

youtube.com/watch?v=VIDEO_ID or youtu.be/VIDEO_ID

Short

youtube.com/shorts/VIDEO_ID

Channel feeds

Channel URLs require a feed solution such as the YouTube widget.

Frequently Asked Questions

Know all about Taggbox with these frequently asked questions.

Paste a YouTube video URL into the tool, choose Video or Short, then generate and copy the iframe code.
Yes. Paste the Short’s URL and choose Video or Short. The iframe uses YouTube’s standard embedded player.
This tool supports a video and Short, not a channel URL. For a collection of channel videos, see the Taggbox YouTube widget.
The video may be private, removed, restricted in your region or blocked from embedding by its owner. Check the video on YouTube and confirm your website allows iframes.
It uses YouTube’s youtube-nocookie.com embedded player. YouTube describes how this mode affects viewing and advertising personalization in its embed guidance.
Customer success manager 1
Customer success manager 2
Customer success manager 3

Get Help as You Build Your YouTube Widget

Find Setup Guidance in the Taggbox Help Center, From Connecting YouTube to Publishing Your Widget.

pattern