Sitemap builder
Paste a list of URLs and get a valid sitemap.xml, with optional last-modified dates, change frequency and priority.
URLs, one per line
Optional tags
sitemap.xml
When to use it
You run a site and want search engines to find every page. Paste your list of URLs and download a sitemap.xml that follows the rules.
What goes in a sitemap
A sitemap is an XML file listing the pages you want crawlers to know about. Each entry needs only a <loc>: the page's full URL. The protocol sets fixed limits. A file holds at most 50,000 URLs and 50 MB. Every URL must be absolute, on the same host as the sitemap, and no longer than 2,048 characters. Past 50,000 URLs you publish several files and a sitemap index that points at them. This tool writes those for you.
The optional tags, honestly
<lastmod>is the one that matters. Google uses it when it's consistently accurate, so only set it if you know the date.<changefreq>and<priority>are ignored by Google. Other crawlers may read them as hints.
Publishing it
Upload the file to the root of your site. Then tell crawlers where it is, with a Sitemap: line in robots.txt or through the search engine's webmaster console. Characters such as & in a URL are escaped in the XML for you.
Scraping a site rather than running one? Its sitemap is often the cheapest way to list every page without crawling. Check /robots.txt for its address.
Questions people ask
How do I create a sitemap.xml?
Paste your URLs one per line, choose whether to add dates, and download the file. Put it at the root of your site and name it in robots.txt.
How many URLs can a sitemap hold?
50,000 URLs or 50 MB uncompressed, whichever comes first. Beyond that you split it into several files and list them in a sitemap index.
Do changefreq and priority matter?
Not much. Google has said it ignores both. An accurate lastmod is the one optional field that search engines do use.
How do I tell search engines about my sitemap?
Add a line reading Sitemap: followed by the full address to your robots.txt, and submit it in Google Search Console and Bing Webmaster Tools.
Related tools
All tools →Get started
Blocked by bot protection? $5 is 5,000 solves.
No subscriptionCredit never expiresFailed solves are free