XML Sitemap Generator
Create a clean XML sitemap from a list of URLs — with duplicate checks and size warnings — then download it as sitemap.xml.
100% FreeNo sign-upNothing stored
| URL | Last modified | Change freq. | Priority | Remove |
|---|---|---|---|---|
Your sitemap.xml
<!-- Add at least one URL above to generate your sitemap -->
Save the file as sitemap.xml in your site’s root folder, then submit it in Google Search Console under Sitemaps. Limit: 50,000 URLs or 50 MB per sitemap file.
How to use
How to use the XML Sitemap Generator
Add your URLs
Paste one URL per line, paste a sitemap index to extract its URLs, or upload a .txt file of URLs.
Set dates and frequency
Pick the last-modified date and the change frequency. The tool flags duplicates and warns when you are near the 50,000 URL / 50 MB limit.
Download and submit
Download the sitemap.xml file, upload it to your site’s root folder, and submit it in Google Search Console.
What is an XML sitemap?
An XML sitemap is a machine-readable list of your site’s pages, with the date each page was last updated. It lives at a fixed address — usually example.com/sitemap.xml — where search engines can fetch it. It is a complement to crawling, not a replacement: Google still follows links, but the sitemap makes sure nothing is missed.
The format is defined by the sitemap protocol at sitemaps.org. Each entry is a <url> block with a <loc> (the page address) and an optional <lastmod> (the last change date).
What is a sitemap for, and who uses it?
Site owners use it to make sure every page is found — especially new pages, orphan pages with no links pointing at them, and pages buried deep in a large site. Bloggers use it to get new posts indexed faster. Developers and SEO freelancers use it after a migration or redesign, to hand search engines the new URL list in one go.
It is most valuable for large sites, new sites with few incoming links, and sites whose pages are not well linked together.
Benefits of an XML sitemap
A sitemap earns its place in four ways:
- New pages get found faster — search engines read the sitemap instead of waiting to stumble on a link.
- Nothing is missed — orphan pages and deep pages that no one links to still appear in the list.
- Change dates are clear — an accurate lastmod tells crawlers which pages actually changed.
- Errors surface in Search Console — after submitting, Google reports which listed pages it could not fetch.
Uses and limits
A sitemap lists the pages you want indexed — live, public, canonical URLs. It is not a place for error pages, redirects, blocked pages or duplicate versions of a page.
The protocol limits one sitemap file to 50,000 URLs and 50 MB uncompressed. Larger sites split their URLs across several sitemaps and list them in a sitemap index file. This tool warns you as you approach the limit.
How to submit a sitemap to Google
Upload the file to your site’s root folder so it loads at example.com/sitemap.xml. Then open Google Search Console, pick your site, click “Sitemaps” in the left menu, enter the sitemap URL and submit. Search Console then reports how many of the listed pages were found and flags any errors. Also add a line such as Sitemap: https://example.com/sitemap.xml to your robots.txt — crawlers will find the sitemap there too.
Best practices — and common mistakes
Most sitemap problems come from a short list of avoidable habits:
- List only pages you want indexed — drop error pages, redirects, blocked pages and duplicates.
- Keep lastmod dates accurate — a sitemap that claims everything changed yesterday trains crawlers to ignore it.
- Do not include the same URL twice — the tool flags duplicates, but check before uploading.
- Re-submit after big changes — a migration, a redesign or a batch of new pages all deserve a fresh submission.
- Do not expect a sitemap to force indexing — it tells Google a page exists; whether it gets indexed still depends on the page itself.
FAQ
Frequently asked questions
An XML sitemap is a file that lists the pages of your website — with the date each one was last updated — so search engines can find them all. It does not guarantee that a page will be indexed, but it makes sure search engines know the page exists.
Keep going