Free generator

Free Sitemap Generator

Build a Google-ready sitemap.xml in 30 seconds. Paste your URLs, copy the result, upload to your site.

<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
  <url>
    <loc>https://yourbusiness.com/</loc>
    <lastmod>2026-08-09</lastmod>
    <changefreq>monthly</changefreq>
    <priority>1.0</priority>
  </url>
  <url>
    <loc>https://yourbusiness.com/about</loc>
    <lastmod>2026-08-09</lastmod>
    <changefreq>monthly</changefreq>
    <priority>0.8</priority>
  </url>
  <url>
    <loc>https://yourbusiness.com/services</loc>
    <lastmod>2026-08-09</lastmod>
    <changefreq>monthly</changefreq>
    <priority>0.8</priority>
  </url>
  <url>
    <loc>https://yourbusiness.com/contact</loc>
    <lastmod>2026-08-09</lastmod>
    <changefreq>monthly</changefreq>
    <priority>0.8</priority>
  </url>
  <url>
    <loc>https://yourbusiness.com/blog</loc>
    <lastmod>2026-08-09</lastmod>
    <changefreq>monthly</changefreq>
    <priority>0.8</priority>
  </url>
</urlset>

How to use this sitemap

  1. Copy the XML above.
  2. Save it as sitemap.xml in your site's root folder.
  3. Verify it loads at https://yourbusiness.com/sitemap.xml.
  4. Submit it in Google Search Console under "Sitemaps".
  5. Add this line to your robots.txt: Sitemap: https://yourbusiness.com/sitemap.xml

Frequently asked questions

An XML file listing every page on your site that you want Google to know about. It speeds up discovery and indexing. Place it at yourdomain.com/sitemap.xml.
Keep learning

Related guides

Free, plain-English walkthroughs that pair with this tool.

Keep going — related pages

Or browse all free SEO tools, read the blog, or get in touch.

Learn: Sitemap Generator

Everything worth knowing, in plain English

What a sitemap does for a site nobody links to yet

Google finds pages by following links. If your site is new, or a page sits four clicks deep with no internal links pointing at it, discovery can take weeks. An XML sitemap is a direct list handed to the crawler: here is every URL I consider worth indexing, and here's when it last changed.

It doesn't force indexing. Google decides what's worth keeping based on quality and demand. What a sitemap reliably does is shorten discovery time and give you a clean diagnostic in Search Console — submitted versus indexed is the single fastest way to see how much of your site Google actually wants.

Which URLs belong in it — and which absolutely don't

Include only canonical, indexable, 200-status pages. Exclude redirects, 404s, noindexed pages, paginated duplicates, internal search results, tag archives with one post, and anything blocked in robots.txt. A sitemap full of non-indexable URLs is a contradictory signal, and Search Console will report it as a coverage error.

Skip the priority field for most sites — Google has said it largely ignores it. Keep lastmod accurate or leave it out entirely. A sitemap where every URL claims it changed today teaches the crawler to ignore the field.

Size limits and when to split into an index file

A single sitemap holds up to 50,000 URLs or 50MB uncompressed. Past that, create multiple sitemaps and a sitemap index that references them. Even well under the limit, splitting by content type — pages, blog posts, products — is worth doing, because Search Console reports indexation per sitemap and you can immediately see which section Google is ignoring.

Reference the sitemap in robots.txt with its absolute URL, and submit it once in Search Console. After that, Google re-fetches on its own schedule; resubmitting daily does nothing.

Reading the submitted-versus-indexed gap

A small gap is normal. A large one is the most useful SEO signal you'll get for free. If you submitted 200 URLs and 40 are indexed, the problem is almost never the sitemap — it's thin content, near-duplicate pages, or a site with too little authority to justify the crawl.

Work the "Why pages aren't indexed" table in Search Console top to bottom. "Discovered — currently not indexed" usually means quality or crawl budget. "Crawled — currently not indexed" means Google looked and wasn't impressed. Both are fixed with better pages, not a better sitemap. Use our site audit tool to find which pages are the weak ones.