Tip: copy URLs from your menu, Google Search Console or a spreadsheet.
Next steps
- Upload
sitemap.xmlto the main folder of your website so it opens athttps://example.com/sitemap.xml. - Add this line to your robots.txt:
Sitemap: https://example.com/sitemap.xml - In Google Search Console, go to Sitemaps, enter
sitemap.xmland click Submit. - Update the sitemap whenever you add or remove pages.
How to use the XML Sitemap Generator
- Enter your homepage URL.
- Paste a list of your page URLs, or switch to “Page HTML” and paste your homepage source code to pull out every link.
- Choose the change frequency, priority and last modified date.
- Click Generate sitemap, download the file and upload it to your website.
What is an XML sitemap?
An XML sitemap is a list of the pages on your website that you want Google to find. It helps Google discover new pages faster, especially on new sites or pages with few internal links. This tool cleans your list too: it removes duplicates, other websites, tracking parameters, admin pages and image files, and fixes http, https and www so every URL matches your site.
Sitemap tips
- Using WordPress? Yoast, Rank Math and WordPress itself already create a sitemap (try
/sitemap_index.xmlor/wp-sitemap.xml). Use this tool for custom sites, or to check what should be in it. - Only include pages that return 200 OK and are indexable.
- A sitemap can hold up to 50,000 URLs or 50 MB. This tool splits bigger lists for you.
- Google mostly ignores priority and changefreq, but it does use an accurate lastmod date.
Made by Maroof Ahmed. More free tools: Robots.txt Generator, Canonical & Noindex Checker, Redirect Generator and Meta Tags Analyzer. Need help getting your pages indexed? Chat on WhatsApp.
Want an expert to do this for you?
I’m Maroof Ahmed, a freelance SEO consultant with 300+ projects for businesses in the USA, UK and Australia. Technical SEO services →
