SEO ToolsTechnical SEOFree Tool

Sitemap Generator

Paste a list of your page URLs and get back a valid XML sitemap, ready to upload and submit to Search Console.

How to Use Sitemap Generator
  1. 1List each page URL on its own line
  2. 2Click Generate
  3. 3Copy the XML output
  4. 4Save it as sitemap.xml at your site root and submit it in Search Console
About Sitemap Generator

How to use it

Paste one full URL per line. The tool wraps each in a <url><loc> entry with today's date as lastmod and outputs a complete XML sitemap using the sitemaps.org namespace. Save it as sitemap.xml in your site root.

Rules to follow

  • Use absolute URLs including https:// and keep to one hostname.
  • List only pages you want indexed. Leave out redirected, noindex and error pages.
  • A single sitemap may hold up to 50,000 URLs or 50 MB uncompressed; larger sites need a sitemap index.
  • URLs with characters such as & must be XML-escaped. This tool does not escape them for you, so check query strings.

About the date

Every entry gets today's date as lastmod, not the true edit date. Google only trusts lastmod when it is accurate, so for a mature site replace the dates with real modification dates or remove them.

After you generate it

Reference the file in robots.txt (see the robots.txt generator) and submit it in Google Search Console. A sitemap helps discovery but does not guarantee indexing.

Frequently Asked Questions

One full URL per line (e.g. https://example.com/page). The generator wraps each line in a <url><loc> entry.

Today's date is applied to every URL, since the tool has no way to know each page's real last-modified date. Edit the XML manually if you need accurate per-page dates.

Google's guideline is 50,000 URLs or 50MB uncompressed per file. If you're near that limit, use the Sitemap Splitter to break it into multiple files plus an index.

Upload sitemap.xml to your site's root and submit its URL in Google Search Console and Bing Webmaster Tools.

Related Tools

More from SEO Tools