Skip to content
All tools

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
  1. 1Paste a link
  2. 2Pick options
  3. 3Copy it
redact / youtube-embed-code-generator
Ready
Try a sample:

Your options

Every privacy option starts on. Open a group to change it.

Privacy options8 of 8 active
ThumbnailNo image, notice on
Behind the play button
PlaybackPlays inline, no annotations
SizeFits the page, 16:9
Shape

Preview

Paste a link above to get the code for your own video.

Plays from YouTube. Google's privacy policy applies.

What makes these embeds private

Each option takes one more thing off what a YouTube embed shares, and every one is on to start.

No player before play
Click to load swaps the player for a plain play button. YouTube isn't contacted until a visitor chooses to watch. An image you put behind the button loads with the page.
No-cookie domain by default
The player comes from youtube-nocookie.com, YouTube's privacy-enhanced mode, so views don't follow visitors back to their YouTube.
No saved cookies in Chrome and Edge
A credentialless player starts fresh, without the YouTube cookies a visitor already has, so the view isn't tied to their account.
A player that stays in its box
The sandbox stops the player from taking over your page or starting a download. Links it opens go to a new tab.
Fewer permissions
Motion sensors, the clipboard and the share sheet are left out of what the player may use. Turn any of them back on if you need them.
Built in your browser
The code is written on this page. Your links aren't sent to Redact, and there's no script to add to your site.

Private YouTube embeds: FAQ

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.