<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>https://example.com/</loc>
<lastmod>2026-07-04</lastmod>
<changefreq>weekly</changefreq>
<priority>0.8</priority>
</url>
<url>
<loc>https://example.com/about</loc>
<lastmod>2026-07-04</lastmod>
<changefreq>weekly</changefreq>
<priority>0.8</priority>
</url>
<url>
<loc>https://example.com/contact</loc>
<lastmod>2026-07-04</lastmod>
<changefreq>weekly</changefreq>
<priority>0.8</priority>
</url>
</urlset>Why every site needs an XML sitemap
An XML sitemap helps search engines discover new pages faster. Upload it to your root domain, add it to your robots.txt, and submit it to Google Search Console.
Best practices
- Only include canonical, indexable URLs.
- Maximum 50,000 URLs per sitemap file.
- Update
lastmodonly when content actually changes.
Related free tools
Free, private and instant — no signup needed.
Robots.txt Generator
Create a robots.txt file for your website with a simple form.
Meta Tag Generator
Generate SEO-optimised meta tags for any page in seconds.
Broken Link Checker
Check any webpage for broken links and 404 errors.
Slug Generator
Convert any title or phrase into a URL-friendly slug.
Heading Checker (H1–H6)
Check heading structure and hierarchy on any web page.