Home / Tools / XML Sitemap Generator

XML Sitemap Generator

Paste one full URL per line to generate a standards-compliant XML sitemap file you can download and upload straight to your site.

xsm.log
waiting for input
Paste one URL per line, then click "Generate sitemap".

What an XML sitemap is for

An XML sitemap is a plain, structured file that lists every URL you want search engines to know about, optionally alongside how often each page tends to change and how important it is relative to the rest of the site. It doesn't force a search engine to index anything, and it isn't a substitute for internal linking or a genuinely crawlable site structure, but it does give crawlers a direct, efficient list to work from rather than relying purely on discovering pages by following links. This matters most for large sites where some pages sit deep in the navigation, and for newer sites that don't yet have many external links pointing at their internal pages.

This generator takes a plain list of URLs, one per line, and wraps each one in the standard sitemap XML format defined by the sitemaps.org protocol that every major search engine supports. Each URL entry can include a last-modified date, a change frequency hint, and a priority value between 0.0 and 1.0. All three of the optional fields are treated as hints rather than instructions — search engines are free to crawl a page more or less often than the changefreq value suggests based on what they actually observe, and priority is only meaningful relative to other pages within the same sitemap rather than as an absolute score.

Choosing sensible values for changefreq and priority

It's tempting to mark every page as "daily" and "1.0" to signal importance, but that defeats the purpose of the fields, since a crawler has no way to tell which pages actually matter if every single one claims to be top priority. A more useful approach is to reserve the highest priority value for a handful of pages that matter most — typically the homepage and a few flagship category or product pages — and use lower values for supporting content like an individual blog post or a rarely updated legal page. Change frequency works the same way: a homepage or news section that's updated constantly can reasonably be marked "daily," while a static About page that hasn't changed in years is more honestly marked "yearly."

The tool validates that every URL begins with "http://" or "https://" before including it, since a sitemap containing relative paths or bare domain names without a scheme isn't valid according to the specification and may be rejected or misread by crawlers. Any line that fails this check is skipped and listed separately below the generated XML, so you can go back and fix the source list rather than uploading a sitemap with silently broken entries.

After you generate the file

Once you've copied or downloaded the sitemap, upload it to your site so it's reachable at a public URL, most commonly at the root as sitemap.xml. From there, reference that URL in your robots.txt file with a "Sitemap:" line (the Robots.txt Generator tool on this site adds that automatically), and submit the sitemap URL directly through your search engine's webmaster tools for the fastest discovery. Large sites with more URLs than fit comfortably in one file can generate several sitemaps by category and list each one on its own line in robots.txt, or reference them all from a single sitemap index file.

Frequently asked questions

Does adding a page to my sitemap guarantee it gets indexed?

No. A sitemap only helps a search engine discover and prioritize URLs to crawl; whether a page is ultimately indexed still depends on its content quality, uniqueness, and whether robots or noindex rules allow it.

What happens if I get the changefreq or priority wrong?

Nothing breaks. Both fields are treated as optional hints by search engines, which use their own observed crawl data to decide actual crawl frequency regardless of what the sitemap suggests.

Can I include URLs from a different domain in one sitemap?

Generally no — a sitemap should only list URLs from the same domain (or subdomain, depending on hosting setup) where the sitemap file itself is hosted, since cross-domain entries are typically rejected by search engines for verification reasons.

Is there a limit to how many URLs I can paste in?

The sitemap protocol caps a single file at 50,000 URLs, though this tool has no artificial limit below that. Very large sites typically split URLs across multiple sitemap files referenced from one sitemap index.