How to use this sitemap generator
Collect the full address of every page you want search engines to know about — homepage, sections, articles, product pages — and paste them one per line. Every line must be a complete URL starting with https://, because that is what the sitemap protocol requires; lines that are not are skipped and named in a warning so you can fix them rather than wonder later why a page is missing. Choose one changefreq and priority to apply across the file (weekly and 0.8 are sensible defaults for a normal site), leave the last-modified date ticked, and the generator writes the XML for you: correct header, correct namespace, special characters escaped, duplicate URLs removed. Copy it or download it as sitemap.xml, put it in your site root, and submit the address in Search Console.
A single set of defaults for every URL is a deliberate simplification. In practice, per-URL priorities are nearly meaningless — search engines treat them as relative hints at best, and Google mostly ignores them. What engines actually use is the list itself and honest lastmod dates, and this tool gets both of those exactly right.
Example output
Paste three URLs — a homepage, an about page and one mistyped line — with weekly changefreq, priority 0.8 and a lastmod date, and the generator returns a file with exactly three <url> entries and a warning about the bad line:
That behaviour was verified with this tool's own code: three valid URLs in, three <url> entries out, one invalid line reported rather than silently embedded. An invalid line inside a real sitemap can make search engines reject the entire file, which is why the warning exists.
What a sitemap actually does
A sitemap is a promise and a map, not a ranking lever. It promises "these are the pages that matter on my site, at these addresses" and it maps them for crawlers that might otherwise miss pages with few internal links — a brand-new article, an orphaned product page, anything deep in a menu. Crawlers still follow ordinary links as their primary method; the sitemap is the safety net and the fast lane for new content. Keep the promise clean: only canonical pages that return a 200 status and are allowed to be indexed. Every junk URL in the file spends a little of the crawler's trust and time, and a file that disagrees with your robots.txt (listing pages it also blocks) is the most common self-inflicted confusion in technical SEO.
After you generate it
Three finishing steps turn the file into results. First, reference it in robots.txt with a Sitemap: line — our Robots.txt Generator has a field for exactly that. Second, submit it in Google Search Console and Bing Webmaster Tools, where both will report how many URLs were read and whether any errored. Third, regenerate whenever the site changes: new page, new entry; deleted page, entry removed. A sitemap that still lists pages deleted a year ago tells crawlers your maintenance is sloppy, and they budget their visits accordingly.
Sitemaps for larger or fast-changing sites
When a site grows past a few thousand pages, or changes daily, a hand-maintained list stops being practical and the sitemap should be generated by the same system that publishes the pages — your CMS, shop platform or static-site generator almost certainly has the feature built in or one plugin away. The rules do not change with scale, only the plumbing: split at 50,000 URLs per file, join the files with a sitemap index, and keep the discipline about what belongs in the list. News and catalogue sites sometimes keep separate sitemaps per section (articles, products, categories) purely so the reports in Search Console show which section has indexing problems. Whether the file is written by a system or pasted together here, judge it the same way: every URL live, canonical, indexable, and dated honestly. A small, accurate sitemap beats a huge, stale one at every size of site.
Frequently asked questions
Where do I put the sitemap.xml file?
In the root of your domain, at yourdomain.com/sitemap.xml. Then submit that address in Google Search Console and Bing Webmaster Tools, and add a Sitemap: line pointing to it in your robots.txt so every other crawler can find it too.
How many URLs can one sitemap hold?
Up to 50,000 URLs or 50 MB uncompressed, whichever comes first. Beyond that, split the list into several sitemap files and list them all in a sitemap index file. Most small and medium sites never come close to the limit — a few hundred URLs is typical.
Do priority and changefreq actually matter?
Less than people think. Google has said it largely ignores priority and changefreq values and instead uses lastmod — when it is accurate — to schedule recrawls. This generator includes all three because Bing and other engines still read them, but the honest lastmod date is the field worth keeping correct.
Which pages should NOT be in my sitemap?
Leave out anything you do not want in search results: pages blocked by robots.txt or marked noindex, redirecting URLs, duplicate or parameter versions of a page, login and checkout pages, and any URL that does not return a clean 200 status. A sitemap is a list of your canonical, indexable pages — including junk teaches crawlers to distrust the whole file.
Why did the generator skip some of my lines?
Lines that are not complete URLs are skipped and listed in a warning, because the sitemap protocol requires full addresses starting with http:// or https:// — a bare path like /about/ would make the whole file invalid. Duplicated URLs are also removed silently: listing the same page twice adds nothing and can look careless to a validator.
Does a sitemap guarantee my pages get indexed?
No. A sitemap guarantees discovery — search engines learn the URLs exist — but indexing is a separate decision based on quality, uniqueness and crawl budget. A page in a sitemap can still be crawled and left unindexed if the engine judges it thin or duplicate. The sitemap gets you considered, not accepted.
How often should I update my sitemap?
Whenever pages are added, removed or meaningfully changed. CMS platforms usually regenerate it automatically; for a hand-built static site, regenerate with this tool whenever you publish something new, and keep the lastmod dates truthful — engines stop trusting lastmod if every page claims it changed today.
What date format does lastmod use?
The W3C date format: YYYY-MM-DD is enough for most sites (2026-12-03), and a full timestamp with timezone is allowed if you need it. This generator writes the plain date you pick, defaulting to today, which is the correct value for a sitemap you have just rebuilt.
Can I include images or videos in a sitemap?
Yes, with extra image and video namespaces and tags inside each URL entry — useful for image search traffic. This generator produces the standard page sitemap, which is what most sites need; add image extensions later only if image search is a real channel for you.