Sitemap Generator

Generate XML sitemaps to help search engines crawl and index your pages. Add URLs with priority and change frequency for better SEO control.

URL 1

Generated sitemap.xml

<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
</urlset>

A sitemap is a map, not a magic wand. Build it to help Google, not to beg it.

A sitemap doesn't get pages indexed. Google decides what gets indexed. A sitemap just tells it where to look. That distinction trips up almost everyone the first time they read about XML sitemaps, and it keeps tripping people up years later when they wonder why a freshly submitted sitemap didn't move the needle. The job of this file is narrow: list canonical URLs you actually want crawled, and signal when they changed. That's it. If a URL is thin, duplicate, or blocked, no sitemap entry will save it.

This tool generates a clean XML sitemap that follows the sitemaps.org protocol — the same spec Google, Bing, and Yandex have agreed on since 2006. You paste in URLs or let it parse a list, set a lastmod date if you have one, and download a file you can drop at /sitemap.xml. Nothing more. No fake authority scores, no padded changefreq values pretending to influence crawl priority. Google publicly stopped trusting changefreq and priority years ago. We include the fields because the spec allows them, but treat lastmod as the only one that actually matters.

Where this matters most is large or fragmented sites. The protocol caps each file at 50,000 URLs or 50MB uncompressed, so anything bigger needs a sitemap index — a parent file that points to multiple child sitemaps. Most CMSes get this wrong by listing every paginated archive, every tag page, every author archive that nobody asked for. Your sitemap should contain the URLs you would defend in a meeting. If a URL doesn't earn a spot in the sitemap, ask why it exists at all.

The other thing people miss: a sitemap is a discovery aid, not a ranking signal. Submitting it in Search Console helps Google find new or updated URLs faster, especially on sites with weak internal linking. It does not boost rankings. It does not override noindex. It does not unblock a robots.txt Disallow. If your indexing problem is content quality or duplication, a sitemap is the wrong tool. If it's discovery — a new section, a stranded URL set, a site relaunch — a sitemap is exactly the right tool.

One last thing to internalize before you generate the file: keep your sitemap honest. If a URL 404s, returns a 301, or has a canonical pointing elsewhere, take it out. Google has said for years that a sitemap full of non-canonical or broken URLs lowers its trust in the whole file. Treat the sitemap as a curated list of your best, live, canonical pages. That's the version that earns crawl attention.

When the Sitemap Generator is the right tool

How to use the Sitemap Generator

Build a valid sitemap.xml for your website.

  1. Enter your homepage URL

    The crawler walks internal links to discover pages.

  2. Review and adjust priorities

    Tune changefreq and priority per URL group before exporting.

  3. Download and submit

    Upload sitemap.xml to your domain root and submit it in Google Search Console.

Mistakes we see all the time

Sitemap Generator — Frequently Asked Questions

Does it crawl my site automatically?
Yes — enter your homepage URL and it discovers internal links to build sitemap.xml.
Does the output follow the sitemap protocol?
Yes. It produces sitemaps.org-compliant XML with <loc>, <lastmod>, <changefreq>, and <priority>.
Is there a URL limit per sitemap?
Each file caps at 50,000 URLs and 50MB; the tool splits and creates a sitemap index automatically.
Should I gzip my sitemap?
You can. The protocol allows .xml.gz and Google handles it fine. It only matters when you're close to the 50MB uncompressed limit or serving very large files. For most sites under 10,000 URLs, plain XML is simpler and easier to debug.
Do I need to include images and video in the sitemap?
Only if image or video search traffic matters to your business. The image and video sitemap extensions give Google extra metadata it would otherwise have to infer. For a typical content site, the standard URL sitemap is enough.
Where should I host the sitemap file?
At the root of the domain it covers, usually /sitemap.xml. A sitemap can only reference URLs on the same host it lives on, unless you verify cross-host ownership in Search Console. Don't put it on a CDN subdomain by accident.
How often should I regenerate it?
On publish or update is ideal. If that's not possible, a nightly rebuild is plenty for most sites. Anything more aggressive than hourly is theater — Google isn't re-fetching your sitemap every five minutes.
Does submitting a sitemap to Google force re-indexing?
No. It triggers discovery, not indexing. Google still decides whether each URL is worth indexing based on quality, duplication, and crawl budget. A sitemap submission is a hint, not a command.
What's the difference between a sitemap and a sitemap index?
A sitemap lists URLs. A sitemap index lists sitemaps. You use an index file when you've split your URLs across multiple sitemaps — usually because you've crossed the 50,000-URL or 50MB cap, or you want to group by section for easier diagnostics.
Can I reference the sitemap in robots.txt instead of submitting it in Search Console?
Yes, with a Sitemap: line in robots.txt. Most crawlers pick it up that way, and it's the right move for Bing and others. But submit it in Search Console too, because that's how you get coverage reports and error diagnostics you can't see otherwise.

Treat your sitemap like a guest list, not an inventory. The URLs you include should be the ones you actually want crawled, indexed, and ranked. Everything else is noise that lowers Google's confidence in the whole file. Generate it, keep it clean, update it when things actually change, and stop expecting it to do work that belongs to your content.

Related free SEO tools