What sitemap format should be used for a video platform site like YouTube?

I want to submit our video site's sitemap to Google search.


2 Answers 2


Google has an extension to the Sitemap protocol called the Google Video Sitemap. This is the kind of sitemap you will want to use for a video site.

Read more about Google Video Sitemaps on Google Search Console Help.

Here is the sitemap example they use, which includes all the metadata about each video:

<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
       <video:title>Grilling steaks for summer</video:title>
       <video:description>Alkis shows you how to get perfectly done steaks every
       <video:restriction relationship="allow">IE GB US CA</video:restriction>
       <video:price currency="EUR">1.99</video:price>

Based on YouTube's robots.txt, the sitemap that YouTube itself uses is an XML sitemap. Granted, this may not be the only sitemap they use, just the one they list in their robots.txt file.

Note how the sitemap points to the "yt" subdirectory. That subdirectory is a gateway to other YouTube sites like "YouTube for Developers" and "YouTube Advertise" (which has its own unstyled sitemap). They don't even bother listing the regular website that is so popular and so widely shared. Honestly, unless there is a larger strategy involved here, the sitemap seems a tad random. Maybe they haven't maintained it in a while.

An XML Sitemap does not mean that everything in it will definitely be indexed (this is up to the search engines). Nor does it mean that whatever's not in there will not be indexed. It is a suggestion for search engines to pay specific attention to certain folders and files.

Based on the above, if you create an XML Sitemap, place it at the root (or near the root, in an accessible folder), and list your most important pages (home page, category pages, etc.) the search engines will follow that and index the contents of those folders (like individual videos, posts, etc.). Just make sure those contents aren't noindexed/nofollowed elsewhere in your settings, and the XML Sitemap (or multiple ones, depending on your structure and strategy) should suffice.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.