Video schema generator
JSON-LD for the page with the video
VideoObject markup with 7 properties and 4 key moments.
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "VideoObject",
"name": "How to Replace a Tap Washer in Five Minutes",
"description": "Stop a dripping tap by replacing the washer: turning off the water, taking the tap apart, fitting the new washer and testing it.",
"thumbnailUrl": [
"https://www.example.com/video/tap-washer-thumb-16x9.jpg"
],
"uploadDate": "2026-10-21T08:00:00+01:00",
"duration": "PT4M52S",
"contentUrl": "https://www.example.com/video/tap-washer.mp4",
"hasPart": [
{
"@type": "Clip",
"name": "Turn off the water",
"startOffset": 0,
"endOffset": 40,
"url": "https://www.example.com/guides/tap-washer/?t=0"
},
{
"@type": "Clip",
"name": "Take the tap apart",
"startOffset": 40,
"endOffset": 125,
"url": "https://www.example.com/guides/tap-washer/?t=40"
},
{
"@type": "Clip",
"name": "Fit the new washer",
"startOffset": 125,
"endOffset": 230,
"url": "https://www.example.com/guides/tap-washer/?t=125"
},
{
"@type": "Clip",
"name": "Turn the water back on and test",
"startOffset": 230,
"endOffset": 292,
"url": "https://www.example.com/guides/tap-washer/?t=230"
}
]
}
</script>How to use it · free, no signup
How to use the Video Schema Generator
Fill in a video’s details and list its key moments to get VideoObject JSON-LD, with the duration converted to ISO 8601 and each value checked against Google’s rules. Runs in your browser.
01
Describe the video
Title, description, thumbnail and the date it was first published.
02
Add the addresses
The video file, or the player if the file cannot be shared.
03
List the key moments
A start time and a name per line, and a link pattern with the time in it.
The video’s details
VideoObject markup tells Google what a video is, when it was published and where to find it, so the video can appear in results and on the video tab. Google’s video structured data documentation lists:
| Property | Status |
|---|---|
| name, thumbnailUrl, uploadDate | Required |
| description, duration | Recommended |
| contentUrl, or embedUrl | Recommended, contentUrl preferred |
| hasPart (key moments) | Optional |
Each video on a site needs its own name and description. The upload date should carry a time zone, such as +01:00; without one, Google uses the time zone Googlebot runs in.
Durations in ISO 8601
The duration is written as PT, then hours, minutes and seconds: PT4M52S for the starting example’s 4:52, PT1H2M3S for 1:02:03. Type it either way here; the markup always gets the ISO form.
Key moments
Key moments let people jump to the part of a video they want, straight from the results. Each one is a Clip with a name, a start time in seconds and a link that starts the video there. List them as “0:40 Take the tap apart”, one per line, and give the link pattern with {seconds} where the time goes. The end of each moment is taken from the start of the next, and the last from the duration.
- The video must be at least 30 seconds long for key moments to show.
- List the moments in order, each starting later than the last and before the end.
- Name them as chapters, in the words a viewer would look for.
Related markup
A video often sits in an article or a how-to page. The article schema generator marks up the article around it, and the breadcrumb schema generator the path to the page.
Published by Koit Academy. Who runs it, how it is paid and how its tools are checked.
Questions
What people ask about the Video Schema Generator
What does Google require in video markup?
How do I write a video’s duration?
What is the difference between contentUrl and embedUrl?
How do I get key moments in search results?
Should the upload date have a time zone?
Related tools
Article Schema Generator
Article and BlogPosting markup with checked dates
Open itAspect Ratio Calculator
The ratio of any size, and its height at a new width
Open itSERP Preview Tool
See where a title and description will be cut
Open itMeta Tag Generator
Title, description, canonical and sharing tags in one block
Open itRobots.txt Generator
A clean robots.txt from the paths you want blocked
Open itRobots.txt Tester
Which rule allows or blocks a URL, and why
Open it