Let's Talk

Tell us about your project and we'll get back to you within 24 hours.

Free Tool

Video Sitemap Generator

Enter your video details and get a valid Google video-sitemap.xml with the correct <video:video> markup — copy-ready, downloadable, and validated.

Video 1
video-sitemap.xmlxml

Help Google find and rank your videos

Search engines can’t always discover videos embedded on your pages — especially ones loaded by JavaScript or hosted off-site. A video sitemap spells it out for them: for each video it provides the page it lives on, a thumbnail, a title and description, the video or player URL, and metadata like duration and publish date. That improves your odds of showing up in video search and video rich results.

Field guide

  • Page URL — the page the video is embedded on (not the video file).
  • Thumbnail — a preview image URL (required).
  • Title & description — concise, accurate, keyword-aware.
  • Content URL or Player URL — the raw file (content_loc) and/or an embed (player_loc); at least one is required.
  • Duration / publication date / family-friendly — recommended extras that strengthen the entry.

Build your file here, download video-sitemap.xml, then submit it in Google Search Console.

Video sitemap example

Here is a complete video sitemap XML entry for one video. Each page with video gets its own <url> block, and a page with several videos gets one <video:video> element per video inside that block. Note the extra xmlns:video namespace on <urlset>: without it, Google cannot read the video tags.

<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
        xmlns:video="http://www.google.com/schemas/sitemap-video/1.1">
  <url>
    <loc>https://www.example.com/videos/how-to-prune-roses</loc>
    <video:video>
      <video:thumbnail_loc>https://www.example.com/thumbs/prune-roses.jpg</video:thumbnail_loc>
      <video:title>How to Prune Roses in Spring</video:title>
      <video:description>A step-by-step guide to pruning rose bushes for healthier spring growth.</video:description>
      <video:content_loc>https://www.example.com/media/prune-roses.mp4</video:content_loc>
      <video:player_loc>https://www.example.com/embed/prune-roses</video:player_loc>
      <video:duration>412</video:duration>
      <video:publication_date>2026-03-14T08:00:00+00:00</video:publication_date>
      <video:family_friendly>yes</video:family_friendly>
    </video:video>
  </url>
</urlset>

Video sitemap tags: required and optional

TagRequired?What it holds
locYesThe page the video is embedded on
video:thumbnail_locYesURL of the preview image
video:titleYesThe video title
video:descriptionYesA description of up to 2,048 characters
video:content_loc or video:player_locAt least oneThe raw video file, or the URL of an embeddable player
video:durationRecommendedLength in seconds, from 1 to 28,800 (8 hours)
video:publication_dateRecommendedFirst publish date in W3C format
video:expiration_dateOptionalWhen the video stops being available
video:family_friendlyOptionalyes or no
video:liveOptionalyes for a live stream

How to submit a video sitemap to Google

  1. Upload the file to your site, usually at the root, for example https://www.example.com/video-sitemap.xml.
  2. Check it with the XML Sitemap Validator to catch malformed URLs or missing tags before Google does.
  3. Reference it in robots.txt with a line such as Sitemap: https://www.example.com/video-sitemap.xml, or list it inside your sitemap index.
  4. Submit it in Search Console under Indexing > Sitemaps, then watch the Video pages report to see which videos Google has indexed.

Frequently Asked Questions