A video sitemap is an XML sitemap with a video extension that tells search engines which pages contain videos and supplies metadata such as the thumbnail, title, description and file location. In SEO, and specifically in crawling, it helps crawlers such as Googlebot discover video content that is loaded by JavaScript, embedded through a player or otherwise hard to find by following links.
A video sitemap does not guarantee indexing or rich results. It is a discovery and description signal that works alongside on-page structured data, and its value is greatest on sites with large or frequently changing video libraries.
How a video sitemap is structured
A video sitemap uses the standard sitemap protocol plus the Google video namespace. Each url entry names the watch page, the page where the video is played, in its loc element, and contains one or more video:video blocks describing the videos on that page.
The video URL itself never goes into loc. This is a frequent error: search engines index videos in the context of a page, so the sitemap must point to the HTML page and describe the media file separately. The table below lists the core elements.
| Element | Status | Purpose |
|---|---|---|
| video:thumbnail_loc | Required | URL of the preview image |
| video:title | Required | Title of the video, plain text |
| video:description | Required | Summary of up to 2,048 characters |
| video:content_loc | Required unless player_loc is set | Direct URL of the media file |
| video:player_loc | Required unless content_loc is set | URL of an embeddable player |
| video:duration | Recommended | Length from 1 to 28,800 seconds |
| video:expiration_date | Recommended if relevant | Date after which the video is unavailable |
Optional elements include publication date, family-friendly status, country and platform restrictions, subscription requirements, uploader and a live flag. Several older tags, such as category, gallery location, price and TV show details, are no longer used by Google and can be removed without loss.
How search engines use video sitemaps during crawling
A crawler reads the sitemap, queues the listed watch pages and attempts to fetch the thumbnail and the video file. If it can access the content, it may extract frames, read the audio track and generate key moments for search features.
The sitemap influences crawl prioritization rather than ranking. Accurate lastmod dates on the parent URL help crawlers revisit changed pages instead of the whole library, which matters for sites with a constrained crawl budget.
- Accessible media: the thumbnail and video URLs must not be blocked by robots.txt or require authentication.
- Consistent metadata: the sitemap title and description should match the visible watch page.
- One clear watch page: each video should have a page where it is the main content, not one of many on a listing page.
Video sitemap compared with other discovery methods
A video sitemap is one of three complementary ways to describe videos to search engines. The following table compares it with VideoObject structured data and a standard XML sitemap.
| Method | Where it lives | Main strength |
|---|---|---|
| Video sitemap | Separate XML file | Bulk discovery of many videos |
| VideoObject structured data | Markup on the watch page | Rich results and key moments |
| Standard XML sitemap | Separate XML file | Page discovery without video detail |
| Media RSS feed | Feed file | Syndication and frequent updates |
In practice, structured data and a video sitemap work best together. The markup describes each video on its page, while the sitemap ensures that crawlers find every watch page quickly, including new uploads that are not yet linked from navigation. Like an image sitemap or a news sitemap, it can be a separate file or be merged into an existing one.
Limits and setup decisions
A video sitemap follows the same size limits as any sitemap: at most 50,000 URLs and 50 MB uncompressed per file. Larger libraries are split into several files grouped by a sitemap index, which is submitted in Google Search Console or referenced in robots.txt.
| Situation | Recommended setup | Reason |
|---|---|---|
| Under 50 videos, stable | Video tags in the main sitemap | One file is simpler to maintain |
| Thousands of videos | Dedicated video sitemaps with an index | Easier monitoring and updates |
| Videos on a third-party player | Use player_loc with the embed URL | No direct file access is needed |
| Time-limited content | Set expiration_date | Prevents indexing of expired videos |
Most content management systems and video platforms can generate the file automatically, but generated output still needs review, especially for thumbnails, escaping of special characters and correct watch page URLs.
Common video sitemap errors
Most failures come from inaccessible or inconsistent resources, not from XML syntax. The Video indexing report in Search Console shows which pages have videos that were not indexed and why.
| Symptom | Likely cause | Fix |
|---|---|---|
| No thumbnail could be fetched | Image blocked or returns an error | Allow crawling and serve a valid image |
| Video outside the viewport | Player hidden or below other content | Make the video prominent on the page |
| Video is not the main content | Listing page used as watch page | Create a dedicated watch page |
| Invalid duration | Value in minutes or out of range | Give seconds between 1 and 28,800 |
A plain-language summary
A video sitemap is a list of your videos written for search engines. For each video, it says on which page the video appears, what it is called, what it is about and which picture to show as a preview.
Search engines can find many pages by following links, but videos are often hidden inside players. The sitemap is like a table of contents for a video library, so the search engine does not miss anything and understands what each clip contains.
An example from practice
A cooking school publishes about 1,200 recipe videos, each on its own recipe page, with the player loaded by JavaScript. Search Console shows that only about 300 pages have indexed videos, and many new recipes stay invisible in video results for weeks.
The web team creates two dedicated video sitemaps grouped by a sitemap index, with thumbnails, durations in seconds and descriptions taken from each recipe, and adds matching VideoObject markup. They unblock the thumbnail folder in robots.txt, which had been excluded by an old rule. Within six weeks, the number of indexed videos rises above 1,000, and new recipes appear in video results within a few days of publication.