Skip to content
TrySitePrice

Video schema generator

Three properties are required here and the rest earn their place: a name, a thumbnail and an upload date. Fill those, then add the duration in ISO 8601 form, the URLs that let the video play, and a key moment if you have one.

Google marks name, thumbnailUrl and uploadDate required on VideoObject. A Clip additionally requires its own name, startOffset and url. Google video structured data, read 2026-11-06. The interaction type written for a watch count is WatchAction, one of the four Google's table names.
The video

name — Google asks for unique text per video on your site.

thumbnailUrl — One per line. Required.

uploadDate — ISO 8601. Required.

description — Google asks for unique text here too.

duration — ISO 8601 duration — PT1M33S is one minute thirty-three seconds.

expires — Only if the video stops being available.

Where it plays

contentUrl — The video file itself.

embedUrl — A player for this specific video.

regionsAllowed — Country codes, one per line.

ineligibleRegion — Country codes, one per line.

interactionStatistic.userInteractionCount — Written as an InteractionCounter with interactionType WatchAction.

Creator

creator.@type — Person or Organization.

creator.name

creator.url — A page that uniquely identifies the creator.

One key moment

hasPart.name — A descriptive title for the segment. Required if a clip is included at all.

hasPart.startOffset — Seconds from the beginning. Required inside a clip.

hasPart.endOffset — Seconds from the beginning.

hasPart.url — A URL pointing at the clip's start time. Required inside a clip.

3 properties Google marks required are still empty: name, thumbnailUrl, uploadDate. The markup below is written anyway so you can see its shape, but it will not qualify as complete until those are filled.

VideoObject JSON-LD

0 properties written
{
  "@context": "https://schema.org",
  "@type": "VideoObject"
}

Paste the script-tag version into the page’s head or body. Empty fields are left out of the output entirely rather than written as blank values, because a property present and empty is not the same as a property absent.

Before you ship it

duration is an ISO 8601 duration, not a count of seconds: PT1M33S, not 93.

Key moments can come from a Clip you name yourself, or from a SeekToAction that lets Google find your own timestamps. This generator writes the Clip form, which is the one you control.

Generating valid markup and being eligible for a rich result are two different things. Check the output against the vocabulary with the schema markup validator, and remember that structured data describes content already on the page — it does not add any.

Questions about VideoObject structured data

01Why is the duration not just a number of seconds?

Because the property takes an ISO 8601 duration. One minute thirty-three seconds is PT1M33S, not 93. A bare number is the most common reason a duration is ignored.

02What is the difference between contentUrl and embedUrl?

contentUrl points at the video file's actual bytes; embedUrl points at a player for that specific video. They answer different questions and giving both is better than picking one.

03How do key moments work?

Two ways. Either you mark up clips yourself, naming each segment with its start time and a URL that jumps there, or you use a SeekToAction that lets Google find your own timestamps. This generator writes the Clip form, which is the one where you choose the labels.

04Does the thumbnail have to be the one the player shows?

It has to be a URL pointing at the video's thumbnail image file, and it has to be crawlable. A thumbnail that 404s for a crawler is the same as no thumbnail, and this is a required property.

05Should I set the region properties?

Only if the video genuinely is restricted. Listing every country you allow when you allow all of them adds noise, and getting it wrong tells Google the video is unavailable where it is not.

Related tools