YouTube Shorts Embed Code Generator
Generate a vertical iframe embed code for any YouTube Short.
The YouTube Shorts Embed Code Generator produces a vertical 9:16 iframe so you can showcase a YouTube Short on your website, blog or landing page with the correct aspect ratio.
Why use this tool
Vertical aspect ratio
Outputs a 9:16 frame sized correctly for Shorts.
Works on any site
Paste the iframe into any HTML page, blog or CMS.
Instant and free
Generate Shorts embed codes in seconds with no sign-up.
How to use it
Paste the Shorts URL
Add the youtube.com/shorts link you want to embed.
Generate the code
We build a vertical iframe with the right dimensions.
Copy and paste
Drop the embed code into your website.
Frequently asked questions
Why is the embed vertical?+
Shorts are filmed in a 9:16 portrait ratio, so the embed uses a tall frame to match.
Can I resize the Shorts embed?+
Yes. Edit the width and height values in the generated iframe, keeping a 9:16 ratio.
Do Shorts embeds work on mobile sites?+
Yes. The iframe is responsive-friendly and plays in mobile browsers.
Is a YouTube API key required?+
No. The tool only formats the embed URL — no API or login needed.