What Is youtube-nocookie.com? The Honest Answer (2026)
The “no cookie” YouTube domain reduces tracking, but it still stores data and contacts Google before Play. Here is what that means for your site.
youtube-nocookie.com is Google's alternate host for YouTube's privacy-enhanced embed mode. It delays YouTube's HTTP cookies until someone presses Play, but it does not eliminate tracking: the player can store data in the browser, contact Google, and transmit the visitor's IP address as soon as the iframe loads.
• What it is: A legitimate Google domain that serves the same YouTube player through privacy-enhanced mode.
• What it changes: In our June 8, 2026 browser test, HTTP cookies were deferred until Play; Google says embedded views do not personalize the viewer's YouTube experience and ads are non-personalized (YouTube Help, 2026).
• What it does not change: In that browser test, the player initialized client-side storage, made Google-owned network requests, and fired telemetry before Play.
• GDPR: Changing the hostname alone does not make a YouTube iframe compliant; gate the iframe behind informed consent or remove the third-party player.
• Truly cookieless video: Use a player that does not depend on YouTube's iframe or Google tracking infrastructure.
What is youtube-nocookie.com?
youtube-nocookie.com is a Google-owned domain that serves YouTube videos through what Google calls privacy-enhanced mode. The video, player, and basic embed workflow are still YouTube; the URL simply points the iframe at a different host.
The domain dates back to 2009, when YouTube described creating the player for videos embedded on U.S. federal government websites in a contemporaneous CNET report. A later Cloud Four account of the no-cookie feature records the same host change and cookie timing. Today, anyone can select it from YouTube's embed dialog. The option is presented as Enable privacy-enhanced mode, which changes the host in the generated iframe.
Here is the practical difference:
| Mode | Embed URL |
|---|---|
| Standard | https://www.youtube.com/embed/VIDEO_ID |
| Privacy-enhanced | https://www.youtube-nocookie.com/embed/VIDEO_ID |
The ?rel=0 parameter can be added to a YouTube embed URL to restrict suggested videos to the same channel after playback; it controls recommendations, not the consent and privacy questions described below.
What does privacy-enhanced mode actually change?
Privacy-enhanced mode makes a real, limited improvement. Compared with a standard YouTube embed, it changes the timing of HTTP cookies and narrows how embedded viewing is used for personalization.
- Cookies wait until Play in practice. On a clean browser, HTTP cookies stay out of the jar until the viewer starts the video instead of landing on load.
- Embedded views do not personalize YouTube. Google documentation states that views from privacy-enhanced embeds do not influence the viewer's YouTube browsing experience or subsequent YouTube viewing experience (YouTube Help, 2026).
- Ads are non-personalized. Google confirms that ads served in privacy-enhanced mode are non-personalized rather than targeted using the viewer's profile.
Those are real reductions in exposure, and they are also the whole of the improvement. A deferred cookie is still a cookie, and cookies are only one part of the data flow. If you read the domain name as a promise that nothing leaves the browser, the next section will be uncomfortable.
Does youtube-nocookie.com actually stop tracking?
No. It stops some cookie activity on initial load, but the player still runs JavaScript, stores browser data, makes requests to Google-owned services, and sends telemetry before the viewer clicks Play.
We ran a clean-browser check on June 8, 2026, using Chrome 148 and a six-second load with no Play click. Within that window, the player created one IndexedDB database, wrote one localStorage key, contacted several Google-owned domains, and fired pre-play telemetry. It showed no readable HTTP cookies at that stage.
What happens in the browser before Play?
Two objects appeared under the youtube-nocookie.com origin on that June 8, 2026 load: an IndexedDB database named YtIdbMeta and a localStorage entry named ytidb::LAST_RESULT_ENTRY_KEY. Both are persistent browser storage, written before the viewer has chosen to watch anything.

