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.
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.
- Paste one URL per line. Include the full address with https://. Blank lines are ignored; invalid lines are listed and skipped.
- 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.
- 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.
- 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
- Only include pages you want indexed. Leave out admin pages, login pages, thank-you pages, duplicates and anything blocked by robots.txt — a sitemap full of junk pages wastes crawl budget.
- Respect the 50,000 URL limit. One sitemap file may hold at most 50,000 URLs and 50 MB uncompressed. Bigger sites split URLs across several sitemaps and list them all in a sitemap index file.
- Keep lastmod accurate. A lastmod that always says "today" is ignored; one that reflects real changes helps Google re-crawl the right pages first.
- Priority is relative, not absolute. It compares pages within your own site only — a 1.0 does not outrank another site's pages. Most pages are fine at 0.5.
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: