SEO Tools

Free Static Sitemap XML Builder

Build a valid sitemap.xml from a pasted URL list. Add optional lastmod dates, changefreq, and priority values. The output is ready to place in your static site root.

Loading tool...

What is Static Sitemap XML Builder?

A sitemap.xml file lists the important URLs on a website so search engines can discover and crawl them efficiently. For static sites without a CMS that auto-generates sitemaps, you need to create the XML file by hand and include it in your build output. This tool converts a simple URL list into valid sitemap.xml format.

quickAnswer

An XML sitemap helps search engines discover all pages on a static site, especially pages not linked from the main navigation. Submit the sitemap URL through Google Search Console after publishing.

Last updated: 2026-05-25

limitations

  • Sitemaps do not guarantee indexing. Search engines may choose not to crawl or index listed pages.
  • Sitemaps have a 50,000 URL limit per file and a 50 MB uncompressed file size limit. Use a sitemap index file for larger sites.
  • GitHub Pages serves sitemap.xml without any special configuration as long as the file exists at the site root.

Sources:MDN Web Docs · W3C Specifications · jquery.app on GitHub

How to use this tool

  1. Paste one URL per line. Optionally add lastmod, changefreq, and priority separated by |.
  2. Review the generated XML for correct URLs and values.
  3. Copy the output into a file named sitemap.xml at your published site root.
  4. Reference the sitemap URL in your robots.txt file and submit it in Google Search Console.

What you can use it for

  • Create a sitemap.xml for a hand-coded static HTML website.
  • Generate a sitemap for a GitHub Pages site that has no CMS backend.
  • Build a small sitemap for a micro-site, landing page, or tool collection.

Use cases

Practical examples

example

Small static site sitemap

A 10-page static website owner pastes all page URLs into the tool and gets a complete sitemap.xml ready to upload.

example

Blog sitemap with dates

A blogger adds lastmod dates to each URL so search engines know which pages were recently updated.

Common mistakes

  • Including non-indexable URLs such as admin pages, redirects, or staging URLs in the sitemap.
  • Using relative URLs instead of absolute, fully-qualified HTTPS URLs.
  • Forgetting to update the sitemap when new pages are added to the site.

verification

  1. Submit the sitemap URL through Google Search Console and check for crawl errors or warnings.
  2. Inspect the generated XML with a validator to ensure all required tags, such as loc, are present and correctly formatted.

FAQ

Questions about Static Sitemap XML Builder

Should every page be in the sitemap?

List only indexable, canonical pages that you want search engines to find. Exclude utility pages, redirects, and paginated archives that dilute the crawl budget.

Where should sitemap.xml be placed?

At the published site root, such as https://example.com/sitemap.xml. Reference it from robots.txt with Sitemap: <url>.

How many URLs can a single sitemap file contain?

A single sitemap.xml file can contain up to 50,000 URLs and must not exceed 50 MiB uncompressed. For larger sites, use a sitemap index file that references multiple sitemap files. Most static sites with fewer than 50,000 pages only need one sitemap file.

What is the difference between changefreq and lastmod?

lastmod is the date the page content was last meaningfully changed, in W3C Datetime format. changefreq is a hint about how often the page typically changes (always, hourly, daily, weekly, monthly, yearly, never). Search engines may use lastmod for scheduling crawls but treat changefreq as an advisory hint, not a command. The lastmod date is the more important of the two.

Related tools

More seo tools

Seo

AI Crawler robots.txt Builder

Build a robots.txt policy for AI crawlers. Choose from open, selective, or strict presets and block specific AI training bots while allowing search engines.

Open tool

Also try

Also try

Html

ARIA Live Region Generator

Generate accessible ARIA live region HTML snippets with role, aria-live, aria-atomic, and aria-relevant attributes. Includes optional JavaScript update function.

Open tool

Html

CSP Hash Generator

Generate CSP hash values for inline scripts and styles. Hash exact code content with SHA-256, SHA-384, or SHA-512 and get the matching CSP directive snippet.

Open tool