YouTube Embed Code Generator
Build clean, custom YouTube embed codes and preview how your thumbnails will look in a typical YouTube-style frame.
Generate a custom embed code
Embed options
Embed URL
Embed code
YouTube thumbnail mockup preview
Upload an image to see how it looks inside a YouTube-style player frame. This is useful when designing thumbnails before you upload them to YouTube or sharing them as social previews.
For best results, use a 16:9 image (e.g. 1280×720 or 1920×1080).
Preview
Better embeds and better thumbnails
Clean embed code helps your pages load faster and reduces clutter, particularly when you only need a simple player. Being able to toggle autoplay, loop, mute and controls gives you fine-grained control over how viewers experience your content on your own site.
Thumbnail mockups help you judge whether text is readable, whether faces are big enough, and whether your design still works at smaller sizes — which is exactly how most viewers see it in the YouTube feed.