When to use the XML Sitemap Generator
Small static sites
Create a sitemap for a hand-built website that has no CMS to make one automatically.
Landing page collections
List campaign pages that are not linked from your main navigation so search engines can find them.
After a site migration
Submit a fresh list of new URLs to help search engines discover them quickly.
Checking a URL list
Remove duplicates and invalid lines from a spreadsheet of URLs before submitting.
Features and benefits
- Follows the sitemaps.org 0.9 protocol
- Removes duplicates and skips invalid lines
- Escapes special characters such as & in URLs
- Warns when URLs from several domains are mixed
Example
https://www.example.com/ https://www.example.com/about/
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"> <url><loc>https://www.example.com/</loc></url> …
How the XML Sitemap Generator works
You paste one URL per line. ConvertNest trims each line, skips blanks and anything that is not a valid http or https address, removes duplicates and escapes special characters such as & so the XML is valid. Each URL becomes a url entry with an optional last-modified date, change frequency and priority, wrapped in a urlset that follows the sitemaps.org 0.9 protocol.
A real-life example
A photographer’s portfolio is a simple HTML site with 35 pages, and Google has indexed only 12 of them. He exports his page list from his file manager, pastes the URLs into the generator and adds today’s date as lastmod. He uploads sitemap.xml to his site root, adds a Sitemap line to robots.txt and submits it in Search Console. Over the following weeks, the missing gallery pages begin to appear in search.
Good to know
A sitemap lists the pages you want search engines to find. It is especially useful for new sites with few links pointing to them, and for large sites where some pages are deep in the navigation.
Google has said it ignores the changefreq and priority values, but uses lastmod when it is consistently accurate. Only set lastmod if the date reflects real content changes.
This generator does not crawl your site, because browsers block one website from reading another. Export your URL list from your CMS, or copy it from your navigation.
Tips for the best results
- Include only canonical, indexable pages that return a 200 status.
- Use the same protocol and domain version (https://www.) everywhere.
- Update lastmod only when page content really changes.
- Submit the sitemap in Google Search Console and Bing Webmaster Tools.
Common mistakes to avoid
Listing redirected or noindex pages
They send mixed signals. Include only the final, indexable URLs.
Mixing domains
A sitemap should only list URLs from the domain where it is hosted. ConvertNest warns you about mixed domains.
Expecting instant indexing
A sitemap helps discovery but does not guarantee indexing or rankings.
XML Sitemap Generator – frequently asked questions
Where should I put sitemap.xml?
Usually at the root of your site, such as https://www.example.com/sitemap.xml. Add it to robots.txt and submit it in Google Search Console.
How many URLs can a sitemap contain?
Up to 50,000 URLs and 50 MB uncompressed. Larger sites use several sitemaps and a sitemap index.
Do priority and changefreq matter?
Google ignores them. Other search engines may use them as hints.
Why can’t it crawl my site automatically?
Browser security prevents a web page from fetching other sites. That also means your site details are not sent to us.
Do I need a sitemap for WordPress?
WordPress creates one automatically at /wp-sitemap.xml, and SEO plugins can replace it with their own.
Can I have more than one sitemap?
Yes. Large sites split URLs across several sitemaps listed in a sitemap index file.