UtilityKit

500+ fast, free tools. Most run in your browser only; Image & PDF tools upload files to the backend when you run them.

XML Sitemap Generator

Generate XML sitemap files from URL lists with optional metadata defaults.

About XML Sitemap Generator

An XML sitemap is one of the simplest signals you can give a search engine: a structured list of every URL on your site, annotated with how recently it changed, how often it updates, and its relative importance. Without one, crawlers rely entirely on link discovery, which means new or isolated pages can go unindexed for weeks. Sitemap Generator lets you paste a list of URLs and instantly produce a standards-compliant XML sitemap with configurable lastmod dates, changefreq hints, and priority values — no server, no CMS plugin, and no configuration file required. The generated output conforms to the sitemaps.org protocol supported by Google, Bing, and all major crawlers. Whether you are relaunching a site, migrating a blog, or just auditing what is indexed, this tool gets a clean sitemap into your hands in seconds so you can submit it to Search Console or drop it at the site root.

Why use XML Sitemap Generator

Instant Standards-Compliant Output

Generates a sitemap that strictly follows the sitemaps.org schema, accepted by Google, Bing, Yahoo, and all major search engines without validation errors.

Full Metadata Control

Set lastmod, changefreq, and priority per sitemap rather than accepting CMS defaults — critical for sites where some sections update daily and others never change.

No Plugin or CMS Required

Works for any site regardless of platform — static HTML sites, JAMstack builds, legacy PHP apps, or landing pages that have no CMS at all.

Runs Entirely in the Browser

Your URL list is never sent to a server — the XML is assembled client-side and handed directly to you, keeping proprietary URL structures private.

Bulk URL Handling

Paste hundreds of URLs at once and receive a complete sitemap in under a second, eliminating tedious manual XML editing for large page catalogs.

Copy or Download in One Click

Copy the XML to your clipboard or download it as sitemap.xml, ready to drop at your site root or upload via FTP without any reformatting.

How to use XML Sitemap Generator

  1. Paste your list of URLs into the input area — one URL per line, absolute URLs including the https:// scheme.
  2. Set a default Last Modified date (YYYY-MM-DD) to stamp all URLs that do not have an individual override.
  3. Choose a Change Frequency (daily, weekly, monthly, yearly) that reflects how often the pages are updated.
  4. Set a Priority value between 0.1 and 1.0 to indicate relative importance within your own site — 0.5 is the default.
  5. Click Generate Sitemap and review the XML output, confirming the URL count matches your input list.
  6. Click Copy or Download to save the sitemap as sitemap.xml, then upload it to your site root and submit the URL to Google Search Console.

When to use XML Sitemap Generator

  • When launching a new site that does not yet have a sitemap and you need one before the first Search Console submission.
  • When migrating a site to a new domain and you need to rebuild the sitemap from the redirected URL list.
  • When your CMS-generated sitemap is bloated with tag pages, author archives, or pagination URLs you want to exclude.
  • When working on a static site or JAMstack build with no built-in sitemap plugin.
  • When a client hands you a flat list of page URLs and you need to deliver a sitemap as part of an SEO audit deliverable.
  • When resubmitting a sitemap after a major content restructure to force Google to re-crawl updated priority pages.

Examples

Two-URL sitemap with metadata

Input: https://example.com/ https://example.com/about lastmod: 2026-05-01 | changefreq: monthly | priority: 0.8

Output: <?xml version="1.0" encoding="UTF-8"?> <urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"> <url><loc>https://example.com/</loc><lastmod>2026-05-01</lastmod><changefreq>monthly</changefreq><priority>0.8</priority></url> <url><loc>https://example.com/about</loc><lastmod>2026-05-01</lastmod><changefreq>monthly</changefreq><priority>0.8</priority></url> </urlset>

Blog with weekly updates

Input: https://blog.example.com/post-1 https://blog.example.com/post-2 https://blog.example.com/post-3 lastmod: 2026-04-15 | changefreq: weekly | priority: 0.6

Output: <?xml version="1.0" encoding="UTF-8"?> <urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"> <url><loc>https://blog.example.com/post-1</loc><lastmod>2026-04-15</lastmod><changefreq>weekly</changefreq><priority>0.6</priority></url> <url><loc>https://blog.example.com/post-2</loc>...</url> <url><loc>https://blog.example.com/post-3</loc>...</url> </urlset>

