Agent View
The site as an AI agent gets it, beside the site as a person sees it. What it can read, what it has to cut away, and what it never sees.
Knowledge baseBlogAbout usContact🇬🇧 EN🇳🇱 NL🇩🇪 DE🇫🇷 FR
HomeToolKnowledge baseBlogAbout usAdvertiseContact
YouTube Embed Code Generator
Runs in your browser
Source
YouTube URL or video ID
We couldn’t recognise that as a YouTube link. Try a full youtube.com or youtu.be URL, or just the 11-character video ID.
Options
Privacy-enhanced (nocookie)
Responsive wrapper
The rest of the page is in full screen.
# YouTube Embed Code Generator Runs in your browser ### Source YouTube URL or video ID ### Options Privacy-enhanced (nocookie) Responsive wrapper Lazy-load Show controls Autoplay Mute Loop Shorts (9:16) Playlist Start (sec) End (sec) Width (fixed) Height (fixed) ### Preview < waiting for a YouTube URL > Embed code Nothing typed here is sent anywhere. Code is generated client-side and only reaches YouTube once the preview actually loads or plays. Independent tool, not affiliated with YouTube or Google. Paste any YouTube link and get a responsive, privacy-friendly embed code with full control over playback: start time, autoplay, loop, hidden controls, Shorts format, playlists and lazy-loading. Free, no account, nothing stored. ## More tools [Tool**Embed code generator**Full-page version of the generator above, with the same options.](https://youtubeembedcodegenerator.com/embed-code-generator/) [Tool**Thumbnail viewer**Every official i.ytimg.com resolution for any video.](https://youtubeembedcodegenerator.com/youtube-thumbnail-viewer/) [Tool**Timestamp link generator**Share or embed a video starting at an exact moment.](https://youtubeembedcodegenerator.com/youtube-timestamp-link/) [Reference**YouTube size guide**Banner, thumbnail and player dimensions in one table.](https://youtubeembedcodegenerator.com/youtube-sizes/) [Tool**Earnings calculator**Estimate ad revenue from views, CPM and monetisation rate.](https://youtubeembedcodegenerator.com/youtube-earnings-calculator/) [Reference**Knowledge base**Short, precise answers on embedding, privacy and terminology.](https://youtubeembedcodegenerator.com/knowledge-base/) ## Frequently asked questions What is a YouTube embed code? A YouTube embed code is a small piece of HTML, an <iframe>, that lets you show a YouTube video directly on your own website instead of just linking to it. Visitors can watch the video without leaving your page. What is youtube-nocookie.com? youtube-nocookie.com is a privacy-enhanced version of the YouTube player. When you embed a video from this domain, YouTube does not store cookies for tracking on a visitor’s browser until they actually press play, which helps with privacy regulations such as the GDPR. Is embedding a YouTube video legal? Yes. YouTube’s own embed feature is built for this purpose and is free to use for any video that has embedding enabled by its owner. This is different from downloading or converting a video, which is not something this site offers. Does a responsive embed slow down my website? Not if you use lazy-loading. Our generator can add loading=”lazy” so the video player only loads once a visitor scrolls near it, which keeps your initial page load fast. Do I need an account to use these tools? No. Every tool on this site runs directly in your browser. There is no sign-up, no login and nothing is uploaded to a server. Can I embed a YouTube Short? Yes, the embed code generator detects Shorts URLs and can output a vertical, Shorts-sized embed automatically. Can I make the video start at a specific time? Yes. Enter a start time (and optionally an end time) in the generator, or use the separate timestamp link generator to create a shareable “watch from this moment” link. ## How to use the YouTube embed code generator 1. Copy any YouTube link (a normal watch link, a Shorts link, a youtu.be link, or a playlist link) and paste it into the URL field above. 2. Choose your options: privacy-enhanced mode, responsive sizing, autoplay, start time, loop, Shorts format or playlist mode. 3. Check the live preview to confirm the video and layout look right. 4. Copy the generated embed code and paste it into your website’s HTML, a WordPress Custom HTML block, a Shopify section, or a Wix embed widget. ## Who this YouTube embed code generator is for This tool is built for anyone who needs to put a YouTube video on their own website: bloggers embedding a tutorial, businesses adding a product demo to a landing page, developers who want clean, standards-compliant markup without memorising iframe parameters, and course creators who need a video to start at an exact timestamp. No coding knowledge is required to use it, though the output is plain HTML that any developer can read and adjust further. ## Key iframe parameters this generator uses | Parameter | Set by | Effect | | --- | --- | --- | | Domain (youtube.com vs youtube-nocookie.com) | Privacy-enhanced toggle | Controls when YouTube can set cookies | | start / end | Start / end time fields | Trims playback to a specific range | | autoplay / mute | Autoplay / Mute toggles | Controls automatic, silent playback | | loop / playlist | Loop toggle | Repeats a single video or playlist | | controls | Show controls toggle | Shows or hides the player control bar | See the full [list of YouTube embed parameters explained](https://youtubeembedcodegenerator.com/12-youtube-embed-parameters-explained/) for every option, including ones not exposed as a toggle above. ## Learn more For the full picture on embedding, read our [complete YouTube embed guide](https://youtubeembedcodegenerator.com/complete-youtube-embed-guide/), our guide to [responsive YouTube embeds](https://youtubeembedcodegenerator.com/responsive-youtube-embeds/), or browse the [knowledge base](https://youtubeembedcodegenerator.com/knowledge-base/) for short definitions of terms like [iframe](https://youtubeembedcodegenerator.com/knowledge-base/iframe/) and [youtube-nocookie.com](https://youtubeembedcodegenerator.com/knowledge-base/youtube-nocookie-com/).
No <main>: Wrap the page’s own content in <main>, so a reader knows where it starts and stops, and Clean can be measured.
The figures
100 pages, set against the 167,893 sites with figures.
- Readablehigher is better
- 100%100 of 100 pages
- All 167,893 sitesBetter than 47%
Pages whose own text is in the HTML the server sends, enough of it for their kind.
- Cleanhigher is better
- Nonemiddle page
- All 167,893 sitesNo place yetWith no figure, it has no place.
Of the words before script, the share that are the page and not menus, footer and forms. 100 pages are not measured, with no <main> or no words.
- Costshown, never scored
- 103,596tokens
- About 1,036 a page
To read every page once. A long page that answers well is not worse for it. Tokens are estimated at about 4 characters each.
How its pages spread on Clean
0 pages measured. Not measured: 100 with no <main> or no words.
Against its rivals
The sites nearest it by what they do, with figures. Close means similar work, not better.
| Readinghigher is better | Costnot scored | ||
|---|---|---|---|
| Site | Readable | Clean | Tokens a page |
| youtubeembedcodegenerator.comThis site, 100 pages | 100% | None | 1,036 |
| youtube.com100 pages | 98% | 42% | 966 |
| copyvideo.ai100 pages | 77% | 91% | 728 |
| youtubetrimmer.com4 pages | 100% | None | 816 |
First of 4 on Readable.
AI crawler access
What robots.txt says to each, as read on October 24, 2026. 8 of 8 may read the site.
| Crawler | robots.txt says | Used for | The line that decides |
|---|---|---|---|
| GPTBotOpenAI | Not named | Training models | No robots.txt |
| OAI-SearchBotOpenAI | Not named | ChatGPT search | No robots.txt |
| ChatGPT-UserOpenAI | Not named | A page a person asks about | No robots.txt |
| ClaudeBotAnthropic | Not named | Training models | No robots.txt |
| Claude-SearchBotAnthropic | Not named | Claude’s search | No robots.txt |
| PerplexityBotPerplexity | Not named | Perplexity search | No robots.txt |
| Google-ExtendedGoogle | Not named | Training Gemini | No robots.txt |
| bingbotMicrosoft | Not named | Bing and Copilot | No robots.txt |
Every AI crawler mttr checks may read it. Not named means the rules for every crawler apply.
Every page
Worst first. Each opens in Agent View at the top.
100 pages of 100 lose something. Pick a loss to see what to do about it.Open the action plan
| What an agent getshigher is better | Signals | Costnot scored | ||||
|---|---|---|---|---|---|---|
| Page | Words | Clean | Readable | Main heading | Tokens | What it loses |
| / | 731 | No <main> | Yes | Yes | 1,392 | No <main> |
| /10-youtube-downloader-myths-fact-checked | 1,893 | No <main> | Yes | Yes | 4,285 | No <main> |
| /12-youtube-embed-parameters-explained | 2,218 | No <main> | Yes | Yes | 5,073 | No <main> |
| /5-legal-ways-to-watch-youtube-offline | 1,830 | No <main> | Yes | Yes | 3,931 | No <main> |
| /6-signs-youtube-downloader-site-unsafe | 1,842 | No <main> | Yes | Yes | 3,989 | No <main> |
| /9-ways-speed-up-pages-youtube-embeds | 2,345 | No <main> | Yes | Yes | 5,050 | No <main> |
| /blog | 112 | No <main> | Yes | Yes | 396 | No <main> |
| /complete-youtube-embed-guide | 1,145 | No <main> | Yes | Yes | 2,633 | No <main> |
| /da/annoncer | 65 | No <main> | Yes | Yes | 125 | No <main> |
| /da/ansvarsfraskrivelse | 177 | No <main> | Yes | Yes | 336 | No <main> |
| /da/blog | 839 | No <main> | Yes | Yes | 2,708 | No <main> |
| /da/cookies | 80 | No <main> | Yes | Yes | 171 | No <main> |
| /da/kontakt | 33 | No <main> | Yes | Yes | 85 | No <main> |
| /da/om-os | 199 | No <main> | Yes | Yes | 377 | No <main> |
| /da/privatlivspolitik | 106 | No <main> | Yes | Yes | 238 | No <main> |
| /da/sitemap | 31 | No <main> | Yes | Yes | 279 | No <main> |
| /de/cookies | 80 | No <main> | Yes | Yes | 188 | No <main> |
| /de/datenschutz | 114 | No <main> | Yes | Yes | 257 | No <main> |
| /de/haftungsausschluss | 185 | No <main> | Yes | Yes | 349 | No <main> |
| /de/kontakt | 34 | No <main> | Yes | Yes | 90 | No <main> |
| /de/sitemap | 32 | No <main> | Yes | Yes | 277 | No <main> |
| /de/ueber-uns | 211 | No <main> | Yes | Yes | 410 | No <main> |
| /de/werben | 69 | No <main> | Yes | Yes | 144 | No <main> |
| /embedding-youtube-in-shopify | 470 | No <main> | Yes | Yes | 1,234 | No <main> |
| /embedding-youtube-in-wix | 455 | No <main> | Yes | Yes | 1,168 | No <main> |
Show where it stands
A card, a badge and a line, each with the figures.

A badge for the site
<a href="https://mttr.si/agent-view/youtubeembedcodegenerator.com"><img src="https://mttr.si/agent-view/youtubeembedcodegenerator.com/badge.svg" alt="Agent View: 100% readable" height="20"></a>
The figures in one line
youtubeembedcodegenerator.com in Agent View: 100% of pages readable, better than 47% of sites; Clean not measured; 103,596 tokens to read all 100 pages. mttr.si/agent-view/youtubeembedcodegenerator.com
What to do next
Fix the pages, let an agent do it, and read the site again to see the figures move.
Fix what agents miss
- Wrap 100 pages in <main>Clean measured
Connect your agent
Claude Code, Codex or Cursor reads the site’s fixes over MCP, fixes a page in your code, has mttr read it again, and checks the fix landed.
https://mttr.si/mcpSet up an agent
Claim the site
Prove it is yours with a DNS record or a file. Your agent can then reach its reads and jobs, and set each change to wait for your approval.
Claim the siteDrawn from the HTML mttr fetched on its read of October 24, 2026, not a screenshot, and only from the 100 pages read, where the read stopped at its page limit. An assistant’s own reader may differ. Tokens are estimated at about 4 characters each. A site an agent reads well is not a site an assistant cites.