Skip to main content

Sitemap generator free

Produce a standards-based XML sitemap with loc, changefreq, priority, and optional lastmod. More entry points: XML sitemap generator, free sitemap generator, sitemap generator online, and create sitemap XML.

Site & defaults

Used to resolve relative paths like /blog.

URLs

Bulk URLs

Paste multiple URLs or paths—one per line, or separated by commas.

sitemap.xml

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

What is sitemap.xml?

A sitemap.xml file is an XML document rooted in a urlset element that enumerates URLs you consider important for crawling and indexing. Each child url entry typically includes a canonical loc, optional lastmod timestamp, changefreq hint, and a priority score relative to other URLs on the same host. The format is documented by sitemaps.org and supported by major search engines as a supplement—not a replacement—for normal HTML linking.

Sitemaps can also be split into indexes when you exceed URL count limits per file, or specialized for news, video, and images. This SmartFlexa generator focuses on the core web sitemap profile so you can bootstrap a static file before graduating to CMS or framework automation.

Why a sitemap is important for SEO

Search engines eventually find popular pages through links, but fresh sites, deep faceted catalogs, and isolated landing pages can sit undiscovered for weeks. A sitemap shortens the path from publish to crawl by advertising URLs directly. It also carries lastmod signals that help schedulers decide whether to revisit content after an update—especially when combined with consistent HTTP caching headers and visible on-page change dates.

Sitemaps do not transfer PageRank magically; they coordinate discovery. Pair them with a clean robots.txt that references the sitemap URL, accurate meta robots where pages should not be indexed, and validated URLs from your URL encoder when campaign parameters must remain crawl-safe.

How to create a sitemap

Start from canonical HTTPS URLs only—avoid listing duplicate http versions unless they intentionally resolve with redirects you control. Choose realistic changefreq values: claiming daily for static contact pages erodes trust in your signals. Priorities are relative within the site; use higher values for home, pricing, and flagship articles, lower for tag archives unless they drive revenue.

After export, host /sitemap.xml (or your chosen path) over HTTPS with 200 status and application/xml or compatible content type. Submit the URL in Search Console, monitor coverage for “Submitted URL not selected as canonical” messages, and iterate when migrations add or retire routes.

For large teams, treat the generator as a spec tool: capture the XML here, commit it to Git, and let CI regenerate when routes change. That audit trail beats emailing ad-hoc attachments that never reach production.

FAQ

What is XML sitemap?
An XML file listing site URLs with optional metadata to help search engines discover and schedule crawling.
How to create sitemap?
Gather URLs, set changefreq and priority, add optional lastmod, output urlset XML, host publicly, and submit in Search Console.
Where to upload sitemap?
Serve it from your domain (often the site root), then submit the absolute URL in webmaster tools and optionally list it in robots.txt.
Does sitemap help SEO?
It improves discovery and crawl efficiency; it does not directly assign ranking scores.
How often to update sitemap?
Update when URLs change materially—after deploys, content refreshes, or structural navigation updates.