If you host videos on your own site, a video sitemap gives Google the details it needs: the thumbnail, title, description and where the video plays. It’s especially useful for new videos and videos loaded by players Google may struggle to read. But it has stricter rules than a regular sitemap, and a few requirements trip people up.
In short: a video sitemap adds video details to your sitemap. Google requires <video:thumbnail_loc>, <video:title>, <video:description>, and either <video:content_loc> or <video:player_loc> for each <video:video>. The description can be up to 2,048 characters and should match what’s on the page. Duration must be 1 to 28,800 seconds. The player URL must not be the same as the page URL. Google also supports mRSS feeds as an alternative. Facts below were checked against Google Search Central on 5 November 2026. See our hub guide to XML sitemaps.
Required Tags
| Tag | What it is | Rule |
|---|---|---|
| <video:video> | Wraps one video | One per video on the page |
| <video:thumbnail_loc> | Thumbnail image URL | Required |
| <video:title> | Video title | Should match the title shown on the page |
| <video:description> | Video description | Must match the page, maximum 2,048 characters |
| <video:content_loc> or <video:player_loc> | The video file, or the player URL | At least one is required |
Useful Optional Tags
| Tag | Rule |
|---|---|
| <video:duration> | 1 to 28,800 seconds (8 hours) |
| <video:publication_date> | When the video was first published |
| <video:expiration_date> | When it stops being available |
| <video:family_friendly> | Whether it suits SafeSearch |
| <video:restriction> | Countries where it can or can’t be shown |
| <video:requires_subscription> | Whether a subscription is needed |
| <video:uploader> | Up to 255 characters |
| <video:live> | Whether it’s a live stream |
| <video:tag> | Up to 32 per video |
Example
<url>
<loc>https://example.com/how-to-fix-a-tap/</loc>
<video:video>
<video:thumbnail_loc>https://example.com/thumbs/tap.jpg</video:thumbnail_loc>
<video:title>How to Fix a Leaking Tap</video:title>
<video:description>Replace a worn washer in 10 minutes.</video:description>
<video:content_loc>https://example.com/video/tap.mp4</video:content_loc>
<video:duration>600</video:duration>
</video:video>
</url>
Remember to declare the video namespace on the <urlset> element.
content_loc vs player_loc
| content_loc | player_loc | |
|---|---|---|
| Points to | The actual video file | A player for the video |
| Structured data equivalent | VideoObject contentUrl | VideoObject embedUrl |
| Rule | Direct media file | Must not be the same as the page <loc> |
Video Sitemap vs Structured Data vs mRSS
| Option | Best for |
|---|---|
| Video sitemap | Listing many videos across a site in one place |
| VideoObject structured data | Describing the video on its own page |
| mRSS feed | Sites that already publish media RSS feeds |
Many sites use a sitemap plus structured data. Keep both consistent.
What About YouTube Embeds?
Google’s video guidance says video features like video results and Key Moments need a dedicated watch page whose main purpose is that video. A blog post with an embedded YouTube video isn’t a watch page. See our guide on whether embedding YouTube videos helps SEO.
Common Mistakes
- Descriptions that don’t match the page.
- Thumbnails blocked by robots.txt.
- Using the page URL as player_loc.
- Listing videos that need a login without marking requires_subscription.
- Keeping expired videos in the sitemap.
Key Takeaways
- Required: thumbnail, title, description, and content_loc or player_loc.
- Descriptions up to 2,048 characters, matching the page.
- Duration from 1 to 28,800 seconds.
- player_loc must differ from the page URL.
- mRSS is an accepted alternative format.
FAQs
What Is a Video Sitemap?
A sitemap with extra tags describing videos hosted on your pages.
Which Video Sitemap Tags Are Required?
thumbnail_loc, title, description, and either content_loc or player_loc.
How Long Can a Video Sitemap Description Be?
Up to 2,048 characters.
Do I Need a Video Sitemap for YouTube Videos?
YouTube handles its own pages. For your site, focus on watch pages and structured data.
Can I Use mRSS Instead?
Yes. Google supports media RSS feeds.
What Is the Maximum Video Duration?
28,800 seconds, or 8 hours.



