Config Files · 1 file
Sample sitemap.xml File
XML sitemaps list a site’s URLs for search engines. Our sample is realistic and valid for its tool, with fake hosts and secrets.
sitemap.xml · 847 B
sitemap.xml
An XML sitemap with lastmod, changefreq and priority, plus image and hreflang alternate extensions. All hosts, keys and secrets are fake.
CC0 · free for any use · Verified by an independent tool · Report a problem
<?xml version="1.0" encoding="UTF-8"?>
<!-- Sample sitemap — samplefiles.com -->
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:image="http://www.google.com/schemas/sitemap-image/1.1" xmlns:xhtml="http://www.w3.org/1999/xhtml">
<url>
<loc>https://example.com/</loc>
<lastmod>2026-01-15</lastmod>
<changefreq>daily</changefreq>
<priority>1.0</priority>
<xhtml:link rel="alternate" hreflang="de" href="https://example.com/de/"/>
</url>
<url>
<loc>https://example.com/products/sample-widget</loc>
<lastmod>2026-01-10</lastmod>
<image:image><image:loc>https://example.com/images/widget.jpg</image:loc></image:image>
</url>
<url>
<loc>https://example.com/about</loc>
<lastmod>2025-11-02</lastmod>
<changefreq>yearly</changefreq>
<priority>0.3</priority>
</url>
</urlset>File details
Download from the command line
curl -L -o sitemap.xml https://files.samplefiles.com/config/sitemap-xml/sitemap.xmlwget https://files.samplefiles.com/config/sitemap-xml/sitemap.xmlhttps://files.samplefiles.com/config/sitemap-xml/sitemap.xmlprintf '%s %s\n' 9326aee38ac2eeef3e7a80b6cf2b377ab6b930559698567fab0420b362462fc5 sitemap.xml | shasum -a 256 -cOr check the download in your browser with the checksum calculator.