Video Schema Generator
Generate valid VideoObject schema markup for your videos to help them appear in Google's video search results, video carousels, and rich snippets. Just fill in your video details below and get properly formatted JSON-LD code ready to paste into your page.
What is Video Schema Markup?
Video schema markup is structured data that tells search engines about your video content. It uses the VideoObject type from Schema.org to describe things like the video title, description, thumbnail, duration, and where the video can be watched.
When you add video schema to your pages, search engines can display your videos in special rich results. These include video carousels, video thumbnails in regular search results, and dedicated video search results. This extra visibility can drive a lot more traffic to your content.
Why Should I Use Video Schema?
Adding video schema to your pages gives you several advantages in search results.
- Your videos can appear in Google's video carousel at the top of search results.
- Video thumbnails can show up next to your regular search listings, making them more eye-catching.
- Google can better understand what your video is about and show it for relevant searches.
- You give Google all the details it needs without relying on it to figure things out from the page content.
Videos with proper schema markup tend to get more clicks because they stand out in search results. The thumbnail alone can increase click-through rates significantly.
What Fields Are Required?
Google requires certain fields for video schema to be eligible for rich results.
- Name. The title of your video as it should appear in search results.
- Description. A summary of what the video is about.
- Thumbnail URL. A link to an image that represents your video.
- Upload Date. When the video was first published.
- Duration. How long the video is in ISO 8601 format (the tool handles this for you).
- Content URL or Embed URL. You need at least one of these so Google knows where to find the video.
The optional fields like author, publisher, and view count can help provide more context, but they are not strictly required for the schema to be valid.
Content URL vs Embed URL - What's the Difference?
These two fields serve different purposes, and you should use whichever one applies to your video setup.
- Content URL is a direct link to the actual video file. This would be something like https://example.com/videos/my-video.mp4. Use this if you host your own video files.
- Embed URL is the URL used to embed the video player on a page. For YouTube, this looks like https://www.youtube.com/embed/VIDEO_ID. For Vimeo, it would be https://player.vimeo.com/video/VIDEO_ID.
If you are embedding a YouTube or Vimeo video on your page, use the embed URL. If you are hosting the video file yourself, use the content URL. You can include both if you have them.
How Do I Add the Schema to My Page?
Adding the generated schema to your page is straightforward. Here are the steps.
- Fill out the form above with your video details.
- Click "Generate Schema" to create the JSON-LD code.
- Copy the generated code using the "Copy Code" button.
- Paste the code into your HTML page, either in the <head> section or just before the closing </body> tag.
- Test your schema using Google's Rich Results Test to make sure everything looks correct.
If you are using WordPress, you can add the schema using a plugin like Rank Math or Yoast, or you can paste it directly into a custom HTML block or your theme's header.
Related Tools
Let's Grow Your Business
Want some free consulting? Let’s hop on a call and talk about what we can do to help.