331+ free tools. No sign-up. No hidden fees. Explore the toolkit

XML Sitemap Builder

A sitemap is a file that lists every page you want search engines to find, so Google and Bing can crawl your site completely instead of guessing which pages exist. Without one, new or deeply linked pages can take weeks to be discovered — or never be found at all.

Paste your URLs, set lastmod, changefreq and priority, and download a valid sitemap.xml — ready to upload to your site root and submit to Google Search Console.

Every URL must start with http:// or https://. Lines that do not are listed below and skipped.

A hint to crawlers about how often a page changes — not a guarantee of a crawl.

Relative importance within your own site. 1.0 is your most important page; 0.5 is a normal page.

Your Sitemap.xml

Download sitemap.xml

Save to Pinterest

How It Works

A sitemap is an XML file that lists your pages with three optional hints per page: lastmod (when the page last changed), changefreq (how often it changes) and priority (how important it is relative to your other pages). Search engines read it to find pages they might otherwise miss — new pages, pages with few internal links, and pages buried deep in your site structure. A sitemap says which pages exist; structured data says what each page is about — a JSON-LD schema generator builds it.

This builder works only from the URLs you paste here — it does not crawl your site or discover pages on its own. To build a complete sitemap, export your page URLs from your CMS, your analytics, or a site crawler, then paste the full list into the box above. Each line is checked: it must start with http:// or https://, and any line that does not is listed and skipped so the output stays valid.

Worked Example

Two URLs (https://example.com/ and https://example.com/about/), lastmod 2026-11-17, changefreq weekly, priority 0.5, produce exactly this file:

<?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-11-17</lastmod>
    <changefreq>weekly</changefreq>
    <priority>0.5</priority>
  </url>
  <url>
    <loc>https://example.com/about/</loc>
    <lastmod>2026-11-17</lastmod>
    <changefreq>weekly</changefreq>
    <priority>0.5</priority>
  </url>
</urlset>

How to Use This Tool

Paste your URLs and click Generate Sitemap. Copy the text or download the file, then upload it to the root of your site.

  1. Paste one URL per line. Include the full address with https://. Blank lines are ignored; invalid lines are listed and skipped.
  2. Choose a lastmod. Today's date is the default. Use a custom date if your pages last changed on a known day, or omit lastmod entirely — it is optional.
  3. Set changefreq and priority. These apply to every URL in the list. If different pages need different values, generate one sitemap per group and combine the files.
  4. Upload to your site root. The file must live at example.com/sitemap.xml. Then submit it in Google Search Console under Sitemaps and add a Sitemap line to your robots.txt.

Keep your sitemap up to date: regenerate it when you publish or remove pages, and keep the lastmod dates honest — search engines trust accurate lastmod values and ignore ones that never change.

Tips and Practical Advice

Frequently Asked Questions

Where do I put the sitemap.xml file?

At the root of your site: example.com/sitemap.xml. Then submit it in Google Search Console under Sitemaps, and add a Sitemap line to your robots.txt so other search engines find it too.

Does this tool crawl my website to find pages?

No. It builds a sitemap only from the URLs you paste here — it does not crawl your site or discover pages on its own. Export your page list from your CMS, analytics or a crawler, then paste it into the box above.

What is the 50,000 URL limit?

The sitemap protocol allows at most 50,000 URLs and 50 MB (uncompressed) per sitemap file. Larger sites split their URLs across several sitemaps and list them all in a sitemap index file, which is itself submitted to Google.

Does changefreq make Google crawl my pages more often?

No — it is only a hint, and Google has said it largely ignores changefreq. The lastmod date is the more useful signal: keep it accurate and Google will re-crawl changed pages sooner.

Do I need a sitemap if my site is small?

Small sites with good internal linking can be crawled without one, but a sitemap still helps: it tells Google about new pages faster and lists pages that have few or no internal links pointing at them.

Last updated: