XML Sitemap Generator

Generate an XML sitemap from a list of URLs. Paste your addresses, one per line, and copy a standards-compliant sitemap to submit to search engines.

SEO Tools● Free No upload Instant

Loading XML Sitemap Generator…

Your browser is preparing the tool. It runs 100% locally.

Quick answer

Paste your page URLs, one per line, and the tool builds a standard XML sitemap (a urlset with one entry per URL) that you save as sitemap.xml and submit in Search Console. Each entry gets a loc plus lastmod, changefreq and priority. Be aware that it stamps every URL with today's date, weekly and priority 0.8 as placeholders. Google ignores changefreq and priority and distrusts a lastmod that is the same on every page, so edit lastmod to real dates. All of it happens in your browser.

What the XML Sitemap Generator does

Give it a list of URLs and it returns a valid sitemaps.org XML sitemap: the XML declaration, a urlset, and a url entry per address carrying loc, lastmod, changefreq and priority. Save it as sitemap.xml, upload it to your site, and submit it in Google Search Console and Bing Webmaster Tools.

A sitemap helps search engines discover your pages, which is most useful for new sites, large sites, or pages that are not well linked. It does not guarantee indexing: the sitemap lists candidates, and search engines still decide what goes in the index.

How it works

Each line you paste becomes a url block. The tool escapes the address into a loc element and attaches three optional hints: lastmod set to today's date, changefreq set to weekly, and priority set to 0.8. It wraps the lot in a urlset with the sitemaps.org namespace and the XML declaration at the top.

Those three hints are placeholders. Google says it ignores changefreq and priority. It does use lastmod, but only when the dates are accurate, and a sitemap that claims every page changed today is a known warning sign that makes Google stop trusting the field. Edit lastmod to each page's real modification date before relying on it.

Generation algorithm

  1. Split the URLs. Read your list and take one URL per non-empty line.
  2. Escape into loc. Escape each address and place it in a loc element.
  3. Attach the hints. Add lastmod (today), changefreq (weekly) and priority (0.8) to each entry.
  4. Wrap and output. Enclose everything in a urlset with the sitemaps.org namespace and emit the XML to copy.

What it outputs

an XML urlset (sitemaps.org namespace), one url entry per URL: loc — your URL lastmod — today's date (edit to the real date) changefreq — weekly (Google ignores this) priority — 0.8 (Google ignores this)

lastmod is the only one of these hints Google uses, and only when it is accurate. The same date on every URL gets ignored. A single file holds up to 50,000 URLs and 50 MB; beyond that, split into several sitemaps with a sitemap index.

Technical details

InputURLs, one per line
OutputXML sitemap (sitemaps.org urlset)
Per entryloc, lastmod (today), changefreq (weekly), priority (0.8)
lastmodstamped as today; edit to real dates
Per-file limit50,000 URLs and 50 MB
Where it runsIn your browser, nothing uploaded

Standards & references

  • Sitemaps.org protocol: the XML format is a urlset of url entries, each with a required loc and optional lastmod, changefreq and priority.
  • 50,000 URLs and 50 MB: the per-file limit (uncompressed); larger sites split into multiple sitemaps referenced by a sitemap index.
  • Google ignores changefreq and priority: Google has said it does not use these two, and it uses lastmod only when the dates are accurate and consistent.

Accuracy and limits

Every URL gets lastmod set to today. That is the single most common sitemap mistake, because Google treats a lastmod that is identical everywhere and always current as untrustworthy and starts ignoring it. Edit lastmod to each page's real last-modified date, or remove it if you cannot keep it accurate.

changefreq (weekly) and priority (0.8) are filled in for every URL, but Google ignores both outright. They are harmless and valid; just do not expect them to influence crawling or ranking.

One file holds up to 50,000 URLs and 50 MB uncompressed. This tool emits a single flat sitemap, so for a larger site you would split your URLs across several files and reference them from a sitemap index, which this tool does not build.

A sitemap helps discovery but does not force indexing. Google decides what to index on its own: pages in your sitemap can still be left out, and pages not listed can still be indexed.

It does not crawl your site or check the URLs. You supply the list, so make sure each URL is the canonical, indexable version that returns 200 OK. Leave out redirects, noindex pages and blocked URLs.

Where people use it

New sites

Give search engines a complete list of pages before many links point to them.

Submitting to Search Console

Produce a sitemap.xml to submit in Google Search Console and Bing.

Small static sites

Hand-build a sitemap for a site without a CMS plugin to generate one.

Orphan pages

List pages that are not well linked so crawlers can still find them.

When it fits, and when it doesn't

Good for

  • A quick sitemap.xml from a known list of URLs
  • New or small sites without a sitemap plugin
  • Submitting a URL list to Search Console
  • Listing poorly-linked pages for discovery

Not the best choice for

  • Accurate per-page lastmod (it stamps today)
  • Sites over 50,000 URLs (needs a sitemap index)
  • Auto-crawling or updating as the site changes
  • Forcing pages to be indexed

For real lastmod dates that update on their own, use a CMS sitemap plugin or a server-side generator. A site with more than 50,000 URLs needs several sitemaps and an index file.

Frequently asked questions

What is a sitemap for?
It lists your pages so search engines can discover them, which helps new sites, big sites, and pages that are not well linked. It aids discovery but does not force indexing.
Why is lastmod today on every URL?
Today's date is a placeholder, and lastmod is the field to fix. Google distrusts a lastmod that is identical and always current, so edit each one to the page's real modification date, or drop lastmod if you cannot keep it accurate.
Do changefreq and priority matter?
Not to Google, which ignores both. They are valid sitemap elements, but they have no effect on crawling or ranking, so the 0.8 and weekly values can stay as they are.
How many URLs can one sitemap hold?
Up to 50,000 URLs and 50 MB uncompressed. Past that, split into multiple sitemaps and list them in a sitemap index file.
Where do I put the file and how does Google find it?
Save it as sitemap.xml, upload it to your site, then submit it in Google Search Console and reference it from robots.txt. Bing Webmaster Tools works the same way.
Does adding a URL to the sitemap guarantee indexing?
No. A sitemap is a list of candidates. Google decides independently what to index; pages can be listed and still skipped.
Should I list every URL?
Only canonical, indexable, 200-OK pages. Redirects, noindex pages and URLs blocked in robots.txt send mixed signals, so leave them out.
Does the tool crawl my site?
No. You paste the URLs, so the list is only as complete and correct as what you provide.
Can I submit a sitemap with the wrong lastmod?
It is valid XML and will be accepted, but an inaccurate lastmod undermines its usefulness. Either make the dates real or remove them.
Do I need a sitemap if my site is small and well linked?
Not strictly. Google can crawl a small, well-linked site without one. A sitemap still does no harm and helps make sure nothing is missed.
Should the sitemap URLs match my canonicals?
Yes. List the canonical version of each page so your sitemap, canonicals and internal links all agree.
Is anything uploaded?
No. The sitemap is built in your browser; you save and upload it yourself.

References

Emits a standards-compliant sitemaps.org XML sitemap; it is explicit that the lastmod is stamped today and should be edited, and that Google ignores the changefreq and priority it includes.

PopularHot

Meta Tag Generator

Fill four fields and copy a block of head meta tags.

SEOOpen
Popular

Keyword Density Checker

Top words in your content and the share each one takes.

SEOOpen
Popular

UTM Link Builder

Add utm_source, utm_medium and utm_campaign to any URL.

SEOOpen
Trending

Open Graph Generator

Write the og: tags that control link previews on social apps.

SEOOpen
Trending

SERP Snippet Preview

See roughly how a title and description could look in Google.

SEOOpen
Editor's Pick

Schema Markup Generator

schema.org JSON-LD for articles, products, FAQs and more.

SEOOpen

Back to the XML Sitemap Generator

It's free, needs no account, and nothing you enter is sent to a server.