Skip to content

YouTube Shorts Embed Code

YouTube Shorts use 9:16 vertical aspect ratio. Standard 16:9 embeds make them look stretched / boxed. Our generator detects Shorts URLs and outputs properly-sized 9:16 embed code that displays correctly on web and mobile.

When to use this

Use for: embedding viral Shorts in blog posts about social media, showcasing Reels-style content in marketing pages, including Shorts highlights in creator portfolios, integrating short-form video into newsletter web versions.

Frequently Asked Questions

Why do Shorts look weird in normal embeds?

Standard YouTube embed defaults to 16:9 landscape. Shorts are 9:16 portrait. A landscape embed letterboxes the portrait video, making it tiny in the middle with black bars. Our Shorts-specific embed sizes the iframe to 9:16 so it displays properly.

Powered by YouTube Embed Code Generator.

Other targeted versions of this tool — each tuned for a specific use case.

Or use the main YouTube Embed Code Generator if your use case isn't covered above.