Use this free XML sitemap generator to build a sitemap.xml file for your website. Enter your site address and the tool crawls it, following internal links and listing every page it finds. You can also paste a list of URLs, or enter your domain once and list only the paths. Choose the optional settings, and copy or download the finished file. In the two paste modes everything stays in your browser. In crawl mode our server fetches your pages for you.
A sitemap helps search engines find your pages, but it does not guarantee they will be crawled or indexed. List only the pages you want people to find in search results.
How to use the sitemap generator
- Choose a mode: use Crawl my site to find pages automatically, Paste URLs to enter full addresses, or Site address + paths to type your domain once and list only the paths.
- Crawl or add pages: for a crawl, enter your website address and press Crawl site. You can watch the page count grow and press Stop at any time to keep what was found so far.
- Choose the settings: set the page limit, decide whether to follow links with parameters, and add lastmod, change frequency, or priority if you want them.
- Check the notes: the tool reports how many pages it checked and why pages were left out, and flags mixed hosts, mixed http and https, and files over the size limit.
- Copy or download: save the file as sitemap.xml, upload it to the root of your site, then submit it in your search console.
What this tool does and does not do
In crawl mode the tool fetches your pages one at a time, reads the HTML the server sends, and follows links to other pages on the same host. It obeys the rules for all crawlers in your robots.txt file, skips images, documents, and other files, and checks up to 500 pages per crawl. It does not run JavaScript, so links that only appear after a script runs are not found. Pages that no other page links to will not be found either. It cannot see pages behind a login, and sites that block automated requests may return errors instead of pages. For very large sites, build the sitemap from a list of URLs exported from your CMS or database. The tool does not create image, video, or news sitemaps. It warns you when a list passes 50,000 URLs or 50 MB, but it does not split the file or build a sitemap index for you. The preview shows the first 100 entries, and the copy and download buttons include all of them.
Sitemap tags at a glance
| Tag | What it does | Example |
|---|---|---|
| urlset | Wraps the whole file and names the sitemap standard. | <urlset> |
| url | Holds the details for one page. Each page gets its own entry. | <url> |
| loc | The full address of the page. This is the only required tag. | https://example.com/about |
| lastmod | The date the page last changed in a meaningful way. Optional. | 2026-11-22 |
| changefreq | A hint about how often the page changes. Google ignores it. | weekly |
| priority | A value from 0.0 to 1.0 for how important a page is within your site. Google ignores it. | 0.8 |
List only pages that return a 200 status, are not blocked, and are not set to noindex. A sitemap full of redirects and errors wastes crawl time and sends mixed signals.
Worked examples
Crawling a small website
Choose Crawl my site, enter https://example.com, and press Crawl site. The tool reads the home page, follows each internal link, and builds the list as it goes. When it finishes, review the notes, copy the file, and upload it as sitemap.xml.
Building a sitemap from a list
Choose Paste URLs and paste your addresses, one per line. This works well for large sites where you can export every page from your CMS, or for pages that no link points to.
Adding paths to your site address
Choose Site address + paths, enter https://example.com, and list paths such as /, /about, and /blog/my-post. The tool adds each path to the address, so you do not have to type the domain on every line.
Common sitemap mistakes
- Listing pages that redirect or return errors. Use the final address that loads with a 200 status.
- Including noindex or blocked pages. A sitemap says "find this page", while noindex and robots.txt say the opposite.
- Mixing hosts or protocols. Keep every address on one host and use https throughout. A sitemap can only list addresses from its own site.
- Listing parameter and duplicate URLs. List the clean version of each page.
- Using an inaccurate lastmod. Setting every page to today's date teaches search engines to ignore the field.
- Passing the size limit. One file holds up to 50,000 URLs and 50 MB. Split larger sites into several files.
- Trusting a crawl to find everything. A crawler only finds pages that are linked. Compare the result with your CMS if pages are missing.
- Forgetting to submit it. Add the sitemap to robots.txt and submit it in your search console.
Frequently asked questions
What is an XML sitemap?
An XML sitemap is a file that lists the pages of a website that you want search engines to find. It helps crawlers discover new and updated pages, especially on large sites or sites with few internal links.
Does this tool crawl my website?
Yes, in Crawl my site mode. It starts at the address you enter, follows internal links on the same site, and lists the pages it finds. It reads the HTML the server sends, so links added by JavaScript are not found.
How many pages can it crawl?
Up to 500 pages in one crawl. Choose 50, 100, 250, or 500. For larger sites, build the sitemap from a list of URLs from your CMS or database instead.
Why are some pages missing from my crawl?
A page is left out if no crawled page links to it, if robots.txt blocks it, if it is marked noindex or names a different canonical URL, if it returns an error, or if its link is added by JavaScript. Pages with parameters are skipped by default.
Where do I put the sitemap file?
Upload it to the root of your site so it loads at an address such as https://example.com/sitemap.xml. Then add a Sitemap line to your robots.txt file and submit the address in your search console.
How many URLs can one sitemap hold?
A single sitemap file can hold up to 50,000 URLs and must be no larger than 50 MB uncompressed. Larger sites split their URLs across several sitemap files and list them in a sitemap index file.
Do I need priority and change frequency?
No. Both are optional. Google says it ignores them, so you can leave them out. The only required tag for each page is the loc address.
Does a sitemap guarantee my pages will be indexed?
No. A sitemap helps search engines find pages, but it does not force them to crawl or index those pages. Page quality, duplicates, and other signals still decide what appears in results.
Is the Xornex XML Sitemap Generator free?
Yes. The generator is free to use online, and you can copy or download the file without creating an account.
Is the information I enter stored?
In Paste URLs and Site address + paths modes, everything stays in your browser. In Crawl my site mode, the address is sent to the Xornex server so it can fetch your pages. The tool does not store the address or the pages it reads.