Sitemap Generator
Create a valid XML sitemap from a URL list.
Use the Sitemap Generator tool
What this sitemap generator does
Sitemap Generator turns a list of URLs into a valid XML sitemap. Each `<url>` entry can include `<lastmod>`, `<changefreq>` and `<priority>`, and XML-sensitive characters are escaped so an ampersand in a query string does not break the file.
A sitemap is a hint, not a command. It helps crawlers discover pages and understand when they changed, but it does not guarantee indexing. Pages that are blocked, redirected or noindexed should not appear in it.
Why use it
- Create a sitemap for a small static site.
- Explain update dates after a content refresh.
- Replace a broken sitemap generated by an old build.
How to use it
- 1Paste one absolute URL per line.
- 2Set a lastmod date if you know it; leave changefreq and priority alone unless you have a reason.
- 3Copy the XML and save it as sitemap.xml at the site root.
Worked examples
Single page
Input
https://example.com/about/
Output
A urlset with one loc entry and an optional lastmod.
Query string
Input
https://example.com/search?q=a&b=c
Output
The ampersand is escaped as & so the XML stays valid.
Common mistakes
- Listing relative URLs; sitemap loc entries must be absolute.
- Including noindex or redirected pages, which wastes crawl attention.
- Changing lastmod on every build even when content did not change.
Frequently asked questions
How many URLs can one sitemap hold?
Do I still need robots.txt?
Does priority affect rankings?
Related tools
All toolsrobots.txt Generator
Write valid crawl rules without syntax mistakes.
Canonical URL Checker
Spot canonical mismatches before they split ranking signals.
Meta Tag Analyzer
Audit the head of a page for SEO and sharing tags.
SERP Snippet Preview
Preview how a search result will look.