Homepage at highest priority

Input: https://example.com/ lastmod: 2026-05-07 | changefreq: daily | priority: 1.0

Output: <?xml version="1.0" encoding="UTF-8"?> <urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"> <url><loc>https://example.com/</loc><lastmod>2026-05-07</lastmod><changefreq>daily</changefreq><priority>1.0</priority></url> </urlset>

Tips

  • Submit your sitemap URL in both Google Search Console and Bing Webmaster Tools — the two indexes operate independently, so a submission to one does not notify the other.
  • Declare the sitemap in your robots.txt file with a 'Sitemap:' directive so any crawler that reads robots.txt can discover it automatically, even before you submit it manually.
  • Regenerate and resubmit your sitemap whenever you add more than five new pages or significantly change URL structure — stale sitemaps slow re-crawl of updated content.
  • Use a lastmod date that reflects the date of the most recent meaningful content change, not the date of the last server deployment or template update, for accurate freshness signaling.
  • Prioritize canonical URLs in your sitemap — if a page is accessible via both www and non-www, only list the canonical version to avoid confusing crawlers about which version to index.

Frequently Asked Questions

What is an XML sitemap and why does my site need one?
An XML sitemap is a file that lists all the URLs on your site you want search engines to index, along with optional metadata like last-modified date and update frequency. Search engines use it to discover pages they might miss through link crawling alone — especially important for large sites, new domains, or pages with few inbound links.
How many URLs can I include in a sitemap?
The sitemaps.org protocol allows up to 50,000 URLs and a maximum uncompressed file size of 50 MB per sitemap file. If your site exceeds this, you need a sitemap index file that references multiple child sitemaps. This tool is best suited for sites under that limit.
What should I set the priority value to?
Priority is relative, not absolute — it only signals importance compared to other pages on your own site. Google publicly stated it largely ignores priority and changefreq, but setting your homepage and top landing pages to 1.0 and thin pages to 0.3–0.5 is still considered best practice.
What changefreq value should I use?
Use 'daily' for news or heavily updated pages, 'weekly' for blogs and product pages, 'monthly' for evergreen content, and 'yearly' or 'never' for archived or static pages. This is a hint to the crawler, not a command — crawl frequency is determined by the search engine's own algorithms.
Does the tool validate URLs before adding them to the sitemap?
The tool checks that each line begins with http:// or https:// and discards blank lines. It does not make network requests to confirm pages are live, so you should audit your URL list before generating to avoid submitting 404 URLs to Search Console.
Where should I place the sitemap file on my server?
Place sitemap.xml at your site root (e.g. https://example.com/sitemap.xml). Then declare it in your robots.txt as 'Sitemap: https://example.com/sitemap.xml' and submit the URL directly in Google Search Console and Bing Webmaster Tools.
Should I include every URL on my site in the sitemap?
No — only include URLs you want indexed. Exclude paginated archives, filtered search result pages, duplicate content, staging or internal-tool URLs, and any page with a noindex meta tag. A leaner sitemap helps crawlers focus budget on your most valuable pages.
Can I use this tool to generate a sitemap index file?
This tool generates a single sitemap file, not a sitemap index. For sites over 50,000 URLs, you would need to generate multiple child sitemaps and manually author a sitemap index XML file that references them — or use a server-side script.

Explore the category

Glossary

XML Sitemap
A structured file in Extensible Markup Language that lists URLs on a website for crawler discovery, conforming to the sitemaps.org protocol.
lastmod
An optional sitemap attribute specifying the date a URL was last meaningfully modified, in YYYY-MM-DD or full ISO 8601 format, used by crawlers to prioritize re-crawl.
changefreq
A hint in the sitemap protocol indicating how often a page's content is likely to change. Valid values: always, hourly, daily, weekly, monthly, yearly, never.
priority
A numeric value between 0.0 and 1.0 indicating a URL's relative importance within your own site. Default is 0.5; does not affect ranking compared to other sites.
Sitemap Index
A parent XML file that references multiple individual sitemap files, used when a site exceeds the 50,000-URL or 50 MB per-file limits.
Crawl Budget
The number of pages a search engine crawler will fetch from a site within a given timeframe. A well-structured sitemap helps allocate this budget toward high-value pages.