Extensible Markup Language (XML) sitemaps are the preferred format for search engines like Google.
They provide three main types of information to search engines:
- The list of all the URLs you want to have indexed
- The “lastmod” attribute that informs when the URLs were last updated
- The “hreflang” attribute that reveals local variants of the URLs