Sitemap Generator
Paste URLs line-by-line, choose default change frequency and priority, then copy the generated XML sitemap.
Inputs
Live GeneratorGenerated output
How this tool helps
What Is an XML Sitemap?
Think of your website as a massive library without an index. Search engine bots (like Googlebot) have to wander the aisles, hoping to stumble across your books by following links from one page to another. If a book does not have incoming links, it might never be found.
An XML sitemap is the exact map of that library. It provides search engines with a direct list of all the URLs you want them to crawl, index, and rank in search results. While it does not guarantee indexation, it drastically improves crawl efficiency and discovery speed.
XML Sitemap Structure Explained
Our free XML sitemap generator creates valid markup following the sitemaps.org standard. Here is what an entry looks like:
<url>
<loc>https://example.com/blog/</loc>
<lastmod>2026-04-16</lastmod>
<changefreq>weekly</changefreq>
<priority>0.8</priority>
</url> - <loc> (Required): The absolute URL of the page. It must begin with the protocol (http/https).
- <lastmod> (Optional): The date the file was last modified. This is the most crucial tag for Google, telling it when to recrawl updated content.
- <changefreq> (Optional): How frequently the page is likely to change.
- <priority> (Optional): The priority of this URL relative to other URLs on your site.
What URLs Belong in Your Sitemap?
A common SEO mistake is putting every single generated URL into the sitemap. Do not do this. Only include URLs you want Google to index. Exclude:
- URLs blocked by robots.txt
- Pages with a "noindex" meta tag (e.g., login screens, admin dashboards)
- Canonicalized pages (parameters, facet filters, or duplicate content)
- Utility pages offering no search value (e.g., password reset pages)
- Empty category pages or tag archives
How to Submit Your Sitemap to Google
- Generate your sitemap using our tool above and copy the XML output.
- Save it as
sitemap.xml. - Upload the file to the root directory of your web server (e.g.,
https://yourdomain.com/sitemap.xml). - Log into Google Search Console.
- Navigate to Sitemaps under the Indexing section.
- Enter
sitemap.xml(or your specific file path) and click Submit.
Next Steps configuration
After uploading your sitemap, your next imperative technical SEO task is giving search engines crawl rules. Use our free robots.txt generator to create your rules file, and crucially, reference your new sitemap URL at the bottom of it.
Got questions?
What is an XML sitemap?
Do I really need a sitemap?
Should every single page be in my sitemap?
How often should I generate a new sitemap?
What do the "priority" and "change frequency" tags do?
What is the maximum size for a sitemap?
How do I submit my sitemap to Google?
Should I put my sitemap in my robots.txt file?
Related Tools
Explore our other free AI and SEO utilities.
Automate Support & Capture Leads
with
AI Agents
Start using AI agents to answer customer questions, capture leads, and support your business 24/7 — without adding more work to your team.
Free trial · Setup in 5 minutes · Cancel anytime
Questions? Talk to us.