Privacy-First YouTube Embed Code Generator
Paste a YouTube link. Get embed code that loads nothing from Google until a visitor presses play.
- Privacy options:
- No-cookie mode
- Click to play
- Lazy-load
- Sandboxed
- No saved cookies
- Blocked sensors
- No clipboard access
- Same-channel suggestions
- 1Paste a link
- 2Pick options
- 3Copy it
Your options
Every privacy option starts on. Open a group to change it.
Privacy options8 of 8 active
ThumbnailNo image, notice on
PlaybackPlays inline, no annotations
SizeFits the page, 16:9
Preview
Paste a link above to get the code for your own video.
What makes these embeds private
Each option takes one more thing off what a YouTube embed shares, and every one is on to start.
More free tools
- YouTube Comment HistoryOpen your Google Takeout export and see every YouTube comment you still have up, in one list you can search.
- Link CleanerPaste a link. Get it back without known tracking tags.
- Screenshot RedactorBlack out names, numbers and faces in a screenshot.
- Face RedactorBlur faces in a photo, or swap them for a clown or an NPC.
Private YouTube embeds: FAQ
It's the address YouTube uses for its privacy-enhanced mode. An embed that loads from www.youtube-nocookie.com instead of www.youtube.com plays the same video, but YouTube says the views don't shape the visitor's YouTube recommendations and the ads in it are non-personalized. This generator uses it unless you turn it off.
Yes. It's run by YouTube itself, and it's the domain YouTube's own embed settings switch to in privacy-enhanced mode. It doesn't make a visitor invisible to Google, though. Once the player loads, Google still sees the visitor's IP address, which is why click to load is on by default here.
Usually something between the visitor and YouTube is blocking that domain, like a school or office network, a firewall or a browser extension. YouTube asks network admins to allow youtube-nocookie.com as well as youtube.com. If the error shows for everyone, check that the code uses an /embed/ address and not a normal watch link.
It puts a play button where the player would be. The page doesn't contact YouTube at all until a visitor clicks it. An image you put behind the button is the exception: it loads with the page, and the YouTube thumbnail comes from Google's image server. Then the player loads, and in most browsers the video starts right away. The button lives in the embed code itself, so there's no script to add to your site.
Not on its own. Privacy-enhanced mode changes what YouTube does with a view, but the player still talks to Google once it loads. Click to load with the privacy notice lets visitors decide before anything is sent. Whether that's enough for your site is a question for your own legal adviser.
No. Only the video's owner and YouTube decide whether ads play, and no embed setting turns them off. In privacy-enhanced mode, the ads YouTube does show are non-personalized.
Unlisted, yes. Anyone with the embed can play it. Private, no. A private video only plays for the accounts its owner invited, so visitors see an error. The owner can also turn off embedding for any video in YouTube Studio.
It's plain HTML, so it works anywhere that accepts an embed or custom HTML block. In WordPress, paste it into a Custom HTML block. If your site builder strips part of the code, turn off click to load to get a standard iframe.
No. Your browser reads the link and writes the embed code on this page. Nothing you type is sent to Redact, and the preview only contacts YouTube when you press play in it, or when you ask it to load.
Try Redact for Free
We are frequently adding support to other social network services. You can receive direct updates from us in Redact's Discord Channel.
