What is a video sitemap?
A video sitemap is an XML sitemap with extra tags that describe the videos on your pages. A normal sitemap only tells Google that a page exists; a video sitemap also tells it there is a video on this page, what it is called, what it is about, which thumbnail to show and where the video can be played. Google uses this information to index your videos and show them in the Videos tab, in video carousels and with a thumbnail next to your search result.
Here is what one entry looks like:
<url>
<loc>https://example.com/how-to-bake-bread</loc>
<video:video>
<video:thumbnail_loc>https://example.com/thumbs/bread.jpg</video:thumbnail_loc>
<video:title>How to Bake Bread at Home</video:title>
<video:description>A simple step-by-step bread recipe for beginners.</video:description>
<video:player_loc>https://www.youtube.com/embed/VIDEO_ID</video:player_loc>
<video:duration>420</video:duration>
</video:video>
</url>
How to create a video sitemap
- Choose a method. Scan website crawls your pages and detects videos automatically. Add videos manually lets you type the details for each video, or import many at once from a list or a CSV file — useful when your player is not detected.
- Enter your website or video details. For a scan, enter your homepage URL and how many pages to check. For manual entry, add the page URL, title, description, thumbnail, and the video file or player URL — and, if you like, the optional details under More options.
- Generate and download. You get a valid
video-sitemap.xmlin Google’s video sitemap format, with one<video:video>entry for every video. - Upload and submit. Upload the file to your site’s root folder, then submit
video-sitemap.xmlin Google Search Console under Indexing → Sitemaps (see how to submit a sitemap), or add it to your sitemap index. Want to double-check it first? Click Validate this file in the Sitemap Checker under your result.
Video sitemap tags explained
| Tag | Required? | What it is |
|---|---|---|
video:thumbnail_loc | Yes | The URL of the thumbnail image (at least 60×30 px; 160×90 px or larger recommended). |
video:title | Yes | The video’s title — keep it the same as the title shown on the page. |
video:description | Yes | A short description, up to 2,048 characters. |
video:content_loc | One of the two | The direct URL of the video file, e.g. an .mp4. |
video:player_loc | One of the two | The URL of the embed player, e.g. a YouTube or Vimeo embed link. |
video:duration | Recommended | Length in seconds (1 to 28,800). |
video:publication_date | Optional | When the video was first published, e.g. 2026-11-20. |
video:expiration_date | Optional | When the video will no longer be available. |
video:tag | Optional | Short keywords for the video — up to 32 tags. |
video:family_friendly | Optional | yes or no — whether the video suits SafeSearch. |
video:restriction | Optional | Countries where the video may (or may not) be shown, as 2-letter codes like PK AE GB. |
video:requires_subscription | Optional | yes if viewers need a paid subscription. |
video:live | Optional | yes for a live stream. |
Our generator supports all of these tags and writes them in the order Google’s format requires. Only the first five are needed for a valid entry.
Which videos does the scanner find?
YouTube
Standard and privacy-enhanced (youtube-nocookie) embeds, with the official thumbnail added automatically.
Vimeo
Embedded Vimeo players on your pages, added to the video sitemap with the page title and a thumbnail.
Wistia & Dailymotion
Wistia and Dailymotion video embeds are detected too and added with the page title and a thumbnail.
Self-hosted video
HTML5 <video> tags, with the video file URL and its poster image used as the thumbnail.
Note: A video sitemap lists videos on your own pages. If you embed a YouTube video in your blog post, the sitemap helps Google show your page for that video. YouTube already takes care of its own watch pages.
Bulk import YouTube videos
Have many videos? Open Add videos manually and use Bulk import. Paste one video per line as page URL, YouTube link — the YouTube player address and thumbnail are filled in for you, and any missing title or description is highlighted so you can add it. Watch links, short youtu.be links, Shorts and live links all work.
For full control, upload a CSV file instead. Download the template from the import box: it has a column for every tag above, from page_url, title and description to tags and restriction_countries. You can import up to 500 videos at once and check every row before creating the sitemap.
Do you need a video sitemap?
Google can often find videos without one, but a video sitemap is strongly recommended when:
- videos are a main part of your content (tutorials, courses, product demos, recipes, reviews);
- your videos load with JavaScript or in a lazy-loaded player that Google may not see;
- you have a new website, or many pages with video that are not well linked;
- you want better control over the title, description and thumbnail Google uses.
Why Google may not show your video
A video sitemap helps Google find your videos, but Google still decides whether to show them. The two most common reasons a video is not shown:
- The page is not a watch page. Google mainly shows video results for pages where the video is the main content — not for pages where it is a small extra next to a long article. Search Console reports this as “Video isn’t on a watch page”. Here is how to fix “Video isn’t on a watch page”.
- Structured data problems. Missing or invalid
VideoObjectdetails — such as no thumbnail or a wrong upload date — stop rich results. See how to fix “Videos structured data issues detected”.
Video sitemap best practices
- One page, one main video. Google indexes the most prominent video on each page — make sure it is clearly visible, not hidden in a tab.
- Use unique titles and descriptions that match the text on the page. Avoid copying the same description for every video.
- Thumbnails must be crawlable. Don’t block the thumbnail folder in robots.txt, and use JPG, PNG or WebP images.
- Keep it up to date. Remove videos you have deleted and add new ones — re-run the scan after publishing.
- Add structured data too.
VideoObjectschema on the page and a video sitemap work best together.
Video sitemap or video tags in your main sitemap?
Both are valid. Most sites keep a separate video-sitemap.xml because it is easier to manage and you can see its status on its own in Search Console. If you use a sitemap index, simply add the video sitemap to it; otherwise submit it in Search Console next to your normal sitemap. Need the normal sitemap as well? Create it with our XML Sitemap Generator, and validate both files with the Sitemap Checker.
Further reading: once your video sitemap is online, follow our guide to submit it to Google Search Console, and learn how to create an XML sitemap for the rest of your site.