Video Schema Generator

A free tool by DeepRit, a Google Ads agency that does PPC and nothing else. We build and run Google Ads accounts so every click is accounted for. Book a free audit call

Free video schema generator. Create VideoObject JSON-LD with title, thumbnail, upload date, length and video addresses for Google.

Video structured data (JSON-LD)

Add it to the page where the video plays. Replace VIDEO_ID with your video's ID.

Free, no sign-up. Runs in your browser: nothing you type is uploaded or saved.

How to use the video schema generator

Fill in your video's details and the video schema generator writes VideoObject JSON-LD as you type:

  • Title and length. Write the length as minutes and seconds (4:35) or hours, minutes and seconds (1:02:10); it's converted to the ISO 8601 format search engines use (PT4M35S).
  • Description: a sentence or two about what the video shows.
  • Thumbnail image addresses, one per line.
  • Upload date and time, with the UTC offset (such as -06:00).
  • Video file address (the MP4 or other file, if you host it) and/or the embed address (such as https://www.youtube.com/embed/VIDEO_ID for YouTube).

It checks the three properties Google requires (name, thumbnail and upload date), the address formats and the length, and reminds you to include the video's file or embed address. Everything runs in your browser.

What video schema does

Video schema is structured data that describes a video on your page: its title, description, thumbnail, upload date, length and where the video file lives. It helps Google find and understand videos on your site, and can make the page eligible for video features in search: video results with a thumbnail and length, the Videos tab, Discover, and key moments that link to parts of the video.

<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "VideoObject",
  "name": "How to shape a rye loaf",
  "description": "Maya shows how to shape a sticky rye dough without tearing it.",
  "thumbnailUrl": ["https://crumbandco.example/img/shaping-thumb.jpg"],
  "uploadDate": "2026-11-02T09:00-06:00",
  "duration": "PT4M35S",
  "embedUrl": "https://www.youtube.com/embed/VIDEO_ID"
}
</script>

Do you need video schema for YouTube videos?

Videos on YouTube itself are already understood by Google; you don't add markup to YouTube. Video schema matters when a video is embedded on your own website, for example a recipe video on a recipe page, a product demo on a product page, or a how-to video on a help page. The markup tells Google that your page contains a video and what it's about, so your page, not just the YouTube page, can appear in video results.

Required

  • name: the video's title.
  • thumbnailUrl: at least one thumbnail image address. The image must be crawlable and in a supported format, such as JPG, PNG or WebP.
  • uploadDate: when the video was first published, in ISO 8601 format, ideally with a UTC offset.

Recommended

  • description: a description of the video.
  • duration: the length, in ISO 8601 format.
  • contentUrl: the address of the video file itself (for example an MP4). This is the most useful way for Google to fetch your video.
  • embedUrl: the address of the player, such as YouTube's embed address.

Include at least one of contentUrl and embedUrl so Google can access the video.

ISO 8601 durations

The duration format starts with PT (period of time), then hours (H), minutes (M) and seconds (S):

Length ISO 8601
0:45 PT45S
4:35 PT4M35S
12:00 PT12M
1:02:10 PT1H2M10S

The video schema generator converts the length you type, so you don't have to write these by hand.

Making videos easy for Google to index

Google's video guidelines boil down to a few points:

  • One main video per page, prominently placed, on a page that's about that video. A video tucked away in a sidebar is less likely to be treated as the page's main content.
  • A stable thumbnail that Google can fetch, at least 60 × 30 pixels; larger is better, and 16:9 matches most players.
  • A page Google can crawl, not blocked by robots.txt or hidden behind a login.
  • The video file or embed must be accessible to Google.

After adding markup, test the page with the Rich Results Test, then check the Video indexing report in Search Console, which tells you whether Google found a video on each page and why not if it didn't.

Key moments

Key moments let people jump to sections of a video from the search results. There are two ways to get them:

  • For YouTube videos, add chapters (timestamps) to the video's description on YouTube. Google can use them automatically. The YouTube chapters generator checks your timestamps against YouTube's rules.
  • For videos you host yourself, Google supports Clip markup (listing each section with its start and end) or SeekToAction markup (telling Google how your player jumps to a time). These are additions to the VideoObject; the generator gives you the core markup to build on.

Writing the title and description

The title and description in your markup should match what's on the page, and they're also what people see in video results. Good habits:

  • Say what the viewer will learn or see: "How to shape a rye loaf" is clearer than "Bake day #14".
  • Put the most important words first.
  • Write a real description, one or two sentences, not a list of keywords.

Common mistakes

  • No thumbnail, or a thumbnail address that's blocked or broken.
  • Upload dates without a time zone, or in the wrong format.
  • Duration written as "4:35" in the markup instead of PT4M35S.
  • Markup for a video that isn't on the page, or that only appears after a click.
  • Several videos marked up on one page without one clearly being the main one.
  • Copying the YouTube page's details but pointing to the wrong video ID in the embed address.

Videos and the rest of your page

A page with a video often benefits from other structured data too:

Hosting your own videos vs YouTube

Where your video lives changes what you mark up:

  • YouTube or Vimeo embeds: easy, free and fast to load if you use a lightweight embed. Use the embed address in the markup. People who find the video in search may be sent to YouTube instead of your page, though your page can still appear.
  • Self-hosted video files: you control the page experience and the file address, which you put in contentUrl. You'll need hosting that streams video well, and you're responsible for thumbnails and players.
  • Video hosting services (such as Wistia or Bunny Stream) sit in between, and many add markup for you.

Whichever you use, make sure the thumbnail address in your markup is one Google can fetch, and that it doesn't change every time the page loads.

A worked example

A bakery films a four-and-a-half-minute video showing how to shape a rye loaf, uploads it to YouTube and embeds it on a blog post. In the video schema generator, the owner enters the title, the length 4:35, a one-sentence description, the thumbnail address on the bakery's own site, the upload date with the offset -06:00, and the YouTube embed address with the video's ID.

The generator writes PT4M35S for the duration and shows "Looks good". The Rich Results Test detects a valid video, and a few weeks later the Video indexing report shows the blog post's video as indexed. The owner adds chapters to the YouTube description so key moments can appear too.

Search ads for the searches that matter now

Good markup helps your pages rank over time. Google Ads puts the same pages in front of buyers today. DeepRit is a Google Ads agency that does PPC and nothing else: we build the campaigns, block the searches that waste money, write the ads, set up conversion tracking and send you a short report every week. Request a free PPC audit and we will show you, in dollars, what we would fix first.

Frequently asked questions

What is video schema?

Structured data, VideoObject in JSON-LD, that describes a video's title, description, thumbnail, upload date, length and file or embed address, so search engines can index it.

What does Google require for video markup?

The video's name, a thumbnail address and the upload date. A description, duration and the content or embed address are recommended.

Do I need video schema for YouTube?

Not on YouTube itself. Add it to pages on your own site that embed a video, so your page can appear in video results.

How do I write the duration?

As an ISO 8601 duration such as PT4M35S. Type the length as 4:35 and the video schema generator converts it.

How do I get key moments in search?

Add chapters to your YouTube description, or for self-hosted videos, add Clip or SeekToAction markup to your VideoObject.

Is the video schema generator free?

Yes. It's free with no sign-up, and it runs entirely in your browser.

Free PPC audit

See where your ad budget leaks.

We look at your Google Ads account before the call, then walk you through what we'd fix first, in dollars. No obligation, no hard sell.

Book a free audit call 30-minute call · Free · The audit is yours to keep