Sitemap generator
Turn a list of URLs into a valid XML sitemap.
Free, no signup, and it runs entirely in your browser.
Output
Paste some URLs to build a sitemap.About this tool
A sitemap is a list of the URLs you want crawled, and almost nothing else about it matters. The two ways it commonly breaks are an unescaped ampersand in a query string, which makes the whole file unparseable, and quietly exceeding the fifty-thousand-URL limit, at which point a search engine stops reading rather than telling you.
- Ampersands and angle brackets are escaped. A single raw & in a URL invalidates the document, and Search Console reports it as "could not read" rather than pointing at the line.
- One file holds 50,000 URLs or 50MB uncompressed. Past that you need several files and a sitemap index — the tool warns you rather than emitting something a crawler will truncate.
- Priority is relative to your own pages only. It does not affect your ranking against anyone else, which is the most common misunderstanding about it.
- Only include URLs that return 200 and are not blocked by robots.txt or marked noindex. Listing a page you have told crawlers to ignore is a contradiction Search Console will report.
Questions
- How many URLs can one sitemap have?
- 50,000, or 50MB uncompressed, whichever comes first. Beyond that, split into several files and list them in a sitemap index.
- Does changefreq or priority affect ranking?
- No. Google has said it largely ignores both. Priority expresses relative importance among your own pages; it does not compete with other sites.
- Where should the sitemap live?
- Anywhere, as long as you reference it from robots.txt. The root is conventional because crawlers guess /sitemap.xml when nothing tells them otherwise.