Skip to content

XML Sitemap Generator

Paste your URLs and get a valid sitemap.xml file.

How to use the sitemap generator

Three steps, all in your browser.

  1. 1

    Paste your URLs

    Add the URLs you want crawled, one per line.

  2. 2

    Set the rules

    Add rules or URLs. The result updates instantly.

  3. 3

    Copy the result

    Copy what you need in one click. Nothing is saved or sent anywhere.

XML Sitemap Generator: what to know

An XML sitemap lists the URLs you want search engines to crawl. The sitemap generator turns a list of URLs, one per line, into a valid sitemap.xml file following the sitemaps.org protocol: the urlset with the right namespace, a loc for each URL, characters such as & escaped, and an optional lastmod date. Download the file, upload it to your site's root and submit it in Search Console.

Google uses lastmod when it's consistently accurate, as a hint about which pages changed and should be recrawled. It ignores changefreq and priority, so they don't need to be set. A single sitemap may hold up to 50,000 URLs and 50 MB uncompressed; for longer lists the generator splits the URLs across several files and writes a sitemap index that lists them.

Only include canonical URLs that return 200 and are meant to be indexed: no redirects, no noindex pages, no URLs blocked in robots.txt and no tracking-parameter variants. A sitemap helps discovery, especially for new sites and pages with few internal links, but it doesn't guarantee indexing. Point to it from robots.txt with a Sitemap: line so every crawler can find it.

Popular uses

  • Creating a sitemap for a small static site
  • Building a sitemap from a crawl export or spreadsheet
  • Submitting new pages after a launch
  • Preparing a URL list for a site migration

Tips for the best result

  • Use absolute URLs with the same protocol and host as your canonical pages.
  • Leave lastmod out rather than setting every page to today's date.
  • Generate sitemaps automatically from your CMS when the site changes often.

Learn more

Read how JustYourSEO works and our privacy details. Text, HTML and images you use here are processed in your browser and are never sent to our server.

Frequently asked questions

You can, but Google ignores both. It does use lastmod when the dates are consistently accurate, so only include lastmod if it reflects real changes to the page's content.

Up to 50,000 URLs and 50 MB uncompressed, per the sitemaps.org protocol. Larger sites split them across several sitemaps and list those in a sitemap index file.

Only canonical, indexable URLs that return 200: no redirects, no noindex pages, no duplicates with tracking parameters. A sitemap is a hint about what you want crawled, not a guarantee of indexing.

No. The text, HTML, files and images you paste or open are processed on your device and are not sent to our server or stored. The five URL tools (SEO audit, indexability checker, redirect checker, HTTP header checker and broken link checker) are the exception: they send the URL you enter to our server, which requests that public page (and, for the broken link checker, each link on it) and returns what it received to your browser to check. The URL and the page aren't stored or logged. The optional Import from URL in the meta tag, Open Graph and Twitter card generators works the same way.

Yes. Every tool is free with no sign-up and no limits on use. Clearly labeled ads keep it that way.

They help you get the details right: tags that are complete and valid, previews that read well, files crawlers can parse. No tool can guarantee rankings; those depend on your content, your site and how search engines evaluate them.