Video Schema Generator

Create compliant VideoObject JSON-LD code for your web pages. This tool formats your video metadata into structured data for search engine visibility.

Your workspace

Processed in your browser

Review the example or enter your values.

How to use Video Schema Generator

  1. Enter the Video title and Description exactly as they appear on your page.
  2. Paste the direct Thumbnail URL and Video content URL into the designated fields.
  3. Input the Upload date with timezone and the ISO 8601 duration to complete the schema.

When this tool is useful

Structured data is essential for helping search engines interpret the multimedia content on your website. This Video Schema Generator allows you to create valid JSON-LD markup specifically for video assets. By providing accurate details such as the video title, description, thumbnail URL, and duration, you can generate a code block that adheres to standard schema.org specifications. This process is strictly for creating markup based on information already visible on your page. Please note that while structured data helps search engines parse your content, it does not guarantee specific rich results or rankings. Use this utility to format your data correctly and prepare it for manual insertion into your site's HTML header or script tags.

Practical example

Title: Tutorial, Duration: 5 minutes, URL: video.mp4

{"@context": "https://schema.org", "@type": "VideoObject", "name": "Tutorial", "duration": "PT5M", "contentUrl": "video.mp4"}

Accuracy and Visibility

The core principle of implementing VideoObject schema is consistency. You must only mark up information that is explicitly visible to users on the page where the video is embedded. If the description in your JSON-LD differs from the text displayed on the page, search engines may ignore the markup or penalize the site. Ensure that the thumbnail URL points to a valid image file and that the content URL links directly to the video file. Accuracy is paramount because search engines verify the schema against the actual page content. Avoid using hidden metadata or information that cannot be verified by a user visiting the page directly.

Understanding ISO 8601 Duration

The duration field requires a specific format known as ISO 8601. This format uses a string starting with 'PT' followed by the time units. For example, a video that is one minute and thirty seconds long is represented as 'PT1M30S'. A video lasting exactly ten minutes would be 'PT10M'. If your video includes hours, you would add 'H' before the minutes, such as 'PT1H30M'. It is critical to use this exact syntax because search engines cannot parse human-readable durations like 'five minutes' or '5:00'. Always double-check your duration string to ensure it accurately reflects the total runtime of your video file.

Method and limits

Only mark up information that is visible and accurate. This generator covers a practical subset of VideoObject; supported search features vary and valid JSON-LD does not guarantee a rich result.

Common questions

Does this tool guarantee rich results?

No. While providing valid JSON-LD is a necessary step for search engines to understand your content, it does not guarantee that a rich result will appear in search listings. Search engines determine eligibility based on many factors.

Are my entries saved automatically?

No. This tool does not save your data automatically. You must manually copy the generated code to your clipboard. If you need to save your work for later, you must explicitly use the export function provided.

What if my video duration is less than a minute?

You should still use the ISO 8601 format. For a video lasting 45 seconds, the correct duration string is 'PT45S'. Always ensure the 'PT' prefix is included, followed by the number and the 'S' suffix for seconds.

Continue your workflow

Explore more tools in this category for your next step.