Live
Free tool
XML Sitemap Generator
Generate a valid XML sitemap for your website in seconds. Free, no signup, works entirely in your browser.
<?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-08-30</lastmod>
<changefreq>weekly</changefreq>
<priority>0.8</priority>
</url>
<url>
<loc>https://example.com/about</loc>
<lastmod>2026-08-30</lastmod>
<changefreq>weekly</changefreq>
<priority>0.8</priority>
</url>
<url>
<loc>https://example.com/contact</loc>
<lastmod>2026-08-30</lastmod>
<changefreq>weekly</changefreq>
<priority>0.8</priority>
</url>
</urlset>What is an XML sitemap?
An XML sitemap is a machine-readable file that lists every URL on your website you want search engines to crawl and index. Google, Bing and other crawlers use it as a discovery shortcut — especially for larger sites, new domains, or pages with few internal links.
How to use this generator
- Paste your list of URLs (one per line) into the input.
- Optionally set
changefreq(how often the page changes) andpriority(0.0–1.0). - Click generate and copy or download the resulting
sitemap.xml. - Upload it to the root of your domain (e.g.
https://yourdomain.com/sitemap.xml). - Submit it in Google Search Console and reference it in your robots.txt.
Best practices
- Keep each sitemap under 50MB and 50,000 URLs — use a sitemap index for larger sites.
- Only include canonical, indexable URLs (200 status, not
noindex, not blocked in robots.txt). - Update the sitemap when you publish, unpublish, or significantly change pages.
Related tools & guides
- Robots.txt Generator — control which crawlers see your sitemap
- Canonical Tag Generator — signal the preferred URL for duplicates
- JSON-LD Schema Generator — add structured data to indexed pages
- SEO learn hub — deeper guides on technical SEO
FAQs
Do I need a sitemap if my site is small?
Not strictly, but it never hurts. Sitemaps speed up discovery of new pages and help search engines understand your site structure.
Where should I put my sitemap?
At the root of your domain, and referenced in robots.txt with a Sitemap: directive.
Automate everything
GenPressa automates content production, optimisation and internal linking across your whole site.