Paste a list of page URLs and get a valid XML sitemap you can upload to your website and submit to Google Search Console and Bing Webmaster Tools. You can add last-modified dates, and the tool removes duplicates and flags invalid URLs.
What is an XML sitemap?
An XML sitemap is a file that lists the pages on your website that you want search engines to find. It follows the sitemaps.org protocol, which Google, Bing and other search engines support. A sitemap does not guarantee that pages will be indexed. It helps crawlers discover them faster, which is especially useful for new sites with few links, large sites, and pages that are not well linked from your menus.
Do I need this if I use Blogger or WordPress?
Probably not. Blogger creates a sitemap automatically at /sitemap.xml for posts and /sitemap-pages.xml for static pages. WordPress has had a built-in sitemap at /wp-sitemap.xml since version 5.5, and SEO plugins such as Yoast and Rank Math make their own. Submit those in Search Console. This generator is for hand-coded sites, static site builders, landing pages on simple hosting, and any situation where you need a quick custom sitemap.
How to create and submit your sitemap
- Make a list of the pages you want indexed. Include only canonical, indexable pages that return a 200 status. Leave out redirects, error pages,
noindexpages and duplicates with tracking parameters. - Paste the full URLs above, one per line, and download the file.
- Upload
sitemap.xmlto the root folder of your site so it is available athttps://yourdomain.com/sitemap.xml. - Add a line to your robots.txt:
Sitemap: https://yourdomain.com/sitemap.xml. - Submit it in Google Search Console under Sitemaps, and in Bing Webmaster Tools.
About lastmod, priority and changefreq
Google ignores the priority and changefreq tags, so this generator leaves them out to keep your file clean. Google does use lastmod when it is consistently accurate. Only include it if the date reflects a real, meaningful update to the page. If you are not sure, choose Leave out. A wrong lastmod is worse than none, because search engines learn to distrust it.
Sitemap limits and best practices
- One sitemap can hold up to 50,000 URLs and be up to 50 MB uncompressed. Larger sites use a sitemap index that points to several sitemaps.
- Use absolute URLs with the same protocol and host as your live site, for example always
https://www.or always without www. - Special characters such as
&must be escaped. This tool does it automatically. - Update the sitemap when you add or remove pages.
Frequently asked questions
Can a sitemap hurt my SEO?
Not directly, but listing broken, redirected or noindexed pages wastes crawl effort and creates confusing reports in Search Console. Keep it to your best, indexable pages.
How long until Google reads it?
Usually within a few days of submitting it. The Sitemaps report in Search Console shows when it was last read and how many URLs were discovered.