Free SEO tool
XML Sitemap Generator
Paste or upload a list of your page URLs and get a valid sitemap.xml file. The tool removes duplicates, flags invalid URLs and dates, and checks the sitemap limits. It does not crawl your site or invent dates.
- Free, no signup
- Up to 50,000 URLs
- Your list is not stored
Add your URLs
One full URL per line. To include a last-modified date, add it after the URL, separated by a comma or tab: https://www.example.com/page, 2026-10-12. Lines starting with # are ignored.
Review and download
Add your URLs above and select Generate sitemap.
Skipped lines
| Line | Content | Problem |
|---|
sitemap.xml
How it works
How to create and submit an XML sitemap
- Collect your URLs
Export the pages you want in search results from your CMS or a spreadsheet.
- Paste or upload
Add accurate last-modified dates only if you have them.
- Review and download
Check the skipped lines and warnings, then download sitemap.xml.
- Upload and submit
Put the file at your site's root, add it to robots.txt and submit it in Google Search Console.
Worked example
Example: cleaning up a short URL list
Input
https://www.example.com/ https://www.example.com/services, 2026-10-12 https://www.example.com/services https://www.example.com/blog/cake-guide#comments www.example.com/contact
The second and third lines are the same page; the fourth has a #fragment; the fifth is missing https://.
Output
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>https://www.example.com/</loc>
</url>
<url>
<loc>https://www.example.com/services</loc>
<lastmod>2026-10-12</lastmod>
</url>
<url>
<loc>https://www.example.com/blog/cake-guide</loc>
</url>
</urlset>
The duplicate is removed (1 duplicate), the fragment is stripped, and the contact line is skipped with the message "Not a full URL. Start with https:// or http://". Only the services page has a lastmod, because it is the only one with a date provided.
Practical guidance
What makes a good sitemap
A sitemap is a list of the pages you want search engines to find. It is most useful for new sites with few links, large sites, and pages that are hard to reach through your navigation. A clean sitemap sends a clear signal; a sitemap full of redirects, errors and duplicates sends a confusing one.
- List canonical URLs only. Use one consistent version (for example https and www) that matches your canonical tags.
- Exclude pages you don't want indexed, such as thank-you pages, login pages, filters and internal search results.
- Keep dates honest. Update lastmod only when the page content changes meaningfully.
- Keep it up to date. If your CMS can generate the sitemap automatically, that is usually better than a static file that you have to maintain.
- Reference it in robots.txt with a line such as
Sitemap: https://www.example.com/sitemap.xml. Our robots.txt generator can add it for you.
The file follows the sitemaps.org protocol: UTF-8 encoding, special characters escaped, full URLs under 2,048 characters, and no more than 50,000 URLs or 50 MB per file.
What this tool does not do
- It does not crawl your website or check whether each URL loads, redirects or is blocked.
- It does not add dates, priorities or change frequencies you did not supply.
- It does not create sitemap index files, image, video or news sitemaps.
XML sitemaps: common questions
More free tools
Related tools
Technical SEO
Pages still not showing up in Google?
We find out why pages are not being crawled or indexed, fix sitemaps, redirects and canonical issues, and set up Search Console properly. Ask us for a free website and SEO review.