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.

youtubeembedcodegenerator.com100 pages read on October 24, 2026
Full screen
YouTube Embed Code Generator: Responsive, Privacy-Friendly & Free
youtubeembedcodegenerator.com

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.

Drawn from the HTML mttr fetched, not a screenshot.
page.md731 words, about 1,392 tokens
# 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 168,226 sites with figures.

See its rivals
Readablehigher is better
100%100 of 100 pages
All 168,226 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 168,226 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

No page measured

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 betterCostnot scored
SiteReadableCleanTokens a page
youtubeembedcodegenerator.comThis site, 100 pages100%None1,036
youtube.com100 pages98%42%966
copyvideo.ai100 pages77%91%728
youtubetrimmer.com4 pages100%None816

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.

Open robots.txt
Crawlerrobots.txt saysUsed forThe line that decides
GPTBotOpenAINot namedTraining modelsNo robots.txt
OAI-SearchBotOpenAINot namedChatGPT searchNo robots.txt
ChatGPT-UserOpenAINot namedA page a person asks aboutNo robots.txt
ClaudeBotAnthropicNot namedTraining modelsNo robots.txt
Claude-SearchBotAnthropicNot namedClaude’s searchNo robots.txt
PerplexityBotPerplexityNot namedPerplexity searchNo robots.txt
Google-ExtendedGoogleNot namedTraining GeminiNo robots.txt
bingbotMicrosoftNot namedBing and CopilotNo 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 betterSignalsCostnot scored
PageWordsCleanReadableMain headingTokensWhat it loses
/731No <main>YesYes1,392No <main>
/10-youtube-downloader-myths-fact-checked1,893No <main>YesYes4,285No <main>
/12-youtube-embed-parameters-explained2,218No <main>YesYes5,073No <main>
/5-legal-ways-to-watch-youtube-offline1,830No <main>YesYes3,931No <main>
/6-signs-youtube-downloader-site-unsafe1,842No <main>YesYes3,989No <main>
/9-ways-speed-up-pages-youtube-embeds2,345No <main>YesYes5,050No <main>
/blog112No <main>YesYes396No <main>
/complete-youtube-embed-guide1,145No <main>YesYes2,633No <main>
/da/annoncer65No <main>YesYes125No <main>
/da/ansvarsfraskrivelse177No <main>YesYes336No <main>
/da/blog839No <main>YesYes2,708No <main>
/da/cookies80No <main>YesYes171No <main>
/da/kontakt33No <main>YesYes85No <main>
/da/om-os199No <main>YesYes377No <main>
/da/privatlivspolitik106No <main>YesYes238No <main>
/da/sitemap31No <main>YesYes279No <main>
/de/cookies80No <main>YesYes188No <main>
/de/datenschutz114No <main>YesYes257No <main>
/de/haftungsausschluss185No <main>YesYes349No <main>
/de/kontakt34No <main>YesYes90No <main>
/de/sitemap32No <main>YesYes277No <main>
/de/ueber-uns211No <main>YesYes410No <main>
/de/werben69No <main>YesYes144No <main>
/embedding-youtube-in-shopify470No <main>YesYes1,234No <main>
/embedding-youtube-in-wix455No <main>YesYes1,168No <main>
The worst 25 of 100 pages.Show all 100

Show where it stands

A card, a badge and a line, each with the figures.

youtubeembedcodegenerator.com in Agent View: 100% readable
1200 by 630, for linksDownload

A badge for the site

Agent View: 100% readable
<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>
Drawn again after every read

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

100pages lose something
  • Wrap 100 pages in <main>Clean measured
Open the action plan

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/mcp
Set 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 site

Drawn 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.

Agent Viewyoutubeembedcodegenerator.com Close Esc
YouTube Embed Code Generator: Responsive, Privacy-Friendly & Free
youtubeembedcodegenerator.com

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

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 generatorFull-page version of the generator above, with the same options.

Tool

Thumbnail viewerEvery official i.ytimg.com resolution for any video.

Tool

Timestamp link generatorShare or embed a video starting at an exact moment.

Reference

YouTube size guideBanner, thumbnail and player dimensions in one table.

Tool

Earnings calculatorEstimate ad revenue from views, CPM and monetisation rate.

Reference

Knowledge baseShort, precise answers on embedding, privacy and terminology.

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 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, our guide to responsive YouTube embeds, or browse the knowledge base for short definitions of terms like iframe and youtube-nocookie.com.

ToolThumbnail viewerTimestamp link generatorYouTube size guideEarnings calculatorKnowledge baseBlogAbout us

Drawn from the HTML mttr fetched, not a screenshot.
page.md731 words, about 1,392 tokens
# 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/).
Drawn from the HTML mttr fetched, not a screenshot. An assistant’s own reader may differ.Tokens are estimated at about 4 characters each.