Start a project

Tool 162 of 425 · Video SEO

YouTube Embed Code Builder

Generates responsive, privacy-enhanced embed code and matching VideoObject structured data.

YouTube Embed Code Builder

Your input

Result

SettingValue
Embed HTML
VideoObject JSON-LD

    01

    What it does

    Generates responsive, privacy-enhanced embed code and matching VideoObject structured data.

    • Parses any YouTube URL or ID
    • Start time, autoplay, loop, captions
    • youtube-nocookie domain
    • VideoObject JSON-LD

    02

    Private by design

    Everything happens in your browser. Nothing you type, paste or upload is sent anywhere, and it keeps working offline once the page has loaded.

    03

    What you get

    Embed HTML and JSON-LD, with a Copy and a Download button on every result.

    • YouTube embed
    • VideoObject
    • Privacy

    Why it matters

    Embeds slow pages and set cookies. The nocookie domain and lazy loading help, and VideoObject markup helps Google show the video.

    Paste a watch, share or Shorts link.

    How to use it

    1. Type or paste your input; the example shows the format.
    2. Press Build embed. Results also update as you type.
    3. Read the summary line, then the table, notes or output below it.
    4. Copy or download what you need. Nothing leaves this page.

    FAQ

    Does autoplay work?

    Only muted, so the tool adds mute=1.

    Is VideoObject needed on my page?

    It's recommended so Google can index the video with your page.

    Is my input uploaded?

    No. The tool runs in your browser and nothing you type, paste or open is sent anywhere.

    Can I rely on the result?

    It follows the public specification or formula named on this page and says where it simplifies. Check anything critical against the official tool or documentation before you ship it.

    Work with me

    Want a site that gets these right?

    I build fast, accessible websites and web apps that pass these checks from day one. Tell me about your project and I'll reply personally with honest next steps.

    All developer tools · Back to leej.uk