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.