That detail matters because privacy rules are not limited to files named cookies. Article 5(3) of the ePrivacy Directive covers storing information on, or accessing information from, a user's device. The rule is technology-neutral, so localStorage and IndexedDB can be relevant even when the cookie jar is empty. The Web Storage API and IndexedDB API are both client-side storage systems, not exceptions created by different names.
There is also an important 2026 correction to older guides. Earlier investigations reported that yt-remote-device-id appeared in localStorage on iframe load. As of June 8, 2026, that key does not appear until playback begins. The device identifier and the tracking cookies arrive on Play; the only pre-play storage is the IndexedDB database and its bookkeeping key.
What data reaches Google before Play?
The iframe starts making network requests the moment it loads. On the June 8, 2026 run those requests went to www.google.com, fonts.gstatic.com, and jnn-pa.googleapis.com, plus YouTube endpoints for player logging, QoE beacons, and an anti-abuse attestation check.
Every network request from the visitor's browser includes an IP address at the transport level. Changing the embed host does not keep the visitor's IP away from Google. Before playback, the player transmitted two streamingstats QoE POST requests, a log_event request, and a generate_204 beacon.
Do not overstate what that proves. We cannot infer Google's complete retention policy from a six-second session, and the test does not establish a YouTube-specific court ruling. It does establish that the iframe contacts Google and writes browser data before Play, which is enough to make “no cookies” an incomplete privacy description.
What happens when the viewer presses Play?
Play releases everything that was being held back. YouTube set cookies including VISITOR_INFO1_LIVE, YSC, GPS, and PREF, along with advertising cookies such as IDE where the ad context applied. The yt-remote-device-id identifier showed up in localStorage at the same moment in the June 2026 test.
A Play button is not a consent-management system. A visitor can want to watch a video without understanding that the click authorizes a Google iframe to process data. The CNIL's guidance on third-party cookies and consent says users must be able to choose freely and in an informed manner whether to accept tracking, and it specifically lists embedded YouTube videos among services that can receive or place cookies.
How does youtube-nocookie compare with other players?
Side by side, the gap is hard to miss. Privacy-enhanced mode moves cookie activity later; it does not remove Google's infrastructure from the page.
| Behavior | Standard YouTube | youtube-nocookie.com | Third-party-free player |
|---|---|---|---|
| Browser storage on load | Yes | Yes, including IndexedDB and localStorage in our 2026 test | None required |
| Visitor IP sent to Google | Yes | Yes, when the iframe loads | No |
| Tracking cookies | On load | On Play | None from a video provider |
| Consent gate needed for EU visitors | Yes | Yes | Not for the video itself |
| Ads and suggested videos | Possible | Possible, with non-personalized ads | Controlled by the site owner |
If you want the performance, branding, and viewer-leakage consequences of YouTube in one place, see why standard YouTube embeds are costly for your site and explore the hidden cost of keeping YouTube on your site. Privacy is only one part of the embed decision.
Is youtube-nocookie.com GDPR compliant?
No, not by itself. The nocookie domain reduces initial cookie exposure, but it still loads a Google-controlled iframe that stores browser data and sends requests carrying the visitor's IP address before anyone has consented to anything. Treating the hostname as your compliance measure is the mistake that shows up in audits.
One court ruling gets cited constantly in this debate, and it is worth getting right. In January 2022, the Regional Court of Munich held that loading Google Fonts from Google's servers transmitted a visitor's IP address without a sufficient legal basis and awarded damages in that case (GDPRhub's case summary, 2022). That ruling concerned Google Fonts, not YouTube. It is an analogy for the IP-transfer risk, not proof that a court has declared youtube-nocookie unlawful.
Why does pressing Play not count as consent?
Consent must be informed, specific, freely given, and unambiguous. A normal Play control communicates “start the video,” not “send my browsing request and device data to Google.” The difference is especially important when storage and network requests happen before the click anyway.
The practical rule is simple: if the video is non-essential, do not load the YouTube iframe until the visitor has made a separate consent choice. A two-click façade can show a thumbnail first and inject the iframe only after the visitor selects a clearly described load-video action.
What does a compliant YouTube setup need?
Your jurisdiction, audience, legal basis, and consent setup change the details. The technical pattern does not change: keep the third-party iframe out of the page until the required consent exists.

- Use a consent management platform. Tools such as Cookiebot, Borlabs Cookie, or Complianz can block YouTube embeds and release them after consent. Switching to youtube-nocookie.com can be part of the configuration, but the gate is the important part.
- Use a two-click façade. Show a preview image, explain that the video is hosted by YouTube and may transfer data, and load the iframe only after the visitor agrees.
- Remove the third party. A player delivered without Google's iframe avoids this specific Google request, storage, and YouTube cookie flow. Other site technologies can still require their own privacy review.
SmartVideo replaces the Google iframe with an ad-free, branding-free player delivered through a video host built for your site. See the YouTube alternative and compare what changes when the player does not route viewers through YouTube.
How do you use youtube-nocookie.com?
The code change is small. The privacy work around that code is the part people skip.
How do you enable it from YouTube?
Open the video on YouTube, select Share → Embed, check Enable privacy-enhanced mode, and copy the generated iframe. YouTube will replace the standard host with www.youtube-nocookie.com.
How do you change an existing embed manually?
Replace the hostname while keeping the video ID and any parameters you need:
<!-- Standard -->
<iframe src="https://www.youtube.com/embed/VIDEO_ID"></iframe>
<!-- Privacy-enhanced -->
<iframe src="https://www.youtube-nocookie.com/embed/VIDEO_ID"></iframe>Parameters such as ?rel=0 can be appended to a YouTube iframe URL; Google's player-parameter documentation describes what that setting controls. For a deeper look at iframe syntax and configuration, see how video embed codes work. The hostname swap does not disable ads, remove YouTube branding, or stop the iframe from contacting Google.
How do you use it in WordPress?
WordPress's core YouTube oEmbed flow does not automatically convert every YouTube URL to the nocookie host. Paste a normal YouTube URL and you can still receive a standard embed, so use a manual iframe, a plugin that makes the swap, or a consent tool that blocks and releases the iframe. Google's privacy-enhanced mode documentation (YouTube Help, 2026) describes the same host change from YouTube's side.
Do not install a plugin whose only feature is rewriting the hostname. It gates nothing, and it lets you tell a legal reviewer you fixed a problem you did not fix. Pick the consent tool first, confirm it actually blocks the iframe with your browser's network tab open, then decide which host the released iframe points at. If your WordPress site needs a more complete video setup, compare WordPress video hosting alternatives and review these methods for embedding video in WordPress.
How long does youtube-nocookie.com keep data?
Google publishes no single retention period covering every item the player creates. The client-side storage written on June 8, 2026 was persistent site data, not a temporary JavaScript variable, so the visitor's browser holds it until site data is cleared or the player removes it.
None of that tells you how long Google retains server-side request logs, telemetry, or identifiers. Google can also change the player without changing the embed URL. For a privacy review, do not promise that youtube-nocookie data disappears after a session; document the data flow you observed and re-test when the player or consent configuration changes.
If your requirement is to avoid Google's data retention entirely, hosting videos without YouTube infrastructure avoids third-party tracking at the source. The options and trade-offs are covered in this guide to hosting videos without YouTube entirely.
How do you embed truly cookieless video?
To remove the YouTube storage and Google network requests, the video player cannot depend on YouTube's iframe. Use a player delivered by your own infrastructure or by a hosting service that does not attach ad-tech and third-party tracking to the playback experience.
What changes when Google is out of the path?
The browser never contacts YouTube to render the player, so there is no Google request to disclose, gate, or defend. Your site controls the playback experience instead of inheriting suggested videos, ads, and YouTube branding. For a privacy review, that turns a paragraph of caveats into a single line: the video does not involve a third party.

SmartVideo follows that model. It serves an ad-free, branding-free player through a CDN and does not send viewers into YouTube's recommendation system. On a generic site, installation uses a script in the page header and a tag where the video belongs:
<smartvideo src="path/to/your/video.mp4" width="1280" height="720" class="swarm-fluid" controls></smartvideo>On WordPress, the plugin provides a native block and shortcode. On other platforms, the same two-part setup applies: add the SmartVideo script to the header, then place the video tag in the page. Swapping hostnames postpones one part of the request. Removing the iframe addresses where the request comes from — a bigger change to make, and a bigger one to show a privacy reviewer.
For a practical comparison of the move away from YouTube, read how to embed video without ads or tracking and review private video hosting options.
Frequently asked questions
These are the questions that come up once you spot youtube-nocookie.com in your page source — or once someone on your legal team asks what that domain is doing on the site.
Is youtube-nocookie.com an official Google domain?
Does youtube-nocookie.com still use cookies?
What happens before a youtube-nocookie video is played?
What is yt-remote-device-id?
Is youtube-nocookie.com GDPR compliant by itself?
Does clicking Play count as GDPR consent?
How long does youtube-nocookie keep local data?
Does youtube-nocookie.com block ads?
How do I enable privacy-enhanced mode?
How can I embed video without cookies or third-party tracking?
The bottom line
youtube-nocookie.com is legitimate and modestly more private than a standard YouTube embed. It defers HTTP cookies and reduces personalization, which is useful when you still need YouTube.
But the name promises more than the technology delivers. The player can create browser storage, contact Google, and send telemetry before Play; after Play, cookies and a device identifier can appear. If privacy or GDPR is the reason you are changing the embed URL, use consent gating or remove the third-party player entirely.
For a site that wants video without YouTube's ads, branding, viewer leakage, and Google iframe, compare SmartVideo plans and test the player with your own visitors.