Free YouTube Embed URL Generator. Convert any YouTube link or video ID into an embed URL, iframe code, and direct link instantly. No signup, 100% private.
Paste any YouTube link or video ID to get embed URL, iframe code, and direct link.
How to Use?
Step 1: Copy a YouTube Link.
Open YouTube, find the video you want, and copy the link from the address bar. Any of these formats work:
- Standard video link: https://www.youtube.com/watch?v=dQw4w9WgXcQ
- Short link: https://youtu.be/dQw4w9WgXcQ
- Shorts link: https://www.youtube.com/shorts/dQw4w9WgXcQ
- Embed link: https://www.youtube.com/embed/dQw4w9WgXcQ
- Video ID only: dQw4w9WgXcQ
Step 2: Paste It Into the Input Box.
Paste the copied link or video ID into the input field. You can also type it manually.
Step 3: Click "Generate".
As soon as you click Generate, the tool extracts the video ID and gives you three outputs:
- Embed URL — https://www.youtube.com/embed/VIDEO_ID.
- Direct Video Link — https://www.youtube.com/watch?v=VIDEO_ID.
- iframe Code — ready-to-paste HTML code.
Step 4: Copy What You Need.
Each field has a Copy button next to it. Click the button beside whatever you want to copy. It will briefly show "Copied!" to confirm.
Step 5: Check the Preview.
A live preview appears below, so you can confirm the correct video is loaded.
Step 6: Use It on Your Website.
- Use the Embed URL inside any HTML <iframe src="...">.
- Paste the iframe Code directly into your website is HTML.
- Share the Direct Link on social media, email, or a blog.
FAQ (Frequently Asked Questions)
1. What does this tool do?
It converts any YouTube link or video ID into an embed URL and iframe code that you can use to display the video on your website, blog, or app.
2. Is this tool free?
Yes, completely free. No signup, login, or payment required.
3. Does my data get sent to a server?
No. The tool runs entirely in your browser. No link or data is sent to any server. Your privacy is 100% safe.
4. Which YouTube link formats are supported?
The tool understands all of these:
- youtube.com/watch?v=VIDEO_ID
- youtu.be/VIDEO_ID
- youtube.com/shorts/VIDEO_ID
- youtube.com/embed/VIDEO_ID
- youtube.com/live/VIDEO_ID
- Just the VIDEO_ID (11 characters)
5. What is a video ID?
Every YouTube video has a unique 11-character code called a video ID (e.g., dQw4w9WgXcQ). You ll find it after v= in the URL or after youtu.be/.
7. What is the difference between the Embed URL and the Direct Link?
- Embed URL (/embed/VIDEO_ID) — used to display the video inside a page via an iframe
- Direct Link (/watch?v=VIDEO_ID) — opens the video on YouTube; good for sharing
8. Where do I paste the iframe code?
Paste it into your website is HTML file wherever you want the video to appear. For example:
<div class="video-container"> <!-- paste the iframe code here --> </div>
9. The Copy button isn not working. What should I do?
- Open the page over HTTPS (required for the clipboard API)
- Or manually select the text and press Ctrl+C (Windows) / Cmd+C (Mac)
- The tool has a fallback, but if it still fails, refresh the page
10. Can I embed any YouTube video?
Most videos can be embedded. However, some videos (e.g., music label content or private videos) have embedding disabled by the uploader. Those will show "Video unavailable" in the preview — this is YouTube is policy, not a bug in the tool.
11. Does the tool work on mobile?
Yes, the tool is fully responsive and works on mobile, tablet, and desktop.
12. Can I add this tool to my own website?
Absolutely! It is a single HTML file. You can drop it into any page of your website.
13. Can I set a start time for the video?
There is no dedicated option yet, but you can add ?start=30 to the end of the embed URL to start at 30 seconds.
14. Does the tool download videos?
No. It only generates embed URLs and iframe code. There is no download feature, and we respect copyright.
15. How do I report a bug or suggest a feature?
Use the contact form or leave a comment. Your feedback helps improve the tool.